Skip to content

Instantly share code, notes, and snippets.

View AdventureBear's full-sized avatar

Suzanne Atkinson AdventureBear

View GitHub Profile
@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
[
{
"name": "App Academy",
'garnish': '18',
'weeks':'12',
'location': ['New York', 'San Fransisco']
},
{
'name': 'Viking Code School',
'garnish': '18',
@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",
@AdventureBear
AdventureBear / repIt.js
Created May 25, 2015 16:31
Pivot Object into new Arrays Dynamically via @ekojsalim @free Code Camp
var obj = [
{
"name": "Free Code Camp",
"cost": 0,
"weeks": 18,
"location": "online"
},
{
"name": "Costly Code Camp",
[
{
"Time":"36:50",
"Place":1,
"Seconds":2210,
"Name":"Marco Pantani",
"Year":1995,
"Nationality":"ITA",
"Doping":"Alleged drug use during 1995 due to high hematocrit levels",
"URL":"https://en.wikipedia.org/wiki/Marco_Pantani#Alleged_drug_use",
@AdventureBear
AdventureBear / kona2012results.json
Created January 19, 2016 03:42
Kona 2012 Results JSON file
This file has been truncated, but you can view the full file.
[
{
"Last Name":"Jacobs",
"First Name":"Pete",
"Country":"AUS",
"Gender":"M",
"Category":"Pro",
"Category Place":"1",
"Gender Place":"1",
"Overall Place":"1",
@AdventureBear
AdventureBear / index.html
Created November 2, 2016 14:30
Rhino Crunch - with bind.js
<img class="logo" src="http://www.teamrhinotraining.com/wp-content/uploads/2013/05/icon1.png" width="200px">
<h1><a href="http://www.teamrhinotraining.com/app/">Rhino Crunch</a></h1></div>
<div class="grid-25">
Some Options here if needed
<div class="config-options">
<label><input type="checkbox" id="download"> Download</label>
@AdventureBear
AdventureBear / gist:80ead0d2fe57e9e3e8f860b6ab011f78
Created November 5, 2016 14:11
string returned from flickr api call via node.
jsonFlickrApi({"photos":{"page":1,"pages":27370,"perpage":100,"total":"2736997","photo":[{"id":"30460163700","owner":"134233271@N06","secret":"6e69ff379b","server":"5627","farm":6,"title":"Count on me","ispublic":1,"isfriend":0,"isfamily":0,"url_l":"https:\/\/farm6.staticflickr.com\/5627\/30460163700_6e69ff379b_b.jpg","height_l":"542","width_l":"1024"},{"id":"30715813446","owner":"88468856@N00","secret":"ca306bb23c","server":"5581","farm":6,"title":"DOGS","ispublic":1,"isfriend":0,"isfamily":0,"url_l":"https:\/\/farm6.staticflickr.com\/5581\/30715813446_ca306bb23c_b.jpg","height_l":"684","width_l":"1024"},{"id":"30625072262","owner":"59863270@N07","secret":"48108b7217","server":"5651","farm":6,"title":"Tasty Homegrown Cannabis - 2016","ispublic":1,"isfriend":0,"isfamily":0,"url_l":"https:\/\/farm6.staticflickr.com\/5651\/30625072262_48108b7217_b.jpg","height_l":"744","width_l":"1024"},{"id":"30101515203","owner":"131012412@N07","secret":"1ea8c9042d","server":"5608","farm":6,"title":"A day at the beach","ispub
[
"aardvark",
"albatross",
"alligator",
"alpaca",
"ant",
"anteater",
"antelope",
"ape",
"armadillo",
@AdventureBear
AdventureBear / david-index.html
Created May 4, 2017 03:26
index page for david's portfolio
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>A Pen by David Amanze</title>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>
<link rel="stylesheet" href="css/style.css">