Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
BRANCHES=`git branch`
if [ $? != 0 ]; then
exit
fi
GIT_SVN=0
git branch -r | grep 'git-svn' > /dev/null
if [ $? = 0 ]; then
GIT_SVN=1
Cassady:/usr/local/bin yossef$ ls -l growlnotify*
-rwxr-xr-x 1 root wheel 324 Jun 26 2008 growlnotify*
-rwxr-xr-x 1 root wheel 130440 Jun 26 2008 growlnotify.wrapped*
-rwxr-xr-x 1 root wheel 324 Jun 8 2008 growlnotify.wrapper*
Cassady:/usr/local/bin yossef$
Cassady:~/Music/jazz-on-line/maybe/look yossef$ earworm VIC09689.mp3
/Library/Ruby/Gems/1.8/gems/icanhasaudio-0.1.3/lib/icanhasaudio/mpeg/decoder.rb:25:in `native_decode': Error: number of channels has changed (RuntimeError)
from /Library/Ruby/Gems/1.8/gems/icanhasaudio-0.1.3/lib/icanhasaudio/mpeg/decoder.rb:25:in `decode'
from /Library/Ruby/Gems/1.8/gems/earworm-0.0.2/lib/earworm/fingerprint.rb:95:in `decode_mp3'
from /Library/Ruby/Gems/1.8/gems/earworm-0.0.2/lib/earworm/fingerprint.rb:94:in `open'
from /Library/Ruby/Gems/1.8/gems/earworm-0.0.2/lib/earworm/fingerprint.rb:94:in `decode_mp3'
from /Library/Ruby/Gems/1.8/gems/earworm-0.0.2/lib/earworm/fingerprint.rb:93:in `open'
from /Library/Ruby/Gems/1.8/gems/earworm-0.0.2/lib/earworm/fingerprint.rb:93:in `decode_mp3'
from /Library/Ruby/Gems/1.8/gems/earworm-0.0.2/lib/earworm/fingerprint.rb:32:in `to_hash'
from /Library/Ruby/Gems/1.8/gems/earworm-0.0.2/lib/earworm/client.rb:16:in `identify'
---
filter:
- erb
- markdown
directory: gallery
extension: html
title: "Gallery - i_like_dip.jpg"
filename: i_like_dip
image: i_like_dip.jpg
---
#!/usr/bin/env ruby
require 'optparse'
require 'webrick'
include WEBrick
OPTIONS = {
:Port => 2000,
:DocumentRoot => Dir.pwd
}
Course goals:
Lead/follow concepts --- connection, frame, posture
Some social dancing concepts --- move transitions
8-count moves: swingout, swingout from closed, lindy circle, swingout turns (free spin, outside, inside)
6-count moves: tuck turn, right-side pass (inside turn), send out, bring in
Classes:
1 - demo, talk, history
go over frame, posture, pulse, weight changes
def delegated_method_approach_1
if thing
thing.meth
else
other_val
end
end
def delegated_method_approach_1b
thing ? thing.meth : other_val
tell application "Caffeine" to turn on
set volume alert volume 0
require 'rubygems'
require 'bacon'
require 'facon'
class Crystal
def meth
end
end
Yossef Mendelssohn moved to Nashville for work in August of aught-six and
was lucky enough to be right by the premier swing dance studio of the day,
Vintage Rhythm. He finally got around to starting lessons in January, and
since he knew hardly anyone and had nearly nothing to do, he kept on taking
all the lessons he could for several months. At some point, Aba and Reuel
got sick of seeing Yossef all the time and closed the studio down.
After about half a year of taking constant lessons and not doing much
outside of class, Yossef realized he should start dancing socially. Then
came travel to other dance scenes, workshop weekends, exchanges, and