Skip to content

Instantly share code, notes, and snippets.

@devinschumacher
devinschumacher / private-github-forks.md
Last active December 17, 2025 12:42
Github Private Forks: How to privately fork a repository
title description tags
How to Create a Private “Fork” of a Public GitHub Repo
Step-by-step guide to clone a public repo into a private repository in your organization while still pulling in upstream changes.
git
github
private-fork
cli
@squarism
squarism / iterm2.md
Last active December 17, 2025 12:41
An iTerm2 Cheatsheet

In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So + D does not mean hold shift. + Shift + D does of course.

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 17, 2025 12:41
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@hotpaw2
hotpaw2 / sieve.c
Last active December 17, 2025 12:38
/* sieve.c */
/* An old small benchmark from Byte Magazine, circa 1983 and 1984, thus suitable for that vintage of computer. */
#include <stdio.h>
#define TIMES (100000L)
static unsigned char f[8192];
int main()
{
@Fanman03
Fanman03 / UAP-Guide.md
Last active December 17, 2025 12:38
UniFi AP Buyers Guide

UniFi AP Buyers Guide

(updated May 2025)

The APs in this list are ordered from highest to lowest performance. However, unless you have a very high number of devices you likely do NOT need to buy the most expensive, highest performance AP. You can also check Ebay for deals, especially on older equipment.

All APs in this list support both wired backhaul and mesh modes. However, wired connections are strongly recommended for better performance and reliability.

Number of spatial streams are listed in order of 2.4GHz, 5GHz, 6GHz.

Good Choices:

@simurai
simurai / css-properties.css
Created November 26, 2015 05:42
All CSS properties
/*
* CSS Properties
* http://ref.openweb.io/CSS/
**/
.properties {
align-content: value;
align-items: value;
align-self: value;
@vipmax
vipmax / docker-compose.yml
Last active December 17, 2025 12:32
minimal docker-compose apache kafka broker and kafka-ui
version: '3.8'
networks:
my_network:
driver: bridge
volumes:
kafka-data:
kafka-ui-data:
services:
@taxi-estadosunidos
taxi-estadosunidos / Guia-para-Brasileiros-nos-Estados-Unidos.md
Last active December 17, 2025 12:30
Ferramentas para brasileiros nos Estados Unidos
@viniciusgati
viniciusgati / algoritmo-simples-1.txt
Last active December 17, 2025 12:30
Teste de lógica 1
Faça um programa para ajudar uma pessoa a medir a quantidade de bolos que ela pode fazer com a quantidade de ingredientes que ela possui!
Você deve obter a quantidade de farinha disponível em gramas, a quantidade de leite disponível em ml's e a quantidade de ovos disponíveis.
Tendo como base que 1 bolo precisa de 2 ovos, 500gr de farinha e 500ml de leite.
Informe o usuário quantos bolos podem ser feitos com a quantidade de ingredientes disponíveis.
Exemplo de resultado:
Com 4 ovos, 500gr de farinha e 1000ml de leite o resultado da quantidade de bolos que posso fazer deve ser de 1 bolo.