Bootstrap 3 Grid

If you’ve used Bootstrap 2.x and need a quick introduction to Bootstrap 3’s new “mobile first” grid system, your best read is Erik Flower’s introduction.

It’s very easy for me to become paralyzed by the pursuit of a “best practice”. In some cases there isn’t much risk. Coding conventions, for example. When the world has decided that === is better than == most of the time in Javascript, I’m happy to go along with it. But other areas are trickier. I can easily get really caught up in web framework and database choices. Another area is deployment, but I’ve recently had an epiphany that I’ll decribe.

Introducing Telix

A few months ago I started a side project. A few days ago I actually got the thing working in the most basic ways. It is a web application and I plan to launch it as a low cost (but > $0) service. I have a lot more work ahead of me and plan to chronicle issues here. I’m keeping the details wrapped up for the time being, but I’ll say this much:

tmux + iterm2

Both tmux and iterm2 are great, but the default interaction will have iterm scrolling your entire tmux window off the screen which is probably not what you want. To use iterm’s scrolling within tmux, visit Preferences -> Profiles -> Terminal and check: Save lines to scrollback when an app status bar is present Thanks to Dan Carley for this tip.

I’ve lived in Oregon for almost four years and love it. It’s definitely a big improvement over Illinois. There are plenty of things that are a bit different from what I’m used to which is part of what has made the move great, but then there are things that are just wrong. Today I give you: ORS 480.315 - it is in the public interest to maintain a prohibition on the self-service dispensing of Class 1 flammable liquids at retail.


I spend fair amount of time on the command line, and one of the most useful tools I’ve come across is a little script called ‘Z’. Here’s what it does in a nutshell: Intercepts call to cd and keeps track of where you’re cd‘ing to, when, and how often. Provides a z command that accepts a flexible regex syntax and will cd to the best directory based on Z’s “frecency” algorithm: Frecency is a portmanteau of ‘recent’ and ‘frequency’.

zsh and Rake

Octopress offers a ton of useful rake tasks, but they’re somewhat hobbled if using zsh due to globbing. There is an easy fix: alias rake="noglob rake"

Server and a Movie

After a couple hours of fun messing with ansible and node deployments, I think the rest of Friday night would be better spent watching Grave of the Fireflies. According to reviews, I should be a wreck in 90 minutes. Update: yeah, it was depressing.

Two zsh features that are usually helpful but sometimes not: globbing, and autocorrect. They’re easily disabled or restricted. Globbing can be a nuisance with some commands. For example, Octopress offers a host of useful rake tasks such as: rake new_post["Disabling some zsh helpers"] zsh will apply expansion rules to this command causing it to fail. To disable globbing for a single command, prefix with it noglob. Or make an alias for a command you never want to use with globbing:

I use splinter to automate downloading information from banks and brokerages. It works well. Those sites are usual horribly designed, outdated, and a royal pain to navigate. Suffering through the one-time process of developing a script to automated dealing with them is well worth it. Usually the script development is simply done by inspecting DOM element ids or names. But some of these bank sites are so bad, you’re left with trying to send a click event to an image buried in a table with little in the way of navigation helpers.