Skip to content

Instantly share code, notes, and snippets.

View learykara's full-sized avatar

Kara Leary learykara

View GitHub Profile
@learykara
learykara / index.html
Created June 23, 2014 03:08
Sweatshirt
<!DOCTYPE html>
<html>
<head>
<script type = "text/javascript" src = "sweatshirt.js"></script>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Sweatshirt Suggestions</title>
</head>
<body>
<br><br>
<div id="header">Should I wear a sweatshirt today?</div>
@learykara
learykara / Erdos Numbers
Created June 12, 2014 20:04
Hacker School Application
# I wrote this script as part of an assignment for a course in Urban Informatics.
# The script computes the Erdos number for an author based on an input of a paper
# database and list of names. An Erdos number is a measure of degrees of separation
# between the author(s) of a paper and mathematician Paul Erdos. The problem
# description can be found here:
# http://www.programming-challenges.com/pg.php?page=downloadproblem&format=html&probid=110206
import sys
myFile = open("input3.txt", "r")