Skip to content

Instantly share code, notes, and snippets.

View Toltar's full-sized avatar
👨‍💻
Coding

Matthew Dickens Toltar

👨‍💻
Coding
View GitHub Profile
@learncodeacademy
learncodeacademy / webpack.config.js
Created January 8, 2016 03:55
Sample Basic Webpack Config
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"
@gustavohenrique
gustavohenrique / digitalocean-deploy-django
Created August 18, 2014 01:12
Steps to configure a django app on digitalocean.com
deploy django app on digitalocean
=================================
# Packages
sudo apt-get install python-pip python-dev python-virtualenv supervisor nginx
# Create dirs
mkdir -p /webapps/my-project/{logs,run}