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
;; 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
(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 |
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
ale: ~/.rvm/src/ruby-1.9.2-p290/lib (master)$ ri module_function | |
Nothing known about .module_function |
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 stumpwm-internal-loop () | |
"The internal loop that waits for events and handles them." | |
(loop | |
(run-hook *internal-loop-hook*) | |
(handler-bind | |
((xlib:lookup-error (lambda (c) | |
(if (lookup-error-recoverable-p) | |
(recover-from-lookup-error) | |
(error c)))) | |
(warning #'muffle-warning) |
OlderNewer