code

The Ultimate Guide to Extend, Modify or remove the WordPress 3.1 Admin-Bar

Oh, already forgot this article in my drafts: Since WordPress 3.1, a lot of new cool features were added. One of the most hated loved ones is the admin-bar. In this article I will cover some of the basic hooks to modify it to suit your needs. Let’s go: How to Disable the Admin-Bar The [...]

Get Accurate Script Execution Time in PHP

This small code can be quite helpful if you need to find out what is taking so long to load in your script(s). It will determine the time taken for your PHP script(s) to execute, accurate to 0.000000000000001 seconds. The Code 1234567891011121314151617// put this at the top of your page/script $exectime = microtime(); $exectime = [...]

How To Recover Your MySQL root Password

I just needed to recover a lost MySQL root password on a clients server recently and thought I’d share the method I used. Actually it’s not a method for recovering but you can change the forgotten password to a new one. All you need is to follow this 6 easy steps: Step 1: Stop the [...]

CSS Print Framework

If you want to improve your layouts for printing, this mini CSS Framework will definitely assist you. What is a CSS Framework? “A CSS framework is a library that is meant to allow for easier, more standards-compliant styling of a webpage using the Cascading Style Sheets language. Just like programming and scripting language libraries, CSS [...]