Skip to content

Instantly share code, notes, and snippets.

@jholman
jholman / holidayobfuscation.js
Created December 22, 2017 19:58 — forked from krsnachandra/holidayobfuscation.js
Submission for LHL holiday obfuscation contest
function g() {
let a='Noel';
let b='Yuletide';
let c='Santa Claus';
let d='Rudolph';
let e='Snowflake';
let f='Occasion';
let g='North Pole';
let h='Christmas Tree';
let i='Joy';
@jholman
jholman / w3d1_breakout.sql
Created August 2, 2016 00:02
July18 cohort, W3D1 Breakout
-- Let's briefly talk about Postgres's facilities for looking at schemas, and getting help
help
\?
\l
\d
-- Now let's talk about transactions. Not relevant to your life right now, but super relevant
-- if you graduate and your first boss gives you access to the production database. Forget
-- for now, but later if you find yourself in that situation, google!
begin;
@jholman
jholman / symm.py
Created June 17, 2010 01:27
a reply to gist 438980
Inspired by
http://gist.github.com/438980
and, in turn
http://www.reddit.com/r/programming/comments/cehbe/awesome_lego_robot_monster_chessand_shit_gets/c0s0afu
jholman $ python symm.py 3 | wc -l
18
jholman $ python symm.py 4 | wc -l
60