Skip to content

Instantly share code, notes, and snippets.

View AdventureBear's full-sized avatar

Suzanne Atkinson AdventureBear

View GitHub Profile
@AdventureBear
AdventureBear / pivotArr.js
Last active August 29, 2015 14:21
Pivot Object into new Arrays - hardcoded via @oab
var obj = [
{
"name": "Free Code Camp",
"cost": 0,
"weeks": 18,
"location": "online"
},
{
"name": "Costly Code Camp",
[
{
"name": "App Academy",
'garnish': '18',
'weeks':'12',
'location': ['New York', 'San Fransisco']
},
{
'name': 'Viking Code School',
'garnish': '18',
@AdventureBear
AdventureBear / 0_reuse_code.js
Last active August 29, 2015 14:12
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