Automate a simple refactoring of inlining variables
It's quite often that while refactoring you'll run into the scenario of needing to inline a variable.
Obviously nothing ground-breaking here, so why not automate this? Let's attack it in a very straightforward manner:
- Record our actions into a register
- Dump the recorded commands into a function . . .
With a little AppleScript we can get our tmux status bar to display the currently playing song in Spotify or iTunes (or any other media player).
AppleScript appeared on Mac OS back in 1993 with the purpose of allowing end-users to easily, programatically control applications and modify data in . . .
If you don't know, Vagrant is really nice tool for setting up transparent development VM environments. This gets rid of the 'works on my machine' excuse. It's a really nice tool and I recommend you try it out.
How deep can we go?
Vagrant also allows you to run a script once a new VM is provisioned . . .
Posted in: vagrant
I don't like the hackneyed "My First Blog Post!!!" cheesy stuff. I jump right into the projects I'm working on, problems I run into, and my solutions.
So I've still been configuring my Arch Linux machine for development, specifically Ruby on Rails as of recent. Rails 4.0 defaults to . . .