Category Archives: Web Development

Post navigation

If you ever need to randomise a PHP array, and want to do it in one line, use the shuffle() function. It’s especially useful when you just want to draw one array member randomly, like in a lottery or something.

Quick code post with a really useful little function, all it does it return a MySQL timestamp value of ‘now’. It’s useful if you haven’t already committed the format to memory, which sadly I have already… but still, it’s good to have in a common function library.

This is a really quick post just so I have it saved somewhere. A simple function I wrote to track a link but also then open the link in a new window instead of the same one (even if you used a target=_blank)

Built this last weekend as a side project to help with one of my bigger projects, it will allow you to log in with GitHub and build yourself a nice little shortlist (“Sprint” in AGILE/SCRUM terms) of tasks. It’s basically a TODO list you can quickly build based on your GitHub Issues.

Core functionality is there but I will be adding a few little bits and pieces to make it prettier and more functional.