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
MYPROJECT_RUBIES = { | |
'ruby-1.8.7-p302' => {:alias => 'dms187', :odbc => '0.99991'}, | |
} | |
namespace :rvm do | |
task :setup do | |
unless @rvm_setup | |
rvm_lib_path = "#{`echo $rvm_path`.strip}/lib" | |
$LOAD_PATH.unshift(rvm_lib_path) unless $LOAD_PATH.include?(rvm_lib_path) |
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
nmap <leader>p iputs " | |
imap <leader>p puts " | |
map <leader># i#{ | |
imap <leader># #{ |
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
abbrev 'test' do | |
pasteBoard = NSPasteboard.generalPasteboard | |
pasteBoard.declareTypes([NSStringPboardType], owner: nil) | |
pasteBoard.setString('ಠ_ಠ', forType: NSStringPboardType) | |
send('<Cmd-v>') | |
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
map "<Cmd-y>" do | |
input( | |
"etm" => lambda { | |
system('diskutil umount "/Volumes/Time Machine Backups"') | |
} | |
) | |
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
[FreeTDS] | |
Decscription = FreeTDS driver for SQLServer | |
Driver = /opt/local/lib/libtdsodbc.so | |
Setup = /opt/local/lib/libtdsodbc.so | |
FileUsage = 1 |
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
map "<Ctrl-Shift-R>" do | |
app = Accessibility::Gateway.get_application_by_name "Google Chrome" | |
reload = app.main_window.find.first_item_matching(:role => Matches.partial("button"),:description => Matches.exact("Reload")) | |
reload.press | |
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
autocmd FileType * if &ft == "vimclojure.clojure" | imap <c-k> <Plug>ClojureReplUpHistory. | endif | |
autocmd FileType * if &ft == "vimclojure.clojure" | imap <c-j> <Plug>ClojureReplDownHistory. | endif |
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
except /(iTerm|MacVim)/ do | |
map ";uic", Commands.ui_controls | |
map ";lc", Commands.left_click_element | |
map ";rc", Commands.right_click_element | |
map ";dc", Commands.double_click_element | |
map ";mi", Commands.show_current_app_menu_items | |
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
simulate :states => [s], :t => 0, :dt => lambda {|t| t+1} do | |
3.times do | |
states += step | |
end | |
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
#map img { | |
/* Fixes bootstrap from clobbering KML png images */ | |
max-width: none; | |
} |