Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am adam-beck on github.
  • I am adambeck ( on keybase.
  • I have a public key ASDNs4077rDGNPw4HRMe6iMEWkmdgDMqvNAfpwbhj9Ng3Ao

To claim this, I am signing this object:

View webpack2.configuration.js
const path = require('path');
const webpack = reuqire('webpack');
const config = {
devtool: 'eval-source-map',
target: 'web',
entry: {
app: [
View default.nginx.conf
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/;
events {
worker_connections 1024;
View Error
ERROR in ./bower_components/foundation/js/foundation.js
Module not found: Error: Cannot resolve module 'bower_components/jquery/dist/jquery.js' in /home/dev/repos/example/bower_components/foundation/js
@ ./bower_components/foundation/js/foundation.js 1:0-17
adam-beck / gist:19942c1bca537473fa81
Created February 15, 2015 19:02
web-dev machine vimrc
View gist:19942c1bca537473fa81
set nocompatible
filetype off
" clone Vundle directory if it doesn't already exist
if !isdirectory(expand("~/.vim/bundle/Vundle.vim/.git"))
!git clone ~/.vim/bundle/Vundle.vim
"set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
View vimrc
execute pathogen#infect()
set t_Co=256
let mapleader =","
map <leader>n :bn<cr>
map <leader>p :bp<cr>
map <leader>d :bd<cr>
View .tmux.conf
#use UTF8
set -g status-utf8 on
set-window-option -g utf8 on
bind -n C-b clear-history
# make tmux display things in 256 colors
set -g default-terminal "screen-256color"
#set scrollback history to 10000 (10K)
View gist:9499055
# update and upgrade #
sudo apt-get update --yes
sudo apt-get upgrade
# install git
sudo apt-get install git
# install curl