Fun with access.log

With analyzing data sets and performing repetitive (and tedious) tasks, piping streams in the terminal can save a ridiculous amount of manual labor and time. Following are a few examples that I use in diagnosing and resolving various types of problems with web applications. Assuming log entries in the following format: 1.1.1.1 - - [24/Aug/2013:12:55:30 +0000] "GET / HTTP/1.0" 200 2227 "-" "USER AGENT STRING" vhost=vhost.example.com host=example.com hosting_site=docroot request_time=5640229 Number of Requests $ for i in {0....

2013-08-24 · 2 min · 228 words · Nathaniel Hoag

Just a Little Bug

It’s an old bug but a tiny stumbling block for zsh users who are new to Jekyll/Octopress. On submitting the following command I was getting a silly error in response. Command: $ rake new_post["First Post\!"] Error: zsh: no matches found: new_post[First Post!] I ultimately ended up here. Escapes are fine, but I decided to go with the “noglob” alias in .zshrc given that it’s difficult enough to write on a regular basis :)

2013-08-20 · 1 min · 73 words · Nathaniel Hoag

First Post!

First post getting a tech blog together on Octopress and S3. Excited to jot down notes and findings from my daily tech adventures.

2013-08-19 · 1 min · 23 words · Nathaniel Hoag