Skip to content

Instantly share code, notes, and snippets.

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

Nicholas Houle nicholashoule

📖
🎲 🎲 🎲 🎲 🎲
View GitHub Profile
@nicholashoule
nicholashoule / gitcherrypick.md
Last active October 20, 2025 06:19
Cherry pick a merge and create a pull request for the master branch

Git

macOS

brew install git

Windows

@nicholashoule
nicholashoule / gitbranches.md
Last active October 20, 2025 05:34
Git prune and delete merged local branches

Git

macOS

brew install git

Windows

@nicholashoule
nicholashoule / rsync.md
Last active October 20, 2025 06:24
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 / route.md
Last active June 6, 2019 19:39
Route command

Route command

route

route
Add route:

sha512 hash

Algorithm used:
$1$,  MD5
$2a$, Blowfish
$2y$, Blowfish
$5$,  SHA-256
$6$,  SHA-512
@nicholashoule
nicholashoule / networkgw.md
Last active November 26, 2019 18:42
Linux Network information

Linux Network information:

Default gateway:
ip route | awk '/^default/ { print $3 }'
IP:

sed

NAME
     sed -- stream editor

SYNOPSIS
     sed [-Ealn] command [file ...]
 sed [-Ealn] [-e command] [-f command_file] [-i extension] [file ...]