Skip to content

Instantly share code, notes, and snippets.

View handrus's full-sized avatar

Handrus Stephan Nogueira handrus

View GitHub Profile
@hyperupcall
hyperupcall / settings.jsonc
Last active September 19, 2024 16:20
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@handrus
handrus / Questions-to-ask-at-interviews.md
Last active February 14, 2022 05:30
Questions to ask at interviews
@handrus
handrus / Different_Cultures.md
Created September 30, 2015 01:06
Custo Software vs Product

Custom Development | Revenue Software | | --- | --- | --- | | Key Metric | Staff Utilization (busy developers) | Users (subscribers, licenses) | | Business Model | Mark-up on staff hours | Re-use of identical bits | | We track... | Projects/programs | Products/releases | | Essential skills | Sales, business development | Segmentation, validation | | Innovation ownership & risk | Client owns IP: we hope they pay and send more projects our way | We own IP: we hope target segment pays handsomely for perceived value | | Graded first on... | On time, on budget, on spec | Market winner vs. competition | | Customer wants a one-off? | "Great! Here's a change order" | "Let me put that (deep) into the backlog." | | Plan to productize platforms? | Always sacrificed when paid projects run late | Essential part of product line planning |

@jbenet
jbenet / simple-git-branching-model.md
Last active November 9, 2024 04:55
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@piscisaureus
piscisaureus / pr.md
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@jboner
jboner / latency.txt
Last active November 19, 2024 14:58
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD