Recently I changed something in an open source project and wanted to make the patch public. It had been a long time since I made a patch, so I forgot how(even though it’s fairly easy). So here’s a quick how-to. Make sure you have both the original and modified versions. In the example I’ll make a patch for a directory [...]

Some of you are probably wonder, what does CDN stand for? It stands for ‘content delivery network’.   The trick I will be describing here is how to simulate a CDN. What we want to accomplish is having a free performance  increase and not spend any money on hardware. For the real and complete definition of a ‘Content Delivery Network’ [...]

Unlocking Windows Phone 7 - ChevronWP7

If you’re a developer like me writing his own apps for his phone, then you’re out of luck with the default windows 7 phone. To ‘unlock’ it you have to sign up for a developer account on APP HUB, meaning you have to pay $99. Lucky for us, a group of people quickly found a way to unlock the phone, [...]

For those of you that do not know phpDocumentor, a small intro: phpDocumentor, sometimes referred to as phpdoc or phpdocu, is the current standard auto-documentation tool for the php language. Similar to Javadoc, and written in php, phpDocumentor can be used from the command line or a web interface to create professional documentation from php source code. phpDocumentor has support [...]

Optimizing your web server: Part 4b – XDebug Profiler

Here we are, part 4b. By using XDebug, a pecl extension, our php code can be analyzed pinpointing the slower functions. Installing XDebug is easy: pecl install xdebug Now, you’ll have to enable it in the php.ini file: extension=xdebug.so xdebug.profiler_enable=1 xdebug.profiler_output_name=profiler-%s-%t.cache xdebug.profiler_output_dir=/tmp/xdebug Don’t forget to create the directory and give apache enough permissions to write in it. So after restarting [...]

© 2011 Crazy's Blog Suffusion theme by Sayontan Sinha