Skip to content

Instantly share code, notes, and snippets.

View HariSekhon's full-sized avatar
🏠
100% Remote - Digital Nomad

Hari Sekhon HariSekhon

🏠
100% Remote - Digital Nomad
View GitHub Profile
@HariSekhon
HariSekhon / dns.md
Created June 29, 2026 12:03
dns.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowledge-Base
@HariSekhon
HariSekhon / mac.md
Last active June 17, 2026 14:54
mac.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowledge-Base

Mac

The best laptop money can buy:

https://www.apple.com/uk/macbook-pro/

If you don't have an M3 Pro / Max - you're missing out on an excellent (but overpriced) machine.

On balance of price vs performance the Macbook Air M3 is excellent, and even thinner and lighter than the Macbook Pro - a real joy to use. Even when you're using more RAM than the physical 16GB max and swapping, the

@HariSekhon
HariSekhon / ansi.md
Created June 9, 2026 00:03
ansi.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowledge-Base

ANSI Terminal Codes

Useful Terminal Escape sequences that I use in Bash scripts (can be used in any programming language really):

You might see functions like this in my DevOps-Bash-tools repo:

clear_current_line(){
    printf "\r\033[K"
}