Skip to content

Instantly share code, notes, and snippets.

View jermspeaks's full-sized avatar
🐧

Jeremy Wong jermspeaks

🐧
View GitHub Profile
@jermspeaks
jermspeaks / reducer_todo.js
Created November 2, 2015 23:29
Todo reducer
import * as types from '../constants/ActionTypes'
const initialState = [
{
text: 'Use Redux',
completed: false,
id: 0
}
]
let bike = {
tires: 2,
pedals: 2,
frame: 52
};
// Change state of tires
bike.tires = 3;
var myObject = {
stuff: ['toys', 'animals']
};
console.log(myObject.stuff) // ['toys', 'animals']
myObject.stuff = ['other toys', 'other animals'];
console.log(myObject.stuff) // ['other toys', 'other animals'];
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jermspeaks
jermspeaks / README.md
Created February 26, 2016 02:54
fresh block

Learning about Histograms

Playing around with d3 v4 Histograms

Concepts

Histograms

TBA

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@jermspeaks
jermspeaks / .block
Last active October 1, 2016 16:54
Random Bouncy Circles
license: mit
@jermspeaks
jermspeaks / .block
Created October 1, 2016 16:51
Voronoi binning
license: gpl-3.0