I wondered why my Vim command history wasn’t being preserved between sessions. Root cause: ~/.viminfo, for whatever reason, was owned by root. I deleted it, restarted Vim, and all is now good.
I run Postfix on my VPS’s exclusively to send mail. They’re configured to route mail to Mailgun, and I’ve made sure that they’re not an open relay. I also receive a daily logwatch email and it doesn’t help to have a bunch of this: Feb 4 18:31:47 alpha postfix/smtpd: connect from unknown[22.214.171.124] Feb 4 18:31:47 alpha postfix/smtpd: NOQUEUE: reject: RCPT from unknown[126.96.36.199]: 554 5.7.1 <[email protected] yahoo.com>: Relay access denied; from=<[email protected]> to=<[email protected]
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.
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:
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’.
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"
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.