Skip to content

Instantly share code, notes, and snippets.

@58bits
58bits / Session.scpt
Created July 2, 2012 22:19
Session Script
property server : missing value
property server_url : missing value
property server_path : missing value
property build_path : missing value
property source_path : missing value
property editor : missing value
on start_session()
tell application "iTerm"
class Fun
@@a = 1
@b = 1
class << self
attr_accessor :hides
end
class Document
@@default_font = :times
end
class Presentation < Document
@@default_font = :nimbus
end
class Resume < Document
@@default_font = :arial
module B
@@catch
def self.included(base)
class << base
def catch=(hsh)
@@catch = hsh
end
def catch
@@catch
@58bits
58bits / hack.sh
Created March 31, 2012 15:12 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#