Skip to content

Instantly share code, notes, and snippets.

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

@yogin
yogin / gist:9985254
Created April 4, 2014 23:44
get a single file from a git repo (except github)
git archive --remote=ssh://host/pathto/repo.git HEAD README.md
@yogin
yogin / Environment Setup
Last active December 14, 2015 23:39
Environment setup
# installing Homebrew, and some common packages
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
$ brew update
$ brew tap homebrew/dupes
$ brew install apple-gcc42 wget curl git ack ctags-exuberant
# installing rvm and ruby
$ curl -L get.rvm.io | bash -s stable
@yogin
yogin / gist:4120029
Created November 20, 2012 18:41
Generate SQL to DROP all databases
pager sed 's/,/ /g'
SELECT GROUP_CONCAT(CONCAT('DROP DATABASE ',SCHEMA_NAME,';')) FROM information_schema.schemata WHERE schema_name NOT IN ('mysql', 'information_schema');
nopager