This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/1696496 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# requires the homebrew `gist` recipe to be installed | |
# | |
URL=`pbpaste | gist -o` | |
echo -n $URL | pbcopy | |
echo $URL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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) |