Don’t Fucking Repeat Yourself
Posted in: Development, Codeigniter at Jul 28th, 2010
Too many times people write the same code over and over again. How many controllers do you have that share some functionality yet have these features defined in every controller instead of a base controller? I wrote this article because repeating yourself is simply bad. It isn’t a very in-depth article but it does cover the general concept of DRY in Codeigniter.
Xbox API in PHP
Posted in: Development, PHP at May 14th, 2010
A while ago I discovered that Duncan Mackenzie offered public access to the Xbox Live API. Whereas the API itself was great, the output was a mess. CamelCase, data stored in the wrong place, etc. So I decided to create a PHP class that made life for those who want to connect with this API a little bit easier.
You can read more about this class at the GitHub page found here, or you can see an example here.
Adobe Activation Be Gone !
Posted in: Development, Python at Sep 27th, 2009
We all know that Adobe’s activation process sucks balls. I’m not going to tell you why but I assume you’ll understand what I mean. ;) Since blocking the activation process can be a pain in the ass I decided to write a small Python application that does this for you. The application will modify your Mac’s so called “hosts” file which will block any Adobe application from validating the serial number.
Requirements
- Mac OS X 10.4 or higher
- Python 2.X (tested on Python 2.6 only).
- Administrator rights.
Download
The application, called BlockAdobe (how original) can be downloaded here. Once you’ve finished downloading the application (which should only take about 1 second) you should read the “README.rtf” file for more information.
Update: October 28, 2009
It seems that the application not only prevents Adobe from validating the serial number, but it also enables you to use the trial version without ever having to enter a serial number. Simply download a trial version from the Adobe website, run the application and enjoy legally cracked applications !