68_wekqh_large

Tyler Ewing

Automating with Vim part 1

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.

Silvrback blog image

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
  • Create a leader to call that . . .

Read More

September 10, 2015

Tmux Now Playing

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).

Now Playing


AppleScript

AppleScript appeared on Mac OS back in 1993 with the purpose of allowing end-users to easily, programatically control applications and modify data in documents. It works off of Apple . . .

Read More

Posted in: tmuxapplescript

October 27, 2014

Vagrant-ception

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 so you can check your script . . .

Read More

Posted in: vagrant

April 22, 2014

Starting Off Easy

Missing sqlite3/sqlite3_native

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.


Background

So I've still been configuring my Arch Linux machine for development, specifically Ruby on Rails as of recent. Rails 4.0 defaults to sqlite3, which is in the . . .

Read More

November 12, 2013

Archive