Skip to content

Instantly share code, notes, and snippets.

View shduff's full-sized avatar

shaunalynn shduff

View GitHub Profile
@shduff
shduff / pair-programming.md
Created April 5, 2016 17:32
What is pair programming? Why do people do it? What is it good for?
<html>
<head>
<script type="text/javascript">
// Use the Client ID listed in your Google Developer Console at https://console.developers.google.com
var CLIENT_ID = '454902952557-abre33ugffprg6bhmd6ln4g4fkeuhpic.apps.googleusercontent.com';
var SCOPES = ['https://www.googleapis.com/auth/drive.metadata.readonly'];
@shduff
shduff / index.html
Last active March 18, 2016 19:31
grabbing apple info from tradeking and looking at it!
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<button id='aapl'>AAPL</button>
<script>
@shduff
shduff / stickynav.html
Created March 15, 2016 19:17
a simple, commented implementation of a sticky navbar
<!DOCTYPE html>
<html>
<head>
<style>
body {
/* set a background color so it's easier to see the nav element */
background-color:gray;
}
nav {
/* set the size and color of the nav element so it's visible */
@shduff
shduff / displayOnClick.html
Created July 24, 2015 19:17
make a div appear when you click!
<html>
<head>
<style>
#clickme {
height:600px;
width:600px;
background-color:blue;
float:left;
}
#invisible {
@shduff
shduff / button.html
Created July 21, 2015 21:23
a simple button alert!
<html>
<head>
<style>
button {
background-color:#ccc;
}
</style>
</head>
<body>
@shduff
shduff / ideaBalls.html
Last active August 29, 2015 14:25
ways to use ball objects
<html>
<head>
<style>
#container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
@shduff
shduff / straighteningDivs.html
Created July 20, 2015 02:40
an html snippet to "straighten" up slanted divs on hover
<html>
<head>
<style>
#one,#two,#three {
position: absolute;
height: 400px;
width: 300px;
transition: .6s;
}
@shduff
shduff / dgmde15-setup.sh
Last active January 30, 2016 16:55
a few final computer set-up steps for participants in DGMD E-15 at the Harvard Extension School Program
#################################################################
# Steps to install the basic tools needed for working
# with Git and Github for the DGMD Summer 2015 Program
# Run each of these lines separately in your terminal
# Check that your system is set up appropriately for Homebrew, you'll see a bunch of output, but you'll want to skim to see if you see any "Warning"s—if you do, Homebrew will have a "You should probably" line suggesting how to remedy it.
brew doctor
# Update homebrew's package listing
brew update