Skip to content

Instantly share code, notes, and snippets.

View vampirechicken's full-sized avatar

Len Jaffe vampirechicken

View GitHub Profile
@vampirechicken
vampirechicken / vil
Created July 5, 2011 18:01
Simplify opening vim to a desired line number determined by 'grep -rn', perl error messages, perl debugger file:line indicators, etc.
#!/usr/bin/perl
use strict;
use warnings;
my ($file, $line_num);
if (@ARGV == 3) {
$file = $ARGV[0];
$line_num = $ARGV[2];
}
@vampirechicken
vampirechicken / makeloop
Last active September 18, 2015 16:32
makeloop is to continuous integration testing as crawling is to roller skating.
#!/bin/bash
TARGET="${1:-all}"
LAST_TARGET=$TARGET
MAKE=make
MAKEFILE=Makefile
EDIT=/usr/bin/vim
SQL=devmaptsql
PS=/bin/ps