Skip to content

Instantly share code, notes, and snippets.

https://gist.github.com/1696496
Usage: gist [options] [filename or stdin] [filename] ...
Filename '-' forces gist to read from stdin.
-p, --[no-]private Make the gist private
-t, --type [EXTENSION] Set syntax highlighting of the Gist by file extension
-o, --[no-]open Open gist in browser
-m, --man Print manual
-v, --version Print version
-h, --help Display this screen
#
# requires the homebrew `gist` recipe to be installed
#
URL=`pbpaste | gist -o`
echo -n $URL | pbcopy
echo $URL
unique: 31, opcode: LOOKUP (1), nodeid: 1, insize: 48
LOOKUP /newfile
getattr /newfile
unique: 31, error: -2 (No such file or directory), outsize: 16
unique: 31, opcode: LOOKUP (1), nodeid: 1, insize: 48
LOOKUP /newfile
getattr /newfile
unique: 31, error: -2 (No such file or directory), outsize: 16
unique: 31, opcode: STATFS (17), nodeid: 1, insize: 40
statfs /
;; zeevex whitespace standards WHETHER YOU LIKE IT OR NOT
;; test 2
;; test 3
(require 'whitespace)
(defun activate-trailing-whitespace-nazi ()
"Annoy you with trailing whitespace, and then delete it on save anyway"
(interactive)
(whitespace-mode t)
# Rake Quick Reference
# by Greg Houston
# http://ghouston.blogspot.com/2008/07/rake-quick-reference.html
# -----------------------------------------------------------------------------
# Running Rake
# -----------------------------------------------------------------------------
# running rake from the command-line:
# rake --help
# Rake Quick Reference
# by Greg Houston
# http://ghouston.blogspot.com/2008/07/rake-quick-reference.html
# -----------------------------------------------------------------------------
# Running Rake
# -----------------------------------------------------------------------------
# running rake from the command-line:
# rake --help
# Rake Quick Reference
# by Greg Houston
# http://ghouston.blogspot.com/2008/07/rake-quick-reference.html
# -----------------------------------------------------------------------------
# Running Rake
# -----------------------------------------------------------------------------
# running rake from the command-line:
# rake --help
TESTING
~ $ rvm install 1.9.2 --with-readline-dir=$rvm_path/usr
Installing Ruby from source to: /Users/stouset/.rvm/rubies/ruby-1.9.2-p180, this may take a while depending on your cpu(s)...
ruby-1.9.2-p180 - #fetching
ruby-1.9.2-p180 - #extracting ruby-1.9.2-p180 to /Users/stouset/.rvm/src/ruby-1.9.2-p180
ruby-1.9.2-p180 - #extracted to /Users/stouset/.rvm/src/ruby-1.9.2-p180
ruby-1.9.2-p180 - #configuring
ruby-1.9.2-p180 - #compiling
;; zeevex whitespace standards WHETHER YOU LIKE IT OR NOT
;; TEST of 1753581
(require 'whitespace)
(defun activate-trailing-whitespace-nazi ()
"Annoy you with trailing whitespace, and then delete it on save anyway"
(interactive)
(whitespace-mode t)