Skip to content

Instantly share code, notes, and snippets.

View rschenk's full-sized avatar
🐬
Space is the place

Ryan Schenk rschenk

🐬
Space is the place
View GitHub Profile
function newtab {
osascript -e "
tell application \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down
tell application \"Terminal\" to do script \"cd \\\"$(PWD)\\\"\" in selected tab of the front window
" > /dev/null 2>&1
}
# Change Terminal Themes
function tabc {
NAME=$1; if [ -z "$NAME" ]; then NAME="Default"; fi
osascript -e "tell application \"Terminal\" to set current settings of front window to settings set \"$NAME\"" > /dev/null 2>&1
}
# Change Terminal Themes When you SSH
function ssh {
tabc "IR_Black_Remote"
describe "#geocode_unless_on_base" do
context 'when off base' do
context 'with a geocodable address' do...
context 'with a non-geocodable address' do...
context 'with a blank physical_location' do...
context 'with buck shot eyes and a purple heart' do
it('rolls down the national stroll') {}
end
...
class JackieTreehorn {
public Woman treat(Object obj) {
return (Woman)obj;
}
}

Keybase proof

I hereby claim:

  • I am rschenk on github.
  • I am rschenk (https://keybase.io/rschenk) on keybase.
  • I have a public key ASDs3H75m_NpydNPNMySAoLI3Bd_45hDd-EbKyFPMBuGhQo

To claim this, I am signing this object: