Skip to content

Instantly share code, notes, and snippets.

View nothub's full-sized avatar
💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢

Florian Hübner nothub

💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢
View GitHub Profile
@jboner
jboner / latency.txt
Last active April 3, 2026 06:12
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
@prwhite
prwhite / Makefile
Last active March 22, 2026 12:26
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@shamil
shamil / mount_qcow2.md
Last active March 25, 2026 21:38
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active April 2, 2026 07:27
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@fernandezpablo85
fernandezpablo85 / git-maven-howto.md
Last active November 25, 2025 18:48
how to create your own maven repository on github

How to create a maven repository for your github project step by step

Clone your project in a separate folder

(note: replace ORGANIZATION and PROJECT)

git clone git clone git@github.com:ORGANIZATION/PROJECT.git my-repository

Cd into it

@ageis
ageis / systemd_service_hardening.md
Last active March 25, 2026 23:46
Options for hardening systemd service units

security and hardening options for systemd service units

A common and reliable pattern in service unit files is thus:

NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
@rueycheng
rueycheng / GNU-Make.md
Last active March 31, 2026 12:27
GNU Make cheatsheet
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active April 2, 2026 15:20
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@comp500
comp500 / big_list_of_modpack_things.md
Last active December 26, 2025 17:22
Big List of Modpack Things

Big List of Modpack Things

Also see the Modrinth Awesome list, and a (probably somewhat outdated) list of curse modpack downloaders at https://gist.github.com/jikuja/f44533a16ad04624c3eb8e99e7a3e494/

This list is a bit outdated in places, but I'm still adding things here so that I don't forget them.

Distribution platforms

Name Type Number of mods/packs Popularity (Similarweb rank) Official launcher Third-party support Open Source backend Author rewards
CurseForge Public 31,000 mods; 38,000 modpacks #1410 Yes Many No Yes
Modrinth Public 2000 mods #79,182 In development ATLauncher, packwiz, pacmc, modweaver Yes Planned
@tkren
tkren / gpg-export-wkd.sh
Last active February 28, 2026 14:57
Setup a static OpenPGP Web Key Directory for your own domain using gnupg and sequoia-sq
#!/usr/bin/env bash
#
# gpg-export-wkd.sh: Uses gnupg and sequoia-sq to generate a Web Key Directory.
# See https://tools.ietf.org/html/draft-koch-openpgp-webkey-service-11 and
# https://wiki.gnupg.org/WKD for details.
#
# Prerequisite: gpg and sq must be located through the PATH.
# Install sq with `crate install sequoia-sq`
# See also https://crates.io/crates/sequoia-sq
#