Skip to content

Instantly share code, notes, and snippets.

View iamnbutler's full-sized avatar

Nate Butler iamnbutler

View GitHub Profile
html {
background: url(images/bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
@iamnbutler
iamnbutler / Kaishi Base HTML
Created December 23, 2013 20:08
Kaishi Base HTML
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Kaishi</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="icon" type="image/png" href=""> -->
<!-- <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> -->
@iamnbutler
iamnbutler / timer.ino
Created October 8, 2015 06:28
Arduino Timer with Time Selector
// include url: http://www.forward.com.au/pfod/ArduinoProgramming/elapsedMillis.zip
#include <elapsedMillis.h>
// Init Hardware
int led[] = {8,9,10,11,12,13}; // Progress LEDs
int startBtn = 7; // Start btn
int resetBtn = 5; // Reset btn
int flip = 6; // Turn system off/on
int dial = 2; // Dial to set time
// Loop variables

Experience Team

Project Lead: Michelle Lee

Project Members: Kevin Ng, Ramis Hassan, Erica Sokol, Taylor Emmerson

Project Description: The experience team works closely with the Frontend Design team to ensure that all the products we build are exciting and delightful to use. Experience team will make the hard decisions about what needs to be cut in terms of features when products feel bloated. They will be focused on design and UX decisions, and work closely with the Frontend Design team to create the forward-facing portion of all products.


Frontend Design / UI Team

const int analogInPin = A0; // Analog input pin that the potentiometer is attached to
const int analogOutPin = 13; // Analog output pin that the LED is attached to
int sensorValue = 0; // value read from the pot
int outputValue = 0; // value output to the PWM (analog out)
void setup() {
// initialize serial communications at 9600 bps:
Serial.begin(9600);
}
@iamnbutler
iamnbutler / tempArduino1
Created November 19, 2015 23:47
tempArduino1
// Vars
// LED Variables
const int rotateLED1 = 13,
rotateLED2 = 12,
rotateLED3 = 11,
rotateLED4 = 10,
startLED = 9;
// Button Variables
@iamnbutler
iamnbutler / parallax.js
Created January 26, 2016 04:13
parallax.js
// Uncomment if using jQuery
// $(document).ready(function(){ });
// $.scrollTo(...) ScrollTo example
// ==
// Parallax Code
// ==
var lastPosition = -1,
@iamnbutler
iamnbutler / controller.ino
Created February 20, 2016 19:39
Old Explorer Code
/* Cranebot Controller */
#include <Servo.h>
Servo panServo; // create servo object to control a servo
Servo tiltServo; // create servo object to control a servo
int potpin = 0; // analog pin used to connect the potentiometer
int pan; // variable to read the value from the analog pin
int tilt; // variable to read the value from the analog pin
@iamnbutler
iamnbutler / sublime.txt
Created May 19, 2016 17:12
sublime_prefs_05_19_16
{
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"font_size": 18,
"highlight_modified_tabs": true,
"ignored_packages":
[
"CodeKit",
"CodeKit Commands",
"Vintage"
],
// I spent forever trying to figure this out so I thought
// I'd just post this here in case someone else stumbles across it.
// If 'record' is your record object ("records.forEach(function (record)")
// You can access a field by using record.fields.YOUR_FIELD_NAME
// This example is me creating YAML frontmatter using fields from my Base.
const p = record.fields;
let frontMatter = {