Blog

Updated Site to hugo

I have switched the generation of this site to hugo. I have been watching hugo for a long time now and love the fast build system in go over the de-facto static site generator jekyll. This site has been for a long time using my own static site generator but I wasn’t putting the effort into maintaining it, so thus the reason to switch over to a well maintained project.

Source Code Released

This site has always used some build scripts to generate it in various formats. This has changed over the years but I have tried to keep it simple. When I first saw jekyll a few years ago I liked a lot of what it did and I thought about converting this site to use it. I didn’t end up going with it because I liked being able to change whatever I want and I am much more comfortable with PHP than ruby.

Mount sshfs with a script

sshfs is great for mounting remote directories locally. If you want to mount a sshfs directory locally with a script, you need to be able to connect to it with a script. This script uses expect to allow you to mount any ssh location with username and password. Normally you need to setup public key authentication and just issue the sshfs command, but if you need to use a username and password, this will do the trick for you.

Water for Elephants by Sara Gruen

Water for Elephants isn’t a book I’d normally choose to read. I chose it from a list of books I was able to get for 99 cents with a Special Offer on my Kindle. My wife had read it before and she liked it, so I figured I’d give it a try. I started with the sample from Amazon to try it out before actually buying it and I was hooked right from the start.

The Name of the Wind by Patrick Rothfuss

I just finished The Name of the Wind by Patrick Rothfuss. I had heard a lot of great thing about this book. I hadn’t even heard of it until I heard the second book came out and everyone was talking about how excited they were to get it. Now that I’m done with this one, I really want to read the next book. That will be soon. Warning This may be considered as spoilers.

A wireless wired network

My company is moving to a new office in about a month that won’t have wire drops in the walls for the workstations. The office currently has a wireless network, although almost all of the machines use a wired connection. My current task is to get a connection out to everyone. One option is to buy a wireless card for every machine, but this won’t work in the long run because each workstation also has an IP phone which uses a wired connection.

Americans are Afraid of Numbers

Neil deGrasse Tyson gives a talk on America’s Fear of Numbers at The Amazing Meeting 2011 in Las Vegas. Pretty funny. Source: YouTube

Edit sudoers with visudo and nano

Editing sudoers file allows you to manage which users can use the sudo command. You should never modify this file by hand, and syntax errors will make it so you can’t use sudo and possibly not be able to edit the file again. To modify it you should use the command visudo. This opens the sudoers file in vi so you can edit it. I was attempting to edit mine with vi and for some reason it wasn’t working properly.

Kindle 3G and Wi-Fi with Special Offers

I got a Kindle this past Thursday. I am loving it so far. The E-Ink screen is easy to read and works great with a lot of light. I’m not sure what it is about it, but seem to be able to read faster than with it than reading a book on paper. The first book I finished on it was Mockingjay which is the third book of The Hunger Games series.