This file contains 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
(featurep 'yagist) | |
https://gist.github.com/3f613edf681e2303c465 |
This file contains 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
30-Jun-15 11:39:50 AM | |
PS C:\Users\ale\local\opt\emacs > cd | |
# Directory Stack: | |
--- ---------------- | |
0 C:\Users\ale | |
1 C:\Users\ale\src\MesaGrid | |
2 C:\Users\ale\local\opt\emacs\bin | |
-> 3 C:\Users\ale\local\opt\emacs |
This file contains 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
;; If you want to create a file, visit that file with C-x C-f, | |
;; then enter the text in that file's own buffer. | |
This file contains 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
(setq *github-auth-info* '("laynor")) | |
(require 'xml-rpc) | |
(defvar lisppaste-nick "chandler") |
This file contains 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
(defun enotify-mode-line-set (message message-face) | |
(let ((map (make-sparse-keymap))) | |
(define-key map [mouse-2] (lambda () (interactive) | |
(message "mlosucci"))) | |
(setq enotify-msg message) | |
(setq enotify-mode-line-string | |
(list enotify-mode-line-prefix | |
`(:eval | |
(propertize | |
enotify-msg |
This file contains 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
def crasto x, y=nil, &block | |
block.call() | |
puts [x,y] | |
end |
This file contains 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
crasto (1,2) { puts "asdf" } | |
SyntaxError: (irb):7: syntax error, unexpected ',', expecting ')' | |
crasto (1,2) { puts "asdf" } | |
^ | |
from /home/ale/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>' |
This file contains 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
def f1 | |
catch(:foo) do | |
puts 1 | |
throw :foo | |
puts 2 | |
end | |
puts 3 | |
end | |
def fungo2 | |
begin |
This file contains 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
def f1 | |
catch(:foo) do | |
puts 1 | |
throw :foo | |
puts 2 | |
end | |
puts 3 | |
end | |
def fungo2 | |
begin |
This file contains 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
def f1 | |
catch(:foo) do | |
puts 1 | |
throw :foo | |
puts 2 | |
end | |
puts 3 | |
end | |
def fungo2 | |
begin |