Skip to content

Instantly share code, notes, and snippets.

View lorn's full-sized avatar
🏠
Working from home

Lindolfo Rodrigues lorn

🏠
Working from home
View GitHub Profile
; CIDER 0.10.0snapshot (package: 20150824.244) (Java 1.8.0_60, Clojure 1.7.0, nREPL 0.2.10)
user> (StringBuilder "Sam")
RuntimeException Expecting var, but StringBuilder is mapped to class java.lang.StringBuilder clojure.lang.Util.runtimeException (Util.java:221)
user> (StringBuilder. "Sam")
#object[java.lang.StringBuilder 0x3711d177 "Sam"]
user> ["mixed" 4 "content"]
[""]
user> ["mixed" 4]
["mixed" 4]
user>

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

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

#!/bin/sh
#
# Use ipfw to throttle bandwidth.
# usage:
# ./throttle.sh # Throttle at default (60KB/s)
# ./throttle.sh 5 # Throttle at custom speed (5KB/s)
# ./throttle.sh off # Turn throttling off
# flush rules
ipfw del pipe 1
@lorn
lorn / 0_reuse_code.js
Created October 9, 2013 21:37
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@lorn
lorn / transcript.txt
Created March 13, 2013 22:39 — forked from defunkt/gist:6443
Chris Wanstrath keynote transcript
# Video: http://rubyhoedown2008.confreaks.com/08-chris-wanstrath-keynote.html
Hi everyone, I'm Chris Wanstrath.
When Jeremy asked me to come talk, I said yes. Hell yes. Immediately. But
then I took a few moments and thought, Wait, why? Why me? What am I supposed
to say that's interesting? Something about Ruby, perhaps. Maybe the
future of it. The future of something, at least. That sounds
keynote-y.
@lorn
lorn / gist:976873
Created May 17, 2011 17:12 — forked from medecau/opcp.md
Online Programming Contests and Puzzles
Jeremy
Absolutely brilliant
both technically
and oratorically
He wrote CoffeeScript
1st place 5k
21 min, 3 seconds
<7min mile
Big picture
Building & engineering around startup uncertainty - Mike Krieger
[Slides]
Confusion sinks startups, so we need to fight it. First thing that needs to be handled is the product itself, and what needs to be built. The second part is the technical challenges that happen with building said product.
Instagram came out of a project called burbn. It was an HTML5 app that did social/mobile/location stuff. The most asked question was “what are you guys?” You have to actually focus on something. And it took them three months to get less confused.
They did this by doing four things:
ideate
upstream manager {
# fail_timeout=0 means we always retry an upstream even if it failed
# to return a good HTTP response (in case the Unicorn master nukes a
# single worker for timing out).
server unix:/opt/x.com/manager/current/tmp/sockets/unicorn.sock fail_timeout=0;
}
server {
listen 80;