Jeff Roberts
RHCE #804006066322833
Vim-Fu is now iPhone and Android friendly

Check out the Vim-Fu Store!

Vim-Fu

Patching Chef to support dry-run mode by Darren Dao

How we patch Chef to have dryrun [...]

Resetting root password in MySQL

This is taken directly from MySQL home page:

Log on to your system as the Unix user that the mysqld server runs as (for example, mysql).
Locate the .pid file that contains the server’s process ID. The exact location and name of this file depend on your distribution, host name, and configuration. Common locations are /var/lib/mysql/, /var/run/mysqld/, and /usr/local/mysql/data/. Generally, [...]

OpenSSL-Fu

I needed to do a conversion of an ssl-cert today and I found a very thorough post all about OpenSSl and all of the really usefult things it can [...]

MySQL tuning script

This is really useful script called tuning-primer.sh by Matt Montgomery. [...]

Using Screen to connect to a serial console

Not much to write about here.  You can use screen as a replacement for minicom. Who knew!?!?!  Screen will never stop amazing me with all the cool stuff that it can do.

screen /dev/ttyUSB0

To set the baud rate to 57,600:

screen /dev/ttyUSB0 57600

To enable CTS/RTS handshake:

screen /dev/ttyUSB0 57600,ctsrts

^a,k to end the session.
^a,i to check the status of [...]

Cisco POE and Polycom phones

They just continuously flapped when ever they were powered by the 3550. Adding this line fixed the issue [...]

Cisco's DNS Rewrite - My new best friend

DNS Rewriting is a simple and elegant solution that can save you time and [...]

Bulk adding users to Google Apps Premier

My company is making a small jump from Google Apps Standard this morning to the Premier service, but because we are taking the opportunity to change the domain name, we are forced to do a migration.  This is really not a big deal compared to the mail migrations I have done in the past, in [...]

Great iPhone app for regex testing.

This is a great little utility to have on your iPhone.  It’s called Regexen and it is a tool that allows you to enter some text, and then cook up a regex that will match it.  You can then mail it out to your own email account or a co-worker.  It also has [...]

Converting from Apache to Nginx

I’ve decided to migrate Vim-Fu.com (WordPress) from Apache to Nginx for a couple of [...]