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
;; 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
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
# | |
# 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
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
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
pbpaste | gist -o |
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
ftp://ftp.gnu.org/pub/gnu/kawa/ |
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
;;;###autoload | |
(defun gist-list () | |
"Displays a list of all of the current user's gists in a new buffer." | |
(interactive) | |
(message "Retrieving list of your gists...") | |
(github-with-auth-info login token | |
(gist-request | |
(format "https://gist.github.com/api/v1/xml/gists/%s" login) | |
'gist-lists-retrieved-callback))) |
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
;; There is a global file (~/.emacs.d/eproject.lst) | |
(defun prj-globalfile () | |
(expand-file-name "eproject.lst" | |
(if (boundp 'user-emacs-directory) user-emacs-directory | |
"~/.emacs.d/") | |
)) | |
;; with the list of all projects | |
(defvar prj-list) |