Slaptijack Title

Archive for the ‘Software’ Category

Mutt: Tagging Messages Based on Message ID

I recently needed to tag the first 5,389 messages in a mailbox using Mutt. This is much easier than you might think. shift-t - By default, the command to tag messages based on a pattern is bound to shift-t. If you've changed this in your muttrc, use whatever you've bound tag-pattern to. ~m1-5389 - ~m [...]

Categories: Software

Comments in .vimrc

If you need to comment something out of your .vimrc, start the line with...

Categories: Software

Google PageRank Tool 0.5.0

I released a new version of my Google PageRank Tool for WordPress last week. Google recently changed the URL for PageRank information which necessitated a change in the plugin. The new plugin has been tested with WordPress 3.2.1.

Categories: Software

Convert MOD Movies with VLC on Your Mac

My wife uses a Canon FS100 for taking home videos of the kids. If you aren't familiar with it, it's a fairly light-weight camcorder that uses SDHC cards rather than tapes. The only real grievance I have with it is that the video codec it uses is not compatible with Quicktime, iPhoto, or iTunes. I wrote the following Bash script to convert my MOD files to MPEG4.

Categories: Software

MySQL: Disable DNS Lookups

In a small environment, there's very little reason to rely on DNS resolution inside MySQL. You can disable it by adding skip-name-resolve to your my.cnf or by using the --skip-name-resolve command line argument. Remember that if you disable DNS lookups, you will need to set permissions using IP addresses rather than host names!

Categories: Software