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
libmad0-dev libid3tag0-dev libsndfile1-dev libgd-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev |
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
`cat aptfile` |
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
String file contents |
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
"Chuck this in [a vim runtime]/nerdtree_plugin/gitignore_filter.vim | |
if exists("loaded_nerdtree_gitignore_filter") | |
finish | |
endif | |
let loaded_nerdtree_gitignore_filter = 1 | |
call NERDTreeAddPathFilter('NERDTreeGitIgnoreFilter') |
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
call NERDTreeAddKeyMap({'key': 't', 'callback': 'NERDTreeMyOpenInTab', 'scope': 'FileNode', 'override': 1 }) | |
function NERDTreeMyOpenInTab(node) | |
call a:node.open({'reuse': "all", 'where': 't'}) | |
endfunction |
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
"put this in your vimrc | |
"note: I'll probably add :NERDTreeSecondary after work tonight | |
autocmd vimenter * call s:CheckToSplitTwoTrees() | |
function! s:CheckToSplitTwoTrees() | |
if argc() != 1 || !isdirectory(argv(0)) | |
return | |
endif | |
vsplit |
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
#Author: Martin Grenfell [http://github.com/scrooloose] | |
#License: | |
# | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it | |
# and/or modify it under the terms of the Do What The Fuck You Want | |
# To Public License, Version 2, as published by Sam Hocevar. See | |
# http://sam.zoy.org/wtfpl/COPYING for more details. | |
# | |
#This script hijacks calls to svn and adds color and pagination to |
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
setInterval( | |
function() { | |
$.get('/admin/purchases', function(data) { | |
$('body').html(data); | |
}); | |
}, | |
10000 | |
); |
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
"stick this shit in a markdown ftplugin | |
" | |
"Usage: | |
" | |
"Open a markdown file. | |
"Use the :MdLive command. | |
"Save the file and it will update | |
command MdLive call s:InitMarkdownHacks() | |
autocmd bufwritepost <buffer> call s:CheckToBuildMd() |
NewerOlder