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
#!/usr/bin/ruby | |
def get_a_closure | |
this_var_is_captured = 1 | |
return_this_function = Proc.new do |x,y| | |
puts "#{this_var_is_captured} #{x} #{y}" | |
end | |
return_this_function | |
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
; | |
; erc-swit | |
; | |
; Switching through all the erc channel buffers regardless of activity. | |
; Just press one key sequence, which is by default: | |
; Control-C Control-N for next : erc-swit-keyseq-next | |
; Control-C Control-P for previous : erc-swit-keyseq-prev | |
; The buffers are presented in alphabetical order. | |
; | |
; INSTALL |
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
# -*- conf-unix -*- | |
# Add environment variable so can do fancy terminal customization in shells | |
setenv GNU_SCREEN "yes" | |
# ---------------------------------------------------------------------- | |
# Keybindings | |
# ---------------------------------------------------------------------- | |
# screen's shortcut entry character, cannot be set to ^Q |