Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View astericky's full-sized avatar

Chris Sanders astericky

View GitHub Profile
@astericky
astericky / webpack.config.js
Last active March 3, 2017 15:49
Webpack 2 Work Config Example
module.exports = {
entry: {
testname: './index.jsx',
},
output: {
path: 'path goes here',
filename: '[name].js',
},
module: {
@astericky
astericky / webpack.config.js
Created March 3, 2017 12:26
Webpack 2 Config Example
const path = require('path')
const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const VENDOR_LIBS = [
'react', 'react-dom', 'react-router', 'react-redux', 'redux', 'redux-thunk', 'lodash'
]
module.exports = {
@astericky
astericky / animation-grid-auto-rotation
Created October 13, 2013 16:51
Animation Grid Auto Rotate
$grid: (
"x ",
" x ",
" x ",
" x ",
" x ",
" x ",
" x ",
" x ",
@astericky
astericky / gist:5775128
Created June 13, 2013 16:25
I am trying to turn the commented out line into the whole body of the function. It seems a lot easier than what is here. I tried though and failed to get it to work properly. also note ---> http://www.docjar.com/html/api/java/util/HashMap.java.html#631
public class ResumeRepository
{
private final Map<Integer, List<Resume>> resumes;
public ResumeRepository()
{
this.resumes = new HashMap<>();
}
public Resume saveResume(int jobseekerId, Resume resume)