Archive for freebies
mysqli for WordPress 2.9.1
January 7th, 2010 • 3 comments freebies, mysql, patch, wordpress
WordPress does not officialy support the mysqli drivers. I needed my WordPress installation to use the mysqli class instead of the mysql ones. I’m sure there will be someone else out there with the same needs I decided to place the modified database class and the patch file online. Use whichever you prefer.
WordPress mysqli 2.9 Database Class Patch
December 30th, 2009 • 3 comments freebies, patch, php, wordpress
WordPress does not officialy support the mysqli drivers. I needed my WordPress installation to use the mysqli class instead of the mysql ones. I’m sure there will be someone else out there with the same needs I decided to place the modified database class and the patch file online. Use whichever you prefer.
xdebug trace file parser
November 18th, 2009 • 2 comments freebies, php, snippets, software, xdebug

When I am trying to optimize my PHP code, one of my prefered tools is xdebug. It provides me with excellent error messages, outputs code tracing files & insight into memory usage.
By using kcachegrind or webgrind – wincachegrind crashes *all* the time – to parse the cachegrind files created by xdebug, you get a good idea of what your code is doing most of the time. It’ll show you which functions are called, by who, which arguments are passed and tons more. Check it out.
Now, there was one small thing I couldn’t find anywhere. A program to parse the trace files that xdebug generates. True, xdebug already provides the option to output this information into HTML, but it’s not really what I was looking for. I want to get quick information in the blink of an eye! That’s why I have created my own trace file parser, based on PHP of course.
Read more »
NameCheap Discount Coupons
October 8th, 2009 • freebies, internet

Woo! Get cheaper domains and hosting this month, at namecheap. Use the coupon codes below while submitting your order.
- GETNCVPS: Save 10% on all VPS packages
- HOSTING4U: Save 10% on shared hosting plans
- GETMECHEAPER: Save 88 cents on most domain TLD extensions
Optimizing Drupal 6, Gain Performance and Stability!
September 29th, 2009 • 1 comment drupal, freebies, hack, memcache, memcached, tutorials
In general, Drupal will be sufficiently stable and performant enough to run your average website. But when you are rebuilding your website or a website of your customer that gets tons of pageviews, you’ll start to encounter slowdowns, downtime & unexpected behaviour. Read more for Drupal 6 optimizing tips & tricks. Do note that I won’t be covering standard Drupal cache, I expect you to have this enabled already.