Ian Dunn

Ian Dunn

WordPress Developer

Menu

Skip to content
  • Home
  • About
  • Archives
  • Contact

Monthly Archives: February 2010

Skipping Disk Check When Rebooting Linux Server

If you don’t run a disk check on a Linux server in awhile and you reboot, it may force a disk check, which can take 30+ minutes, and it’ll be offline the entire time. You can reboot and skip the check with shutdown -fr now or force a check with shutdown -Fr now. (via go2linux.org)

 

Posted on February 23, 2010 by Ian Dunn. Posted in Linux / Unix | Tagged fsck | Leave a comment

Natural Sorting for MySQL

MySQL doesn’t provide a way to perform natural sorting on a string, so if you have numbers in your data you may get results like this Product 110 Product 120 Product 13 Product 140 There are a lot of hacks available, but all of the ones I’ve seen only work in specific circumstances. The only […]

Continue reading...

Posted on February 22, 2010 by Ian Dunn. Posted in MySQL, PHP | Leave a comment

URL Parameters for Google Maps

Mapki has a detailed list of URL parameters for Google Maps. Setting daddr is useful when you want to create a link for a user to get directions. You can also control the zoom level, type of map (normal, satellite, terrain, etc), overlay information and lots of other things.

Posted on February 19, 2010 by Ian Dunn. Posted in Miscellaneous | Tagged Google Maps | Leave a comment

Subscribe via Email

Feeds & Profiles

  • RSS
  • WordPress.org
  • GitHub
  • HackerOne
  • LinkedIn