The output of svn diff can sometimes be hard to read, especially when there are a lot of changes to read through. I also realise that you might think I’m a dinosaur for still using svn because git has nicely coloured diffs out of the box but talk to any […]
Vim: Always Learning
Vi (or Vim in it’s modern incarnation) is a text editor. It’s a modal text editor. You can switch from insert mode to normal mode. Insert mode is where you type text into your document, and normal mode is where you type commands that do all sorts of functions. It’s […]
Cannot load mysql extension. Please check your PHP configuration.
A friend recently had a problem configuring a new server. He installed PHP, Apache, MySQL and phpMyAdmin but when he launched it he got the following error: phpMyAdmin – Error Cannot load mysql extension. Please check your PHP configuration. If you’ve installed all of the above more than once you’ll […]
InnoDB: Starting shutdown…
Calling all MySQL admins! When you’re working with InnoDB tables you may have noticed that MySQL takes an extraordinary amount of time to shutdown. Don’t panic! It’s normal. InnoDB has extensive logs that it must run through and if your server is at all busy these logs can be quite […]
PHP Optimization and Security tips and rant
Andrew van der Stock’s criticism of PHP’s security model. What security? Global request arrays go some way to making applications safer but there are obscure functions and settings which can trip up developers. (via) PHP Optimization Tricks from Ilia Alshanetsky has one gem I didn’t know about – the ctype […]
2 for the developers
2 links for the developers around here: Quick Lookup is an online dictionary of PHP,MySQL, Javascript and CSS commands and keywords. As of this moment, “55% ish of MySQL is done, JS is NOT finished yet” but it’s still useful if you haven’t got the PHP manual handy. Regular Expression […]
SQL Injection Attacks by Example
Ever wondered how some of your favourite apps get hacked and broken into? This page lists lots of examples of database “injections”. Like an injection you get off your doctor these bits of code inject database code into your application. The code can do anything – delete all your data, […]
Behaviour : Using CSS selectors to apply Javascript behaviours
Lurvely! This is a very neat method for removing Javascript from html pages! Embed it in the CSS! (sort of!) He has a couple of examples on his page, and it looks easy enough in principle. The devil’s in the details don’t you know but it looks like it’s worth […]
How to Use Design Patterns
How to Use Design Patterns Among developers, design patterns are a popular way to think about design, but what is the proper way to think about design patterns? In this interview, Erich Gamma, co-author of the landmark book, Design Patterns, talks with Bill Venners about the right way to think […]
Joel on Software – Making Wrong Code Look Wrong
Making Wrong Code Look Wrong – I was away for 2 weeks, catching up on email only now!