Skip to content

Instantly share code, notes, and snippets.

View ZacAttack's full-sized avatar

Zac Policzer ZacAttack

  • LinkedIn
  • San Francisco
View GitHub Profile
@ZhangHongQuan-Dianrong
ZhangHongQuan-Dianrong / gdbmalloc.py
Created October 30, 2017 11:58
show ptmalloc memory management using gdb+python
# -*- encoding:utf-8 -*-
# malloc.py is an extension for gdb to inspect memory allocation and free
#
import sys
import struct
from contextlib import contextmanager
import os.path
#in pthon 2.6, this is only what I can get
from optparse import OptionParser
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active August 9, 2024 20:18
What I Wish I'd Known About Equity Before Joining A Unicorn

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