Skip to content

Instantly share code, notes, and snippets.


Richard Caceres rchrd2

View GitHub Profile
contentfree / gist:45659ad8f500787cb247dbb0447be2e2
Last active Apr 20, 2020
COVID-19 OoC (Outside of China) Growth
View gist:45659ad8f500787cb247dbb0447be2e2
// WHO Reports:
// Inspired by:
// Note: The growth rate does not seem sustainable.
// The projected OoC infections assumes a constant doubling of roughly every 4 days.
Date Projected-OoC-Infections WHO-Reported-OoC-Infections
2020-02-29 5,629 6,009
2020-03-01 6,755 7,169
2020-03-02 8,106 8,774
2020-03-03 9,727 10,565
2020-03-04 11,673 12,669
View spotlight.html
<!doctype html>
<meta charset=utf-8>
<meta name=viewport content=width=device-width,initial-scale=1>
* {
line-height: 1.1;
word-wrap: break-word;
body {
font: 16px Georgia, serif;
steven2358 /
Last active May 13, 2021
FFmpeg cheat sheet
rchrd2 / freeway-2600.asm
Last active Oct 20, 2017
Honking & collision sound are redacted
View freeway-2600.asm
; Disassembly of roms/Freeway (1981) (Activision).a26
; Disassembled Thu Oct 19 22:17:47 2017
; Using DiStella v3.01a
; Command Line: ./binaries/osx/distella -pafs roms/Freeway (1981) (Activision).a26
processor 6502
VSYNC = $00
VBLANK = $01

React && Firebase Workshop

Contact Information

Prequisite Setup

  • A recent version of Node.js
  • npm install -g create-react-app
yossorion /
Last active May 7, 2021
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


Participants should have a recent version of Node.js installed on their system (preferably the latest LTS version, which is 6.9.1 as of this writing—but anything from 0.10 on should work). Participants should clone the following repositories and run npm install in each of them prior to the start of the workshop.

Optional: It might be helpful to install Electron globally so that you can use it from the command line in case there are any issues with any of the dependencies in the project above. You can install this through npm install -g electron.

Finally, debugging the main process is easiest using Visual Studio Code, which is available for all platforms (Windows, Linux, and macOS). This is not a hard requirement, but helpful if you'd like to follow along for that small segment of the workshop.

View package.json
"name": "folder2k16",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "budo index.js --live --pushstate -- -t [ babelify --presets [ react es2015 ] ]"
"author": "",
"license": "ISC",
neutronstein / share_text_attach_ace.js
Last active Apr 23, 2016 — forked from geakstr/share_text_attach_ace.js
Ace editor (v1.2.3) and ShareJS (v0.7.40) text adapter
View share_text_attach_ace.js
function attachAce(editor, doc) {
if (!doc.provides.text) {
throw new Error("Cannot attach ace to non-text share document");
let suppress = false;
editor.setValue(doc.getSnapshot() || "");
const newline = editor.session.getDocument().getNewLineCharacter();