Archive for the "Dump" Tag

JS Bin for Collaborative JavaScript Debugging

The weekend before last (28-Sep 2008) I blitzed through an idea I had on the shelf for about 6 months and put it live under the name JS Bin.

How to default a variable in XSLT

Since I couldn’t find this anywhere on the web, and I’m working on a project that has had me very quickly learn XSLT, here’s how to default a value in XSLT – useful if you’re looking to grab a variable via the query string, and it may not be there in the first place.

Code Dumper

Code Dumper is a personal project of mine that I’ve used to practise some new skills on. It’s a code dumping repository with a couple of features that I think makes it unique from the other code bins. Where possible, I’ll blog about how particular aspects of the project so that they can be re-used [...]

MySQL dump tables like…

mysql $DB -u$USERNAME -p$PASSWORD -e ‘show tables like “$LIKE%”‘ | grep -v Tables_in | xargs mysqldump –add-drop-table $DB -u$USERNAME -p$PASSWORD Replace dollar variables with your details to drop a group of tables. Useful when you’ve got one database hosting a number of different web sites and you need a dump of a particular site.