Skip to content

Instantly share code, notes, and snippets.

@JDeuce
JDeuce / index.js
Last active November 1, 2016 17:54 — forked from anonymous/index.js
const segments = (state = {}, action) => {
switch (action.type) {
case actions.LOAD_SEGMENTS:
return {
...state,
segments: action.segments
.map(segments => segments.values_)
.reduce((result, item) => {
result[item.highway] = result[item.highway] || {};
result[item.highway][item.district] = result[item.highway][item.district] || {};
@JDeuce
JDeuce / .pocketrc
Created October 19, 2016 19:30 — forked from fchorney/.pocketrc
set frontLeft='keys'
set frontRight='phone'
set backLeft=''
set backRight='wallet'
@JDeuce
JDeuce / Inconsolata-dz-Powerline.otf
Created February 28, 2012 15:08 — forked from qrush/Inconsolata-dz-Powerline.otf
vim-powerline patched fonts