Skip to content

Instantly share code, notes, and snippets.

View nicholashoule's full-sized avatar
🧩
🎲 🎲 🎲 🎲 🎲

Nicholas Houle nicholashoule

🧩
🎲 🎲 🎲 🎲 🎲
View GitHub Profile

Random

pkg: haveged

GitHub - jirka-h/haveged

Starting from Linux kernel v5.4, the HAVEGED inspired algorithm has been included in the Linux kernel.

DESCRIPTION

@nicholashoule
nicholashoule / networkgw.md
Last active March 12, 2026 07:37
Linux Network information

Network information

Default Gateway

Linux:   ip route | awk '/^default/ { print $3 }'
macOS:   route -n get default | awk '/gateway/ {print $2}'
Windows: (Get-NetRoute -DestinationPrefix "0.0.0.0/0").NextHop

IP Address

@nicholashoule
nicholashoule / rsync.md
Last active March 12, 2026 07:50
Rsync and SSH

Rsync and SSH

rsync --help

Options
 -v, --verbose               increase verbosity
 -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)
 -r, --recursive             recurse into directories
 -n, --dry-run               perform a trial run with no changes made
@nicholashoule
nicholashoule / gitbranches.md
Last active March 12, 2026 07:09
Git prune and delete merged local branches

Git - prune and delete

macOS

brew install git

Windows

@nicholashoule
nicholashoule / gitcherrypick.md
Last active March 12, 2026 06:39
Cherry pick a merge and create a pull request for the master branch

Git - cherry-pick

macOS

brew install git

Windows