This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from pymarkov import markov | |
from random import choice | |
import doctest | |
import argparse | |
class Generate: | |
""" A song generator. Generate takes input (musician, album) and returns | |
a version of that musician's songs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Year | Registered Attendance | Percent Change | |
---|---|---|---|
http://blogs.denverpost.com/techknowbytes/2013/03/07/sxswi-attendance-over-the-years-1995-2012/8776/ | http://blogs.denverpost.com/techknowbytes/2013/03/07/sxswi-attendance-over-the-years-1995-2012/8776/ | http://blogs.denverpost.com/techknowbytes/2013/03/07/sxswi-attendance-over-the-years-1995-2012/8776 | |
1995 | 1010 | ||
1996 | 1356 | 34 | |
1997 | 1401 | 3 | |
1998 | 1252 | -10 | |
1999 | 2233 | 78 | |
2000 | 3755 | 68 | |
2001 | 3155 | -15 | |
2002 | 3015 | -4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New York Times top minimum in all years | |
Re: https://twitter.com/joemurph/status/299566562468315136 | |
$ wget -Osalaries.html --post-data="NewsID=032+New+York+Times&JobsID=000+All+Job+Titles&YearID=0&submit=Submit" http://www.newsguild.org/scales/view4.inc.php | |
Note: POST strings generated via http://www.newsguild.org/scales/index.php?ID=query4 | |
Date: Scale: Exp: Notes: | |
Editors 2010-03-31 $1955.54 0.5 | |
Editors 2009-03-31 $1917.2 0.5 | |
Editors 2008-03-31 $1879.61 0.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Web Developer/Webmaster top minimum in all years. | |
The Following weekly scales are based on a 37.5 hour work week except where noted. | |
News Organization: Eff. Date: Scale: Exp: Notes: | |
Consumers Union 2010-01-01 $1352.03 4 | |
Consumers Union 2009-01-01 $1312.65 4 | |
Denver Rocky Mountain News 2007-09-30 $1288 5 | |
Consumers Union 2008-01-01 $1271.33 4 | |
San Francisco Chronicle 2010-01-01 $1263.47 6 | |
Denver Rocky Mountain News 2006-10-01 $1247 5 | |
San Francisco Chronicle 2009-01-01 $1237.23 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# For the times when grep -r just doesn't cut it: Search all files matching a pattern for a particular string | |
# Example command (best when put in a folder that's on your path somewhere): | |
# searchall.bash -f *.php -s 'hoops' | |
# What arguments do we pass? | |
while [ "$1" != "" ]; do | |
case $1 in | |
-f | --file ) shift | |
file=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class day | |
{ | |
public $day, $days, $year, $verbose; | |
function mothers($limit = 101) | |
{ | |
// Return an array of the future mothers days | |
// for the next hundred years. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inspired by the release notes for Django 1.4, https://docs.djangoproject.com/en/dev/releases/1.4/ | |
# | |
# Note: None of these tracks are actually backwards-incompatible with anything. | |
# They're song names not software, duh. | |
BACKWARDS-INCOMPATIBLE CHANGES | |
1. WSGI WSGI WSKE | |
2. Difficult-to-debug path issues | |
3. Double imports | |
4. Same code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# NOTE: Twitter updated their m.twitter site January 2013, and this script doesn't work anymore. | |
# | |
# This script is useful for alerting a team of people when a twitter account | |
# hasn't been updated in the past hour. There may be other uses as well. | |
# | |
# $1 = what account to check | |
# $2 = what string to look for. To test the script, use 'test' | |
# |
NewerOlder