Skip to content

Instantly share code, notes, and snippets.

View XeroHero's full-sized avatar
:shipit:
Quality? Let's build it in to everything we code!

Lorenzo Battilocchi XeroHero

:shipit:
Quality? Let's build it in to everything we code!
View GitHub Profile
@gamesguru
gamesguru / sup.sh
Last active August 3, 2022 18:39
Software updating script for Ubuntu/Debian (apt-based systems)
#!/bin/bash
# A script for updating apt-based Linux distros
# ... put it in /usr/local/bin or anywhere in your $PATH
# Function to run
function run_update {
printf "\\n\e[1;31m%s\e[0m\\n" "apt update"
apt update
printf "\\n\e[1;31m%s\e[0m\\n" "apt dist-upgrade"
@jjnilton
jjnilton / mac-network-commands-cheat-sheet.md
Last active March 11, 2025 14:31
Mac Network Commands Cheat Sheet

Disclaimer: I'm not the original author of this sheet, but can't recall where I found it. If you know the author, please let me know so I give the attribution.

The original author seems to be Charles Edge, here's the original content, as pointed out by @percisely.

Note: Since this seems to be helpful to some people, I formatted it to improve readability of the original. Also, note that this is from 2016, many things may have changed, and I don't use macOS anymore, so I probably can't help in case of questions, but maybe someone else can.

Mac Network Commands Cheat Sheet

After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and s