Skip to content

Instantly share code, notes, and snippets.

View nullndr's full-sized avatar
:shipit:
Watta you lookin' for?

Andrea nullndr

:shipit:
Watta you lookin' for?
View GitHub Profile
@nullndr
nullndr / Vim Cheat Sheet.md
Last active June 15, 2023 12:09
Vim Cheat Sheet

Command Mode: <Esc>

  • w save file
  • q exit

Normal Mode:

  • h move one character left
  • H move to top of screen
  • j move one row down
@nullndr
nullndr / bash_strict_mode.md
Created November 19, 2021 11:22 — forked from mikekeke/bash_strict_mode.md
set -e, -u, -o pipefail explanation

set -e, -u, -o pipefail

The "set" lines These lines deliberately cause your script to fail. Wait, what? Believe me, this is a good thing. With these settings, certain common errors will cause the script to immediately fail, explicitly and loudly. Otherwise, you can get hidden bugs that are discovered only when they blow up in production.

set -euo pipefail is short for:

set -e
set -u