Skip to content

Instantly share code, notes, and snippets.

View chintan09's full-sized avatar

Chintan Parikh chintan09

View GitHub Profile
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active April 7, 2024 22:55
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

@matteomattei
matteomattei / wget_build.sh
Last active October 31, 2023 03:35
Cross compile wget statically for ARM
#!/bin/bash
VERSION="1.17"
if [ ! -f wget-${VERSION}.tar.xz ]; then
wget http://ftp.gnu.org/gnu/wget/wget-${VERSION}.tar.xz
fi
rm -rf wget-${VERSION} build
tar xJf wget-${VERSION}.tar.xz
@EvanBurchard
EvanBurchard / COIN_Chess.md
Last active January 3, 2020 22:16
COIN Chess (for up to 4 players)

Overview

4 player chess. 2 peasant players (white and black) and 2 noble players (white and black). Movement patterns remain untouched, but the game ends at king capture, rather than checkmate. In a typical chess game, this would occur 1 move after checkmate (it's implied, but too barbaric to actually go through with in a normal game), but in this variant, incentives are mixed and the kings don't always get their way. Moving into check (via castling also, but not through it) is allowed.

Pieces

Each peasant player controls pawns of their color. Each noble player controls the king and queen of their color. Pieces, aka "military" are potentially controlled by nobles or peasants.

Objectives

@dergachev
dergachev / GIF-Screencast-OSX.md
Last active May 17, 2024 02:53
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@mreid
mreid / INSTALL-VW-OSX.md
Created January 29, 2012 21:59
Install Vowpal Wabbit on Mac OS X Lion

The INSTALL instructions that come with Vowpal Wabbit appear not to work on Mac OS X Lion. Here's what I did to get it to compile. You will need the developer tools that come with the XCode installation.

The only dependency VW has is the boost C++ library. So first, download and install Boost

To install Boost, do the following:

$ cp ~/Downloads/boost_1_48_0.tar.bz2 ./