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
This is an edited gist. |
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
say -v Cellos 'bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum bum' |
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
#!/usr/bin/env ruby | |
master_commits = [] | |
`git log --oneline --reverse master`.split("\n").each do |commit| | |
master_commits << commit[0..6] | |
end | |
presenting_commits = [] | |
`git log --oneline --reverse presenting`.split("\n").each do |commit| | |
presenting_commits << commit[0..6] |
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
fjdkslajfskd | |
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
let mapleader = "," | |
" Pathogen ******************************************************************** | |
call pathogen#runtime_append_all_bundles() | |
" NERDTree ******************************************************************** | |
noremap <leader>n :NERDTreeToggle<CR> | |
" User instead of Netrw when doing an edit /foobar | |
let NERDTreeHijackNetrw=1 |
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
cookbooks/mongodb | |
cookbooks/mongodb/.gitignore | |
cookbooks/mongodb/attributes | |
cookbooks/mongodb/attributes/mongodb.rb | |
cookbooks/mongodb/libraries | |
cookbooks/mongodb/libraries/mondogb_process.rb | |
cookbooks/mongodb/metadata.rb | |
cookbooks/mongodb/recipes | |
cookbooks/mongodb/recipes/apt.rb | |
cookbooks/mongodb/recipes/backup.rb |
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
!SLIDE | |
@@@javascript | |
window.Money = class Money | |
constructor: (rawString) -> | |
@cents = @parseCents rawString | |
parseCents: (rawString="") -> | |
[dollars, cents] = | |
rawString.match(/(\d+)/g) ? [0,0] |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAueR3cQoIXpD+J5wlzVeNP3duuLPaz2d3xXD71Q37SGISmfkDG8dmjU+ZZk0ZZZFo7khNabwFUfZKu1FJ7al0gPYmois/DJnezDjs66+7EP/fKw6zk3uUUUMc9FGQvDp5kmR6MZGHn4Mh6pYbZmVFwSk+jWAQHDJrwwx5qCXsp9cadDDaYH0Qo995wJH2/+T9YLzqicvoGYoBuYWHm2A8XHmD4XQ60BTy3hnYo/0vw3iIxXgFSGRwCHZBG2G6Ihi1+qTSay4AvVfbLfZxGSX0SBb8CqTHS0VRqBeJ7/DVgfaiLTvbb1jwmQmgtD6aw39mKambXp1apZRRq50iJ7C4P5rBZtTCBdYr5wOxm1exk0BiJeGfLTXzxTP+JezPNqdAjjM902Bd79c0JAYqXizBXIhWQkDxLjTiC4BU0ZrgwLTMAabo0CSyVgzVUKjxS07CmKvapuuXanBgcccjM6qj2olMkHB2L4aE5zJB6mg4GnDHrZWzf80Qbpduiwzs2BO0VfOerSWv8b33rgb+3DYZESmMNOezllrySR0fpCwi5iHfxX+FqSzctxwe26tvjIvIAIBZBkaLAZwXbnBo9v1di1yiPM7g5jEyDm7fEIhAUPrhwQr0gEmFd1nZd9Y6/+4nDn/hrCNTbke6f9aA25u0lrULH/jqx8ZFkOLSnpI2PrE= skalnik@Fourier |
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
ruby-1.8.7-p352 :007 > me.roles | |
=> [#<Role id: 1, name: "admin">] | |
ruby-1.8.7-p352 :008 > me.has_role? :appt_admin | |
=> true |
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
" Love this for adjusting from laptop to desktop monitor | |
function! Change_size() | |
if !exists('w:wide') | |
let w:wide = 0 | |
endif | |
if w:wide == 1 | |
set columns=140 | |
let w:wide = 0 | |
else | |
set columns=260 |