Skip to content

Instantly share code, notes, and snippets.


Tyler Harms harmstyler

View GitHub Profile
View grunt_intial_setup.txt
Grunt Initial Setup
1. $ npm install grunt-cli
2. $ cd /path/to/site
3. $ npm init
- Creates package.json file
5. $ npm install grunt --save-dev
- '--save-dev' keeps a reference to the dependencies in the package.json file
willurd /
Last active Nov 28, 2021
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
View gist:2597326

Moving from jQuery


// jQuery
$(document).ready(function() {
  // code
napcs / .vimrc
Last active Jan 16, 2021
Set up Vim on Mac, Linux, or Windows. For Mac and Linux: sh <(curl -s
View .vimrc
if has('win32') || has ('win64')
let $VIMHOME = $HOME."/Dropbox/dotfiles/.vim"
if !empty($CONEMUBUILD)
set term=xterm
set t_Co=256
let &t_AB="\e[48;5;%dm"
let &t_AF="\e[38;5;%dm"