Skip to content

Instantly share code, notes, and snippets.

View Salgat's full-sized avatar
🏠
Working from home

Austin Salgat Salgat

🏠
Working from home
View GitHub Profile
@elbruno
elbruno / vscode.dotnerun.launch.json
Created June 5, 2025 16:32
vscode.dotnerun.launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET: run Active File",
"type": "coreclr",
"request": "launch",
"program": "dotnet",
"args": ["run", "${file}"],
"cwd": "${workspaceFolder}",
@detunized
detunized / find-code.cs
Created March 16, 2019 21:02
Find a code pattern in C# files
// Copyright (C) 2019 Dmitry Yakimenko ([email protected]).
// Licensed under the terms of the MIT license. See LICENCE for details.
using System;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
@zerkz
zerkz / Contract Killer 3.md
Last active August 16, 2019 14:04
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: October 8th 2015
  • Original post
  • Modified by Zack Whipkey (zerkz) to cater towards software developers.

@grantland
grantland / AGB-001_Light_Mod.md
Last active May 30, 2025 15:30
AGB-001 Front/Backlight Mod Instructions

AGB-001 Front/Backlight Mod Instructions

AGB-001 Backlight Mod

Requirements

  • AGB-001
  • ASS101 screen
@jboner
jboner / latency.txt
Last active July 29, 2025 07:59
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
@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