Archive for freebies

mysqli for WordPress 2.9.1

wordpress-logoWordPress 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

wordpress-logoWordPress 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.

Read more »

xdebug trace file parser

xdebug_trace_preview

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

namecheap
Woo! Get cheaper domains and hosting this month, at namecheap. Use the coupon codes below while submitting your order.

  1. GETNCVPS: Save 10% on all VPS packages
  2. HOSTING4U: Save 10% on shared hosting plans
  3. GETMECHEAPER: Save 88 cents on most domain TLD extensions

Optimizing Drupal 6, Gain Performance and Stability!

drupal man says owwhhh yea!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.

Read more »

« Older Entries