Skip to content

Instantly share code, notes, and snippets.

View strack's full-sized avatar

Isaac Strack strack

  • Pluralsight
  • Layton, UT
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<base target="_top">
</head>
<body>
Hello, World!
</body>
</html>
function getTeamList() {
"use strict";
var year = document.getElementById('yearPicker');
var eventPicker = document.getElementById('eventSelector');
var req2 = new XMLHttpRequest();
req2.open('GET', '/api/' + year.options[year.selectedIndex].value + '/teams/' + JSON.parse(eventPicker.options[eventPicker.selectedIndex].value).code);
req2.addEventListener('load', function () {
var data = JSON.parse(req2.responseText);
if (data.teams.length === 0) {
document.getElementById('teamsContainer').innerHTML = '<b>No teams have registered for this event.</b>';
var code= "go here";
@strack
strack / questions.html
Last active August 29, 2015 14:06
how to add css classes appropriately - questions example
<head>
<title>questions</title>
</head>
<body>
<h1>Welcome to Meteor!</h1>
{{> hello}}
</body>
@strack
strack / A-Pen-by-Isaac-Strack.markdown
Last active December 21, 2015 14:58
A Pen by Isaac Strack.
@strack
strack / dabblet.css
Created November 7, 2012 19:28
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.test{
background-color: white;
@strack
strack / dabblet.css
Created May 18, 2012 15:20
Reporting Prototype
/**
* Reporting Prototype
*/
.rptsidebar{
position:relative;
width:65px;
height:200px;
margin-bottom:-3px;
border: #565656 solid 3px;
@strack
strack / dabblet.css
Created April 28, 2012 21:50
Untitled
body{
color: #221111;
background-color:#EEE;
fonEEEEEEt-size: 16pt;
min-height: 100%;
font-family: Monaco, Consolas,
Inconsolata,
'Deja Vu Sans Mono',
'Droid Sans Mono',
@strack
strack / dabblet.css
Created April 12, 2012 00:08
Untitled
body{
color: #221111;
background-color:#EEE;
fonEEEEEEt-size: 16pt;
min-height: 100%;
font-family: Monaco, Consolas,
Inconsolata,
'Deja Vu Sans Mono',
'Droid Sans Mono',
@strack
strack / dabblet.css
Created April 11, 2012 19:28
Untitled
body{
color: #221111;
background-color:#EFEAE7;
font-size: 26pt;
min-height: 100%;
font-family: Monaco, Consolas,
Inconsolata,
'Deja Vu Sans Mono',