Skip to content

Instantly share code, notes, and snippets.

const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const BUILD_DIR = path.resolve(__dirname, 'src/client/public');
const APP_DIR = path.resolve(__dirname, 'src/client/app');
const config = {
entry: APP_DIR + '/index.jsx',
output: {
const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const BUILD_DIR = path.resolve(__dirname, 'src/client/public');
const APP_DIR = path.resolve(__dirname, 'src/client/app');
const config = {
entry: APP_DIR + '/index.jsx',
output: {
@Camcan
Camcan / keybase.md
Last active February 7, 2017 05:19

Keybase proof

I hereby claim:

  • I am camcan on github.
  • I am camcan (https://keybase.io/camcan) on keybase.
  • I have a public key ASDyZcBecgrTdIdbWkAcRJVh9sUxSlg6C3sPXWQAJmg70Ao

To claim this, I am signing this object:

@Camcan
Camcan / DishwasherInstructions.js
Last active March 2, 2016 13:11
Instructions for the Dishwasher at Enspiral Dev Academy
// Dishwasher Instructions.js
import { dishwasher } from '@eda/kitchen'
import { lifeskills } from 'yourself'
function startDishwasher() {
return dishwasher.addWashPowder()
.then(dishwasher.startNormalWash())
.then(dishwasher.setStatus('In Cycle'))
.then(dishwasher.setLabel('CLEAN'))
}
@Camcan
Camcan / gist:2f1605ea448c5f1e418a
Created January 3, 2016 19:19
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after