Skip to content

Instantly share code, notes, and snippets.

View p1nox's full-sized avatar

Raul Pino p1nox

View GitHub Profile
@p1nox
p1nox / company-ownership.md
Created July 8, 2016 15:37 — forked from jdmaturen/company-ownership.md
Who pays when startup employees keep their equity?

Who pays when startup employees keep their equity?

JD Maturen, 2016/07/05, San Francisco, CA

As has been much discussed, stock options as used today are not a practical or reliable way of compensating employees of fast growing startups. With an often high strike price, a large tax burden on execution due to AMT, and a 90 day execution window after leaving the company many share options are left unexecuted.

There have been a variety of proposed modifications to how equity is distributed to address these issues for individual employees. However, there hasn't been much discussion of how these modifications will change overall ownership dynamics of startups. In this post we'll dive into the situation as it stands today where there is very near 100% equity loss when employees leave companies pre-exit and then we'll look at what would happen if there were instead a 0% loss rate.

What we'll see is that employees gain nearly 3-fold, while both founders and investors – particularly early investors – get dilute

@p1nox
p1nox / conda.md
Last active August 19, 2021 22:00
conda cmmd

env basics http://conda.pydata.org/docs/using/envs.html

conda create --name snowflakes biopython # --name [env_name] [package_to_install] ... [package_to_install]
conda create -n deep python=3.6.5

conda activate deep
conda deactivate
conda create --help
@p1nox
p1nox / osx.md
Last active October 10, 2024 12:41
Mac OSX stuff

osx and mac stuff

Install

xcode-select --install
brew install java
brew install maven
brew install ant
mvn clean install
[core]
# The home folder for airflow, default is ~/airflow
airflow_home = /Users/p1nox/airflow
# The folder where your airflow pipelines live, most likely a
# subfolder in a code repository
dags_folder = /Users/p1nox/airflow/dags
# The folder where airflow should store its log files. This location
base_log_folder = /Users/p1nox/airflow/logs
@p1nox
p1nox / git.md
Last active October 10, 2024 15:51
git notes
# uncommit
git reset HEAD~

# remove submodules https://stackoverflow.com/questions/29850029/what-is-the-current-way-to-remove-a-git-submodule
git submodule deinit <asubmodule>    
git rm <asubmodule>
rm -rf .git/modules/<asubmodule>

# cherry-pick
@p1nox
p1nox / install_bcl2fastq.md
Last active September 27, 2018 17:06
Install bcl2fastq 2.15.0.4
sudo apt-get update
sudo apt-get install zlibc
sudo apt-get install libc6
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install libboost1.55-all-dev
sudo apt-get install cmake

Keybase proof

I hereby claim:

  • I am p1nox on github.
  • I am p1nox (https://keybase.io/p1nox) on keybase.
  • I have a public key whose fingerprint is 414C 8DA5 F3A5 A08C 52E1 9E53 5381 7806 AE0E 7B90

To claim this, I am signing this object:

@p1nox
p1nox / spark_notebook.md
Last active January 12, 2018 20:45
Spark Notes

Using docker:

docker run -it --rm -p 8888:8888 jupyter/all-spark-notebook

From standalone installation:

PYSPARK_DRIVER_PYTHON_OPTS="notebook" bin/pyspark

@p1nox
p1nox / stampede_torodb_with_docker.md
Created February 14, 2017 13:45
ToroDB Stampede in local using docker

create postgres container

docker run --name postgres-replica -e POSTGRES_PASSWORD=000000 -p 5432:5432 -d postgres:9.5

create network between mongo replica sets

docker network create my-mongo-cluster