Skip to content

Instantly share code, notes, and snippets.

View mshuster's full-sized avatar

Mark Shuster mshuster

View GitHub Profile
@mshuster
mshuster / SassMeister-input.scss
Created March 5, 2015 19:24
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
@function bf-color($name, $palette: $colors-primary) {
@return map-get($palette, $name);
}
@mshuster
mshuster / pagelist.txt
Last active August 29, 2015 14:01
List of pages to test site speed.
http://www.buzzfeed.com
http://www.buzzfeed.com/mjs538/a-rihanna-meet-greet-vs-an-avril-lavigne-meet-greet
http://www.buzzfeed.com/rachelzarrell/young-tornado-victim-sends-heartbreaking-final-text-to-mom
http://www.buzzfeed.com/juliegerstein/shape-magazine-refused-to-let-this-woman-wear-a-bikini-on-it
http://www.buzzfeed.com/melissaharrison/creative-newborn-photo-ideas
http://www.buzzfeed.com/rachelzarrell/worlds-best-father-uses-his-3-year-old-to-create-hilarious-s
http://www.buzzfeed.com/peggy/fun-best-friend-photography-ideas
http://www.buzzfeed.com/ryanhatesthis/confusing-fridge-chips-mystery
http://www.buzzfeed.com/regajha/the-26-greatest-joys-and-struggles-of-being-a-late-night-per
http://www.buzzfeed.com/adamellis/charts-that-perfectly-illustrate-how-to-properly-pet-anim
#include <Wire.h>
#define PI 3.14159265358979323846
#define ACCEL (0x53) //ADXL345 device address
#define TO_READ (6) //num of bytes we are going to read each time (two bytes for each axis)
#define g0 9.812865328
#define ACCELEROMETER_GAIN (0.004 * g0)
//MIDI Presets
#define CC = 176
#define DEFAULT_CHANNEL = 12