Archive for November, 2007

MySQL: (Re)set the auto-increment value of a table

November 30th, 2007

Sometimes it’s necessary to set the starting point of a MySQL auto-increment value.

Normally, MySQL starts auto-incrementing at 1. But let’s say you want to start at 10.000, because you want at least a five figure number. You can use the following query to set the MySQL auto-index:

ALTER TABLE some_table AUTO_INCREMENT=10000

RailsJobs.nl – Ruby on Rails Jobs in The Netherlands

November 27th, 2007

The time is now ripe to announce RailsJobs.nl – A shiny new jobboard for Ruby on Rails developers who are seeking a job in the Netherlands or Belgium. I started the site a few days ago and business and job seekers have started to find RailsJobs.nl.

First Beta of Firefox 3 Now Available

November 20th, 2007

Firefox 3 Beta 1 is based on the new Gecko 1.9 Web rendering platform, which has been under development for the past 27 months and includes nearly 2 million lines of code changes, fixing more than 11,000 issues. Gecko 1.9 includes some major re-architecting for performance, stability, correctness, and code simplification and sustainability.

Bash it! – Number of messages in Postfix queue

November 15th, 2007

Got bash? Here’s a nice snippet that will return the number of messages currently in the postfix queue.

postqueue -p | tail -n 1 | cut -d' ' -f5

Feel free to post any updates or improvements.