Skip to content

Instantly share code, notes, and snippets.

libmad0-dev libid3tag0-dev libsndfile1-dev libgd-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev
`cat aptfile`
String file contents

sudo apt-get install build-essential ruby-dev libxml++2.6-dev libsqlite3-dev nodejs sudo gem install rails cd /tmp rails new test cd test rails server

now go to http://localhost:3000 in your browser, you should see a welcome page.

"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()
@media (max-width: 450px) {
.top-block .text-holder {
font-size: 16px;
font-weight: normal;
}
}
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS and IE text size adjust after device orientation change,
* without disabling user zoom.
*/
html {
font-family: sans-serif; /* 1 */
"project dir filtering for nerdtree (stick in vimrc)
autocmd vimenter * call s:setupPathFilter()
function! s:setupPathFilter() abort
call NERDTreeAddPathFilter("ProjectPathFilter")
let baseDir = "/home/marty/work/playmob/charity_portal/website"
let s:proj = { 'root': g:NERDTreePath.New(baseDir) }
let s:proj['visibleDirs'] = [
" Usage:
"
" Create a project from the current nerdtree with
" :NERDTreeProjectSave <name>
"
" Load a project with
" :NERDTreeProjectLoad <name>
"
" Delete a project with
" :NERDTreeProjectRm <name>
"Put this file in ~/.vim/nerdtree_plugin
"
"There are definitely more efficient ways to check a file to see if it
"is a class/interface/etc but this is really just a proof of concept.
if exists("loaded_nerdtree_ft_flags_plugin")
finish
endif
let g:loaded_nerdtree_ft_flags_plugin = 1