Skip to content

Instantly share code, notes, and snippets.

View atticoos's full-sized avatar
🧑‍💻
building Rally

Atticus White atticoos

🧑‍💻
building Rally
View GitHub Profile
@atticoos
atticoos / map-custom-data-type.js
Last active January 7, 2017 01:03 — forked from ericelliott/map-custom-data-type.js
Map with custom data type
const double = n => n * 2;
const doublePoints = obj => double(obj.points);
const doubleMap = numbers => numbers.map(doublePoints);
console.log(doubleMap([
{ name: 'ball', points: 2 },
{ name: 'coin', points: 3 },
{ name: 'candy', points: 4}
@atticoos
atticoos / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@atticoos
atticoos / app.js
Created February 10, 2012 02:54 — forked from alexburner/app.js
Proof of Concept for Titanium implementation of Facebook/Path sidebar
Titanium.UI.setBackgroundColor('red');
// root
var rootWin = Ti.UI.createWindow({
title: 'Root Win',
backgroundColor: 'gray',
tabBarHidden: true,
navBarHidden: true
});