Posts

Most Recent Post

Optimize a Wordpress Site (July/2022)

Wordpress is a very comfortable framework to create a site on. You automatically inherit a slew of amazing plugins which enable you to create many sorts of dynamic sites with statistics, admin site and many other benefits. But unfortunately, you also inherit many problems which come with the Wordpress installation. Just to name a few Wordpress is a heavy framework, instead of having a lean HTML/PHP site, you now have this monster you need to reign in. - I am talking optimization/speed wise Wordpress is very popular (it powers more than 30% of the internet sites as of today), so it is a target to many a hacker. Wordpress has lots of security issues as each plugin is created by a different developer and you won't know where the security breach came from. Wordpress is slow as it does lots of tasks behind the scenes (as it has lots of not-so-needed functionalities). So what are the initial steps one should do when creating a fresh wordpress site ? General Guidelines Make sure you have

Reset trial date of software (Crack Trial Limitations)

 You have a software with a trial of a limited time, but you need to use the software for another period of time, what can you do ? There are several ways to go about this one (You should try them by this order): You should begin with attempting to detect a known trial protection installed in this software, if it is of a known type then maybe there is a known hack for it. Attempt to change the date of the running software - not the date of the computer as a good hack should never interfere with your computer, the right way to go about this is to use Nirsoft's RunAsDate util , or use TimeStopper. Try to find the registry entry which has the installation timestamp - and remove it, for this one I would use Nirsoft's RegScanner  or RegistryFinder Uninstall the application completely (after uninstall also delete all registry entries) for this one I would use Bulk Crap Uninstaller , then install it from scratch Barring all of the above I would reinstall it on a new computer (or VM) a

Play Arcade Games on a Simple Setup at 2021 (October)

 You have the crave to play some quick arcade games, and you want to satisfy it when it comes without fussing with emulators, downloads etc. Just setup a basic small arcade home environment which you can jump to whenever you feel the need. Ingredients Raspberry pie (the brains of the system) SD card (storage of the OS + Roms) HDMI cable USB cable (power for the RP [or use the RJ45 for POE if you use RP 4 or later]) LAN (rj45), keyboard - needed for first setup Screen Joystick of your choice (8bitdo?) Supposing you have cables (hdmi, rj45, usb) lying around, and a screen to use as well as an SD card, then the only needed purchases are the actual raspberry pie and joystick, which don't accumulate to a lot of money. Raspberry pie Unless you want to emulate more modern systems (playstation 2 and up) then you can use a raspberry pie 3 (not even the plus version) and it will satisfy your needs without compromise. Please note that I do recommend buying the RP 3+ as if you will need it for

Modding my MGB-001 (Gameboy Pocket)

Image
The gameboy pocket was a great product of its time and a nice upgrade from the original gameboy, and even today it is still lots of fun, but there are several aspects where it could get even better, these aspects can be upgraded using mods, I will put here the recommended mods in a nutshell. A quick note before the mods - The gameboy pocket is much smaller than it's parent the original gameboy thus it leaves minimal places for the mods, so I will have to pick only those mods which give me the most benefit with the minimal "cost" in shell space and complicated wirings. Switch to newer capacitors The MGB uses four electrolytic capacitors, these can easily be changed to newer ones renewing an important aspect of the MGB which tends to be problematic after several years I found several sellers which sell a gameboy pocket capacitor pack with these 4 needed caps - this may make your life easier, or you can just buy (aliexpress?) the following 4 capacitors and install them inste

Modding my DMG-01 (Original Classic Gameboy)

Image
 The original gameboy was a great product of its time, and even today it is still lots of fun, but there are several aspects where it could get even better, these aspects can be upgraded using mods, I will put here the recommended mods in a nutshell. Bass Boost Mod This is a simple mod in which I will upgrade the capacitors from 1uF 50v to 10uF 50V. More Power To The Speaker In this mod, I have added a 470uF 10v capacitor to have more speaker power I suggest soldering to the legs of the capacitor two small wires (for each leg one wire), so you can place the capacitor in a place which will be the most comfortable for your gameboy. Speaker Amplifier (Louder Speaker) Rechargeable usb-c Battery (Battery which can be charged using a usb-c cable) Buy a usb-c charging board (TP4056?) and a 3.7v LI-ION battery (1300 mah?), Make sure you have 2 red wires, 1 black and one white 1. Remove all battery connectors from the gameboy case (Desolder 2 of them) 2. Solder red+white wires to left battery c

Read 5.25 inch floppy diskettes (1.2mb or 360k) in 2020

 Let's say you happen across this old pc dos (Actually any other platform also) diskette from the 80s, and you really want to read it, what should you do ? If it is a 3.5inch diskette (720kb or 1.44mb) you have luck as there are many 3.5inch to USB on ebay, so just shell several dollars and the data is yours, not so with the larger 5.25 diskettes. Hopefully, someone will come with a simple 5.25ToUsb solution, till then you can buy one of these 3 options: DeviceSide  card (FC5025) KryoFlux card SuperCard Pro Card The above 3 cards work in a similar way, plug your old floppy drive to it and get the data using their personal software using a USB cable. I will elaborate: Purchase an old 5.25 floppy drive (might be pricey ~80$) Purchase a floppy controller - this will be used to connect the data from the floppy drive to the card Purchase a power supply cable for the floppy 5.25 drive (Power cord to floppy drive) So now you have your floppy drive connected to electricity with a data ca

Dragg and Drop on Winapp driver and Appium

Scenario The basic scenario here is having a windows desktop application with the drag and drop capability. Testing this application, you are using Appium over Winappdriver. The test I am attending to perform is a simple drag and drop. The above setting and scenario, isn't rare! actually it is a common case in desktop apps, that it is why it is so troubling to find that drag and drop is an issue. Searching the web, I found many ways of accomplishing the D&D, which basically I can split to two groups, the first one is using the driver.Mouse actions, where I will use a mouseDown, mouseMove and MouseUp, the second method will use the Actions object and will consist of actions.dragAndDrop() (Yes, there is such a function), or will do it the long way of Actions.ClickAndHold().MoveTo().Release(). But it seems that in some cases, both approaches just don't work. Let me be clear, this is a HUGE bug! There is a workaround, but it is a huge bug (especially when having a non working a