Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env perl6
use JSON::Tiny;
my %opp-dir = (
north => 'south',
south => 'north',
east => 'west',
west => 'east',
up => 'down',
my $parser = qr{
<logfile:debug.log>
# <debug:run>
(
<.ZoneDirective>?
<[ZoneData]>*
<Zone>?
)+
############################################
@jasonmay
jasonmay / gist:315277
Created February 26, 2010 01:05
AppleScript to open four iTerms along the center of the screen instead of the corners
tell application "iTerm"
set gap to 4
set mw to 640
set mh to 400
set top_left to (make new terminal)
tell top_left
launch session "Default"
end tell
for vim_typo in viim vmi bim cim vo, viom; do alias "$vim_typo"='vim'; done