Skip to content

Instantly share code, notes, and snippets.

View thomasdavis's full-sized avatar

Thomas Davis thomasdavis

View GitHub Profile

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

@thomasdavis
thomasdavis / prod_postgres.md
Created March 14, 2017 07:09 — forked from selenamarie/prod_postgres.md
An Ideal Postgres Environment

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
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 / aasd
Created September 13, 2017 00:45
asd
asdads
backend:
name: github
repo: rolandnsharp/rolandsharp.com
media_folder: static/assets
public_folder: assets
collections:
- name: blog
label: Blog
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUDlIxvCqS/eiZmLBDVIdxkF+Cgj74YnU+Me42FFKt+LeVfDYHcrVpLz/X6xp2/40EDm2hplTERgCjc9ljcrzsX0a6K0OAu5XK3gGqig+kI5g46nEgWxbyAiNo0QcEm9POxUD68d2vI9q1+7sKVdRTnVquVUXrRGr8dgZwZvPs4gCreJc/C0tBE21k4kuiMI0sySGI0OSUHvZs6c44v3rlEoA1zl104gdbWBbseY12EXBf2lmijfKuEbkM+C4eExmQeGS0p2CkmoZfN0ZCG9lGVcW/2KlOYBEpso/lStSUsmMSt9PLQOSJD8ZPF+DbX6iCTuCy9bnEsWKJKg6keSdv ajax@love
openapi: '3.0.0'
info:
version: 1.0.0
title: BlockBid API Gateway
license:
name: MIT
servers:
- url: https://api.blockbid.io
paths:
/healthz:
openapi: '3.0.0'
info:
version: 1.0.0
title: BlockBid API Gateway
license:
name: MIT
servers:
- url: https://api.blockbid.io
paths:
/healthz:
{
"meta": {
"theme": "professional",
"lastModified": "2026-07-22T00:00:00.000Z"
},
"basics": {
"name": "Thomas Davis",
"phone": "+61 411 021 021",
"label": "Full Stack Developer & AI Engineer",
"image": "https://avatars.githubusercontent.com/u/416209?v=4",
# -*- coding: utf-8 -*-
import os
import sys
# -----------------------------------------------------------------------------
this_folder = os.path.dirname(os.path.abspath(__file__))
root_folder = os.path.dirname(os.path.dirname(this_folder))
sys.path.append(root_folder + '/python')