Kyle Cronin kylecronin

View keybase.md

Keybase proof

I hereby claim:

  • I am kylecronin on github.
  • I am kylecronin (https://keybase.io/kylecronin) on keybase.
  • I have a public key whose fingerprint is CC2A 6866 8FBC 0A36 3AF7 0C9B D7CC BEBF 44CE 53CE

To claim this, I am signing this object:

View gist:2299374
1 2 3 4 5 6 7 8 9 10
#!/usr/local/bin/python
 
import json
import subprocess
from pprint import pprint
import time
import sys
import operator
 
# The Level 3 Crowd
View loader.rb
1 2 3 4 5 6 7 8 9
require 'open-uri'
require 'net/http'
require 'zlib'
 
 
users = [13, 58, 116, 181, 218, 219, 292, 638, 796, 1916, 1922, 2220, 2269, 3117,
3791, 3936, 4160, 4408, 4977, 5472, 6730, 7001, 7833, 8318, 9058, 9388, 9495,
10355, 10639, 11118, 11610, 11791, 12285, 13247, 13414, 14447, 14692, 15589,
16529, 17580, 17666, 18202, 18387, 20234, 20448, 20459, 20519, 20749]
View itunes-xml-csv.rb
1 2 3 4 5 6 7 8 9 10
require 'csv'
 
track = /<key>Name<\/key><string>(.*)<\/string>[.\s]*<key>Artist<\/key><string>(.*)<\/string>[.\s]*<key>Album<\/key><string>(.*)<\/string>/
 
file = File.open("Library.xml", "r")
contents = file.read
 
out = CSV.open("Library.csv", "w")
 
contents.scan(track) do |match|
View critiqueme.md

There is a blog post from Joel on the Stack Exchange blog around the time of WebApps' Area 51 Graduation:

A while ago, I wrote:

“Individually-branded sites felt more authentic and trustworthy. We thought that letting every Stack Exchange site have its own domain name, visual identity, logo, and brand would help the community feel more coherent. After all, nobody wants to say that they live in Housing Block 2938TC.”

Well, funny thing… that didn’t quite work out the way I expected... mostly because nobody could think of any good domain names. Believe it or not, “NothingToInstall” was one of the better suggestions. Ack.

This reasoning was used as justification for reverting "Nothing to Install" to "Web Applications", and maintaining graduating sites as "topic.stackexchange.com".

View dedupe.py
1 2 3 4 5 6 7 8 9 10
import os
import hashlib
import re
 
files = {}
desiredname = re.compile("\d{8} \d{6}")
 
for filename in os.listdir("."):
h = hashlib.md5()
h.update(open(filename, 'r').read())
Something went wrong with that request. Please try again.