Skip to content

Instantly share code, notes, and snippets.

peak awesomeness imminent

Bryan Casey TheCase

peak awesomeness imminent
View GitHub Profile

Keybase proof

I hereby claim:

  • I am thecase on github.
  • I am thecase ( on keybase.
  • I have a public key ASDFU2NtXS3GJMPwqPULkHzQr55UiS56StyToheWbz11rAo

To claim this, I am signing this object:

View gist:c441a3d138dfab70ec6c
set cmd [lindex $argv 0]
eval spawn ssh admin@ap
set prompt ":|#|\\\$"
interact -o -nobuffer -re $prompt return
send "the-actual-passsword\r"
interact -o -nobuffer -re $prompt return
send "system led $cmd\r"
View OpenSCAD module example
module group1(high){
cylinder(r1=2, r2=4, h=high, $fn=30, center=true);
cube([5,5,high], center=true);
translate([0,0,20]) group1(30);
View gist:71b577126f067c083131
cur = 1h;
translate([0,0,1h]) cylinder(d1=1d, d2=8.5, h=1Bh, $fn=40); //1B
cur = cur + 1Bh
translate([0,0,cur]) cylinder(d=2d, h=2h, $fn=30); //2
cur = cur + 2h;
translate([0,0,cur]) cylinder(d=3d, h=3h, $fn=15); //3
cur = cur + 3h
TheCase / gist:a1bbf8bf54b643c17b7d
Last active Aug 29, 2015
Mac OS X - AppleScript to auto-align Terminal windows
View gist:a1bbf8bf54b643c17b7d
# Config Section
# columns, rows per window
set cols to 80
set rows to 50
# first window, pixels right and down from top left of screen
set left_margin to 20
set top_margin to 100