Skip to content

Instantly share code, notes, and snippets.

View lukeman's full-sized avatar

Luke Hatcher lukeman

View GitHub Profile
@merlinmann
merlinmann / sous-vide-tests.md
Last active March 17, 2023 06:16
sous vide cooking times

Sous Vide Cooking Times

Good? FOOD TIME TEMP COMMENT
CANON! pork chops, MED 1:30 143°
CANON! prime rib roast, MR 6:00 129.5 Works every time!
CANON! pork chops SUPER thick 1:45 142° solid MR+
YES ribeye, frozen, R 1:30 126° Awesome at low temp
YES thick pork chops, MR 1:30 142° SO good
XXX filet mignon, MR 1:30 130° XX
@segdeha
segdeha / ajax120.js
Last active June 23, 2020 04:21
Smallest possible Ajax implementation (120 characters)
function a(u,c){var x=new XMLHttpRequest;x.open('GET',u);x.onreadystatechange=function(){3<x.readyState&&c(x)};x.send()}
"""
I've been thinking lately about how perfect Redis would be for storing a
simple social graph. I posited that it would be relatively few lines of code,
and that it'd be clean code too. So here it is: a basic social graph built on Redis.
"""
class FriendGraph(object):
def __init__(self, ring):
self.ring = ring