Tips for Clojure Beginners -
Straightforward advice for those getting started.
Styling a Middleman Blog with Bourbon, Neat, and Bitters -
Middleman is about my favorite thing in web development right now. Bourbon, Neat, and Bitters are Stylesheet frameworks done the right way.
This article shows how to use these and the Middleman blog plugin together.
This is a walk-through for styling your own static blog from scratch. We will
be using Middleman for our framework and Bourbon ,
Neat , and Bitters for our Sass libraries.
Middleman is a lightweight static site framework built using Ruby. It compiles…
Leave it to the indefatigable Tim Pope to write a Clojure-like language that compiles down to VimL.
Though I’ll probably never use this, the fact that it exists at all makes me feel like everything’s going to be OK.
Yesterday I caused an outage and had to write a post mortem. For the timeline the times are supposed to be in UTC so there’s no confusion over time zones, because timezones are the worst.
I was going back through the HipChat conversations from the day and all of the times were in my local time zone. I had no intention of converting each time to UTC in my head or otherwise, so I decided to set my Mac’s clock to UTC to make it easier.
System Preferences doesn’t let you pick UTC for a time zone, but you can do this:
sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime
You clock will now be set to UTC. When you’re ready to change it back, you can do so in System Preferences.
This plugin lets you autocomplete text that’s in other tmux windows and panes. It’s great if you’re using terminal vim with tmux and are too lazy to copy and paste.
I have my ssh config up on GitHub: https://github.com/smith/vim-config/blob/master/extra/ssh/config.d/main
I have some other work-specific configuration options that are semi-secret in that they contain some hostnames and settings I don’t need to be sharing publicly. There’s no way to use any kind of includes in your ~/.ssh/config, so I made a function my Fish config that concats everything from ~/.ssh/config.d together into ~/.ssh/config. This is the function I use, but it would be similar for Bash or other shells:
cat ~/.ssh/config.d/* > ~/.ssh/config
command ssh $argv
Apparently Graphviz ships with a tool called
vimdot, which lets you edit graphs in Vim and have them instantly update in a window. I couldn’t get it working in terminal Vim on my Mac, but maybe you can.
This plugin lets you select the nearest text object in normal mode by just pressing
<ENTER>. It’s very simple but has already made things easier.
For example, if I need to select something within parentheses and change it, but for I would do
ci( to change what’s i the parens, but now I just press
<ENTER>c to do the same thing. Works on strings and other text objects too.
I don’t have a lot of love for Haml, but I use it frequently, and this plugin in not only from the indefatigable Tim Pope, but also includes support for Sass and SCSS, which have my eternal undying affection.