Causes and fixes for “Parse error: syntax error, unexpected $end” PHP error

After writing some PHP code, I encountered this weird error that displayed this message: “Parse error: syntax error, unexpected $end” on the page and did not execute any other code. It appears that there are multiple causes for this error, and is a syntax error – that is, missing some code or writing the code […] force close / crash

After buying an Android phone, I started getting the error “The process has stopped unexpectedly. Please try again” every few seconds. This seemed to happen when moving between different custom ROMs like Cyanogenmod and MIUI, perhaps because I restored the wrong Titanium backup files mistakenly, included system settings in the batch restore or something […]

Virus that infects thumb drives and renames folders with .exe extension

USB flash drives are a common way of spreading malware among computers. Users typically plug in USB drives into public computers and 3rd party workstations at office, college, libraries or labs without being careful about what they might expose their data to, or the kind of malware (virus, worms, trojans etc.) that get into their […]

Android 4 Ice Cream Sandwich-compatible full Swype.apk (offline) installer

Swype is an innovative keyboard for Android phones. It works by tracing the letters of each word in a continuous path, rather than hitting each key separately. This is particularly useful for those with fat fingers, or small screens. More and more Android OEMs are integrating Skype in their custom Android skins, like Samsung with […]

Root and flash custom ROMs on Galaxy S2 without incrementing flash counter

Samsung is known to be rather friendly to the hacking and modding community around Android. They have unlocked boot loaders in their phones, making it easy to flash custom kernels and ROMs, and they even sent a bunch of Galaxy S2s to the Cyanogenmod team with the request that they make the Cyanogenmod ROM compatible […]

How to get a zip of only changed files between two WordPress versions

WordPress, the popular blogging software, often has a minor update out a few days after a major release, to fix security bugs and clean up code – like 3.2.1 coming after 3.2. If WordPress auto update works for you, then upgrading your blog is a 10 second job. If not, manually uploading files and upgrading […]

Configure Cisco Linksys WRT54G2 V1 wireless router to work with ADSL modem

I had purchased a Cisco Linksys WRT54G2 V1 router nearly two years ago. I gave up trying to set up the wifi router with my DSL modem then, and it has been accumulating dust in my attic ever since. Recently, I tried setting it up again, and presto, this time it worked! Below is a […]

How to enable/disable Windows hibernate with a single command

Here is a one-line command to enable and disable hibernation in Windows 7, for all you command-line users. By default, hibernation should be enabled in Windows. To Disable Hibernate Open an elevated command prompt, ie. one with admin previlages (Start > cmd > right-click and “Run as administrator”). In command prompt, key in powercfg -h […]