Skip to content

Instantly share code, notes, and snippets.

View adamhaney's full-sized avatar
🎯
Focusing

Adam Haney adamhaney

🎯
Focusing
View GitHub Profile
@adamwiggins
adamwiggins / adams-heroku-values.md
Last active November 5, 2024 21:40
My Heroku values

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@adamhaney
adamhaney / pushups.sh
Created January 16, 2013 16:29
A bash script to remind you to do pushups during work hours on OS X and Linux
#!/bin/bash
# pushup.sh
#
# Cron entry, weekdays on the hour from 8am-7pm
# m h dom mon dow command
# 0 8-19 * * 1-5 bash pushup.sh
# Minimum number of pushups you want to do
MINUPS=10
@hrldcpr
hrldcpr / tree.md
Last active September 1, 2024 07:04
one-line tree in python

One-line Tree in Python

Using Python's built-in defaultdict we can easily define a tree data structure:

def tree(): return defaultdict(tree)

That's it!