Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am adam-beck on github.
  • I am adambeck (https://keybase.io/adambeck) on keybase.
  • I have a public key ASDNs4077rDGNPw4HRMe6iMEWkmdgDMqvNAfpwbhj9Ng3Ao

To claim this, I am signing this object:

const path = require('path');
const webpack = reuqire('webpack');
const config = {
devtool: 'eval-source-map',
target: 'web',
entry: {
app: [
'webpack-hot-middleware/client',
'./src/index.js'
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
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
adam-beck / gist:19942c1bca537473fa81
Created February 15, 2015 19:02
web-dev machine vimrc
set nocompatible
filetype off
" clone Vundle directory if it doesn't already exist
if !isdirectory(expand("~/.vim/bundle/Vundle.vim/.git"))
!git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
endif
"set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
execute pathogen#infect()
set t_Co=256
let mapleader =","
map <leader>n :bn<cr>
map <leader>p :bp<cr>
map <leader>d :bd<cr>
#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)
#!/bin/sh
# update and upgrade #
sudo apt-get update --yes
sudo apt-get upgrade
# install git
sudo apt-get install git
# install curl