Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

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

@spott
spott / kicad_fp-lib-table
Created September 9, 2016 04:39 — forked from xesscorp/kicad_fp-lib-table
Place this text into your fp-lib-table file to add these Github-hosted PCB footprint libraries to KiCad.
#
# LIST OF KICAD GITHUB-HOSTED PCB FOOTPRINT LIBRARIES
#
# Place this text into your fp-lib-table file to add these Github-hosted PCB footprint libraries to KiCad.
#
# You can omit a library by placing a '#' at the start of that particular line.
#
# Each library is listed twice. The first line is for when you want read-only access to the library.
# If you also want to modify the footprints in the library, then comment the first line and
# uncomment the second line. You must also create a local directory for storing your modified
@spott
spott / Makefile
Last active August 29, 2015 14:26 — forked from edwardhotchkiss/Makefile
ATtiny85 avr-gcc / avrdude Makefile
DEVICE = attiny85
CLOCK = 8000000
PROGRAMMER = stk500v1
PORT = /dev/tty.usbmodem1421
BAUD = 19200
FILENAME = main
COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE)
all: usb clean build upload
module pc.parser;
import std.stdio;
import std.array;
import std.ctype;
import std.string;
import std.conv;
import std.regex;
import std.variant;
import std.functional;
@spott
spott / ParkingLot.cpp
Last active January 3, 2016 07:29 — forked from lshort/Parking Lot
using namespace std;
using boost::optional;
// Implements a parking lot utility: you can ask it for an available space for
// a car of a certain size, ask it to find a car's parking spot given its license
// plate, ask what car is parked in a specific spot, etc.
// This code is organized top down: first the parking_lot class, then
// the distance class ('dist') and some functions to compare IEEE doubles, then
// the structs 'car' and 'parking_space'. I made some assumptions, like that each
#####
#
# Dynamic Makefile for C++11 Projects.
# Recursively builds all files in a project and its test suite.
#
# Standard build targets are:
# - (none): all
# - all: testing
# - primary: build primary targets
# - testing: build testing targets
@spott
spott / gist:2976226
Created June 23, 2012 02:00 — forked from albeva/gist:2975962
C++11 variadic template based tuple sort
#include <iostream>
#include <utility>
#include <tuple>
using namespace std;
//
// forward declare
//
template<int N1, int N2, int LAST, typename T>
@spott
spott / infix_operator.cpp
Created June 7, 2012 17:24 — forked from dscharrer/infix_operator.cpp
The proper way to call std::swap
#include <type_traits>
namespace detail {
// No need to give up constexpr for std::forward
template <class T>
constexpr T && forward(typename std::remove_reference<T>::type & t) noexcept {
return static_cast<T &&>(t);
}