Skip to content

Instantly share code, notes, and snippets.

@jsgoyette
jsgoyette / vimrc
Last active April 11, 2017 06:10
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-commentary'
@jsgoyette
jsgoyette / RAM FS (Mac OSX)
Created January 28, 2017 22:14
Creates a volatile memory-only drive
#!/bin/bash
ramfs_size_mb=64
mount_point=/private/tmp/ramfs
# must run as root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi