Skip to content

Instantly share code, notes, and snippets.

@s2t2
s2t2 / Gemfile
Created January 10, 2016 19:30
repo converter
source 'https://rubygems.org'
gem 'github_api'
gem 'pry' # insert `binding.pry` for debugging
@s2t2
s2t2 / colorbrewer.v1.min.js
Created December 13, 2015 00:39
production scripts
// source: http://d3js.org/colorbrewer.v1.min.js
var colorbrewer = {
YlGn: {
3: ["#f7fcb9", "#addd8e", "#31a354"],
4: ["#ffffcc", "#c2e699", "#78c679", "#238443"],
5: ["#ffffcc", "#c2e699", "#78c679", "#31a354", "#006837"],
6: ["#ffffcc", "#d9f0a3", "#addd8e", "#78c679", "#31a354", "#006837"],
7: ["#ffffcc", "#d9f0a3", "#addd8e", "#78c679", "#41ab5d", "#238443", "#005a32"],
8: ["#ffffe5", "#f7fcb9", "#d9f0a3", "#addd8e", "#78c679", "#41ab5d", "#238443", "#005a32"],
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Student Site Title</title>
<link rel="stylesheet" src="style.css">
<style>
//h1 {color:red}
</style>
</head>
@s2t2
s2t2 / index.html
Created November 1, 2015 19:33
ms publisher test export to html
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<link rel=File-List href="Publication2_files/filelist.xml">
<!--[if !mso]>
<style>
@s2t2
s2t2 / radio_data_erd_beginnings.svg
Created November 1, 2015 19:12
testing ms visio export to svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@s2t2
s2t2 / cheapest_cost_avoider.md
Last active October 19, 2015 23:50
torts notes

which party has more info?

<h1>Hi world</h1>
@s2t2
s2t2 / README.md
Last active September 26, 2015 22:49
example npm and bower usage from a rails app

Install front-end dependencies specified by bower.json.

bower install

On production, instead of running bower install, run npm install, which should install bower and other dependencies specified in package.json.

AT&T MOBILE APP HACKATHON CONTEST General Terms and Conditions

• The AT&T Mobile App Hackathon Contest (“Hackathon”) is sponsored and administered by AT&T Mobility LLC (“AT&T”), 1025 Lenox Park Blvd. NE, Atlanta, GA 30319.

• Each Hackathon is subject to Official Rules. By participating in a Hackathon contestants agree to be bound by these General Terms and Conditions along with the Official Rules as well as all decisions of the judges and AT&T which are final and binding on all aspects of the Hackathon.

• Unless otherwise specified in the Official Rules, Hackathon contestants must be 18 years of age or older and legal residents of the United States. Employees, officers and directors of AT&T, Administrator, any prize supplier, and their respective parent companies, subsidiaries and affiliates and their advertising, promotion, and fulfillment agencies (the “Contest Parties”) are not eligible to enter or win. Immediate family members and household members of such individuals are also not eligible to enter or

@s2t2
s2t2 / food_inspection_data_standard.md
Last active September 12, 2015 16:01
Local Inspector Value-Entry Specification (LIVES) data standard -- source: http://www.yelp.com/healthscores -- this is soon to be made into an API available at http://www.opendatanetwork.com/

Local Inspector Value-Entry Specification (LIVES)

In 2012, Yelp partnered with the City of San Francisco and City of New York to develop the Local Inspector Value-Entry Specification (LIVES). LIVES is an open data standard which allows municipalities to publish restaurant inspection information to Yelp. Implementation

Any municipality may participate in this program. To begin this process, email us: [email protected]. Onboarding Steps

Follow the LIVES data specification to create a feed for your location.