Skip to content

Instantly share code, notes, and snippets.

View pizzapanther's full-sized avatar
🍕
Crushing it daily

Paul Bailey pizzapanther

🍕
Crushing it daily
View GitHub Profile
@isaacsanders
isaacsanders / Equity.md
Created January 21, 2012 15:32
Joel Spolsky on Equity for Startups

This is a post by Joel Spolsky. The original post is linked at the bottom.

This is such a common question here and elsewhere that I will attempt to write the world's most canonical answer to this question. Hopefully in the future when someone on answers.onstartups asks how to split up the ownership of their new company, you can simply point to this answer.

The most important principle: Fairness, and the perception of fairness, is much more valuable than owning a large stake. Almost everything that can go wrong in a startup will go wrong, and one of the biggest things that can go wrong is huge, angry, shouting matches between the founders as to who worked harder, who owns more, whose idea was it anyway, etc. That is why I would always rather split a new company 50-50 with a friend than insist on owning 60% because "it was my idea," or because "I was more experienced" or anything else. Why? Because if I split the company 60-40, the company is going to fail when we argue ourselves to death. And if you ju

@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@tmeers
tmeers / gist:8701826
Last active March 16, 2026 15:04
Rules for generating Pinewood Derby Race Heats in a "Chaotic-Rotation Method"
Get number of heats based on LaneCount and RacerCount: totalHeats
Add a Race per Den
For each Heat found above:
Select random racers for the lineup based on a "Chaotic-Rotation Method"
Each Racer must race at least 3 times
Each racer must race the same number of times
Racers should be held in a race through as many heats as possible
Racers cannot compete against themselves
Racers should compete against as many different opponents as possible
@Miserlou
Miserlou / cities.json
Created April 30, 2015 06:58
1000 Largest US Cities By Population With Geographic Coordinates, in JSON
[
{
"city": "New York",
"growth_from_2000_to_2013": "4.8%",
"latitude": 40.7127837,
"longitude": -74.0059413,
"population": "8405837",
"rank": "1",
"state": "New York"
},

Bad Reasons to Start A Company

  1. You want people to like you / want to be in charge of people / think you're a "leader"
  2. You think you're smarter than everyone else
  3. You think you have some technical "secret sauce" that no one else has and that this has intrinsic value
  4. You think your PhD thesis is a product
  5. Mummy and Daddy are giving you a seed round because they want to get you out of the house
  6. You live in LA or New York and you're jealous of San Francisco
  7. You heard that $fad (Big Data/IoT/Adtech/Fintech/whatever) was big
@dhruvpathak
dhruvpathak / bash_thanos.sh
Created May 5, 2018 10:20
Thanos bash script : Kill half of the universe randomly
kill -9 `ps aux | awk '{print $2}' | shuf | awk '!(NR%2)'`
@mfuzailzubari
mfuzailzubari / nginx.conf
Created June 27, 2018 12:31
NGINX RTMP Configurations
worker_processes auto;
events {
# Allows up to 1024 connections, can be adjusted
worker_connections 1024;
}
# RTMP configuration
rtmp {
server {
listen 1935; # Listen on standard RTMP port
@pizzapanther
pizzapanther / bashrc
Last active July 26, 2021 13:57
My Bash Shortcuts
source /usr/share/autojump/autojump.bash
PS1='\W\$ '
eval $(thefuck --alias)
export GOROOT=$HOME/go
export GOPATH=$HOME/go/packages
export GPG_TTY=$(tty)
export EDITOR=/bin/nano
export PATH=$PATH:/home/paulmbailey/bin:/usr/local/go/bin:$GOROOT/bin:./node_modules/.bin
@pizzapanther
pizzapanther / .tmux.conf
Created October 12, 2018 22:50
My Tmux Conf
set -g mouse on

Disable Device Enrollment Notification on MacOS Catalina

Restart the Mac in Recovery Mode by holding Command-R during restart

Open Terminal in the recovery screen and type:

csrutil disable

Restart Computer Normally