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 / .babelrc
Created March 3, 2017 15:28
Babel Config
{
"presets": ["latest"],
"plugins": ["transform-object-rest-spread", "babel-plugin-transform-react-jsx"]
}
@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)