Tag: server
-
Linux: Finding Newer Files [OR How To Create A Patch File]
The linux `find` command is very powerful, it has tonnes of switches and options that I’m not terribly familiar with. Even though I’ve been a LAMP developer for over 5 years, I don’t work on the command-line too often. Yesterday I ran into a problem that I had never tried to resolve before. I was…
-
TinyMy, Quick and Dirty MySQL Shell
Stumbled across a tiny mysql shell – appropriately named ‘tinymy’ – a few months ago. It’s quite a useful little bit of PHP code. Very lightweight and function interface and shell for MySQL. I use it whenever I need to verify the contents of a database table or test a couple of queries but don’t…
-
.htaccess Mobile Browser Redirect
Checkout the latest version of the ruleset first. I just finished building out a simple little mobile site for hiphopdx.com. When I asked Google the best way to detect mobile browsers with PHP, it led to me this PHP code by Andy Moore. After a few minutes of contemplating the best way to include the…