Skip to content

Instantly share code, notes, and snippets.

Thomas Davis thomasdavis

Block or report user

Report or block thomasdavis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2901af577695f131f5b3dea2983e92c3
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUDlIxvCqS/eiZmLBDVIdxkF+Cgj74YnU+Me42FFKt+LeVfDYHcrVpLz/X6xp2/40EDm2hplTERgCjc9ljcrzsX0a6K0OAu5XK3gGqig+kI5g46nEgWxbyAiNo0QcEm9POxUD68d2vI9q1+7sKVdRTnVquVUXrRGr8dgZwZvPs4gCreJc/C0tBE21k4kuiMI0sySGI0OSUHvZs6c44v3rlEoA1zl104gdbWBbseY12EXBf2lmijfKuEbkM+C4eExmQeGS0p2CkmoZfN0ZCG9lGVcW/2KlOYBEpso/lStSUsmMSt9PLQOSJD8ZPF+DbX6iCTuCy9bnEsWKJKg6keSdv ajax@love
View asda
backend:
name: github
repo: rolandnsharp/rolandsharp.com
media_folder: static/assets
public_folder: assets
collections:
- name: blog
label: Blog
View blah.js
onWheel (e) {
e.stopPropagation();
const node = ReactDOM.findDOMNode(this.refs.panes);
if (e.nativeEvent.deltaY + node.scrollTop < 0) {
node.scrollTop = 0;
e.preventDefault();
}
if (e.nativeEvent.deltaY + node.scrollTop > node.scrollHeight - node.clientHeight) {
node.scrollTop = node.scrollHeight - node.clientHeight;
e.preventDefault();
@thomasdavis
thomasdavis / prod_postgres.md
Created Mar 14, 2017 — forked from selenamarie/prod_postgres.md
An Ideal Postgres Environment
View prod_postgres.md

Ideal Postgres environment

Documentation

  • Documented replication topology
  • Documented network topology
  • Documented interface topology - including users, passwords, connection estimates, load balancers, connection proxies
  • Documented procedure, schedule for failover and testing
  • Documented procedure, schedule for disaster recovery and testing
View what-i-wish-id-known-about-equity-before-joining-a-unicorn.md

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

View keybase.md

Keybase proof

I hereby claim:

  • I am thomasdavis on github.
  • I am thomasdavis (https://keybase.io/thomasdavis) on keybase.
  • I have a public key whose fingerprint is 85FF 9DAC 5D77 0454 B574 6F7D 1E8A BFB1 DF7C E9DE

To claim this, I am signing this object:

@thomasdavis
thomasdavis / company-ownership.md
Created Jul 6, 2016 — forked from jdmaturen/company-ownership.md
Who pays when startup employees keep their equity?
View company-ownership.md

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

View mmmm.js
// boot.js
require('babel-core/register');
require('coffee-script/register');
module.exports = require('./app');
// app.js
import from 'foo';
import from 'bar';
// foo.js
@thomasdavis
thomasdavis / edges.csv
Created Jan 22, 2016 — forked from futureperfect/edges.csv
Sample data for Gephi demonstration
View edges.csv
Source Target Type Id Weight Average Degree
1 3 Undirected 1 1.0 1.0
2 10 Undirected 8 1.0 1.0
3 4 Undirected 2 1.0 1.0
4 5 Undirected 3 1.0 1.0
5 10 Undirected 4 1.0 1.0
8 2 Undirected 7 1.0 1.0
8 9 Undirected 11 1.0 1.0
10 1 Undirected 5 1.0 1.0
10 6 Undirected 10 1.0 1.0
You can’t perform that action at this time.