Skip to content

Instantly share code, notes, and snippets.

View notthatnathan's full-sized avatar
♻️

Nathan Fitzsimmons notthatnathan

♻️
View GitHub Profile
@notthatnathan
notthatnathan / pr-file-counter.css
Last active May 30, 2018 19:18
Adds counts next to files in pull requests on github.com as a progress indicator for code reviews. Add to your favorite site-specific browser extension (Stylebot is one).
.files-next-bucket.pull-request-tab-content .file:before {
background-color: #333;
border-radius: 50%;
color: #fff;
content: counter(file);
counter-increment: file;
font-size: 10px;
font-weight: bold;
height: 26px;
line-height: 26px;
@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

@theangryangel
theangryangel / AuthController.js
Created February 28, 2013 21:54
sails (v0.8.82) + passport + passport-local Rough Example. For the love of all that is holy, don't use this in production.
// api/controllers/AuthController.js
var passport = require('passport');
var AuthController = {
login: function (req,res)
{
res.view();
},