Skip to content

Instantly share code, notes, and snippets.

// JS Code Goes here
{
"vars": {
"@gray-base": "#1D1D1D",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "#2769b0",
"@brand-success": "#3bc651",
@adam-garcia
adam-garcia / .block
Last active February 17, 2016 00:59 — forked from mbostock/.block
Bar Chart I
license: gpl-3.0
@adam-garcia
adam-garcia / index.html
Last active February 17, 2016 22:33
BMR referral button
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>Referral Button</title>
<meta name="description" content="">
<meta name="author" content="">
@adam-garcia
adam-garcia / defaultmsg.txt
Last active March 1, 2016 19:56
Quick Demo of BMR Referral Form
My school is participating in the New Balance Foundation Billion Mile Race, which is challenging America’s schools to collectively walk, jog, and run one billion miles! Will your school join, too?
It’s free and easy to participate. Plus, schools that contribute miles to the national goal are eligible for cool grants and prizes!
Watch this video (https://www.youtube.com/watch?v=PZq_FPqllNs) to learn more and enroll at http://BillionMileRace.org. If you have questions, you can email the Billion Mile Race team at billionmilerace@tufts.edu. I hope you’ll join today!
@adam-garcia
adam-garcia / dashboard_analysis.R
Last active March 15, 2016 18:20
R+HighCharts Powered Dashboard
library(knitr)
# Load Data
dates <- c('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec')
Tokyo <- c(7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6)
London <- c(3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8)
# Calculate an average
mean_of_Tokyo <- mean(Tokyo)
@adam-garcia
adam-garcia / index.html
Last active June 1, 2016 17:44
Community Commons Examples
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>6/1 CommunityCommons</title>
<meta name="description" content="">
<meta name="author" content="Adam Garcia">
<!-- Mobile Specific Metas
@adam-garcia
adam-garcia / README.md
Last active July 26, 2016 19:33
Web Boilerplate

Project Information

@adam-garcia
adam-garcia / hill
Last active November 9, 2016 18:26
HHHHHH >>HHHH
HHHHHH >>>>HH
HHHHHH
@adam-garcia
adam-garcia / extract_numeric.sas
Last active March 29, 2017 18:19
Helpful SAS Snippets
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
** *
** extract_numeric.sas *
** purpose: extract numeric component from string *
** todo: leading strings break pattern *
** *
`* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
data strings;