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 […]
svn: “local file delete, incoming file edit upon update”
Google knows all, most of the time. However, I know I’m in trouble when I the first link returned by a search for an error message in a widely used piece of software is a commit entry adding test scripts for that and related errors to the software. So, just […]
Howto disable syntax highlighting in Vimdiff
X > Y >> Z Where X is the population of developers who read this blog, Y is those that use Vim and Z is those that use vimdiff regularly. I guess this post will only be useful to a tiny minority of my readers, but to them it might be […]
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, […]