Skip to content

Instantly share code, notes, and snippets.

View HariSekhon's full-sized avatar
🏠
Digital Nomad

Hari Sekhon HariSekhon

🏠
Digital Nomad
View GitHub Profile
@HariSekhon
HariSekhon / mac.md
Last active March 23, 2024 01:49
mac.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-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.

Homebrew - Package Management

@HariSekhon
HariSekhon / README.md
Last active March 22, 2024 01:20
README.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Hari Sekhon - Knowledge Base from 20 years in DevOps, Linux, Cloud, Big Data, Security, AWS, GCP etc

GitHub stars GitHub forks License My LinkedIn GitHub Last Commit

CI Builds Overview [![Repo on Azure DevOps](https://img.shields.io/badge/

@HariSekhon
HariSekhon / zookeeper.md
Created March 22, 2024 01:20
zookeeper.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

ZooKeeper

Coordination and distributed locking service.

Small metadata, watches and locks.

Used by major technologies, especially Big Data technologies like HBase, Hive High Availability, and SolrCloud.

Basics

@HariSekhon
HariSekhon / virtualization.md
Created March 22, 2024 01:20
virtualization.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Virtualization

  • VirtualBox - free desktop virtualization software, only really for x86 / x86_64 based systems, current beta doesn't work on Mac Arm Silicon processors
  • UTM - easy frontend to use qemu virtualization on Mac Apple M Silicon processors
  • Vagrant - automates VirtualBox VMs for easy reproduction of local labs with scripted provisioners or calling Puppet or similar (I used this a lot at Cloudera)
@HariSekhon
HariSekhon / virtualbox.md
Created March 22, 2024 01:20
virtualbox.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

VirtualBox

https://www.virtualbox.org/

Open source VM desktop software.

Brilliant for its day on x86_64 machines.

Doesn't support new Apple Silicon ARM architecture chips properly yet, very buggy.

@HariSekhon
HariSekhon / vim.md
Created March 22, 2024 01:20
vim.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

ViM Cheat Sheet

ViM - vi improved

  • vi is the core editor available on every unix system
  • basic knowledge of vi is a core skill for all unix / linux server administrators
  • tonnes of plugins, highly extensible and widely used
  • see my advanced .vimrc for all sorts of trips & tricks, hotkey linting and building, plugins etc.
@HariSekhon
HariSekhon / vagrant.md
Created March 22, 2024 01:20
vagrant.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Vagrant

https://www.vagrantup.com/

Written in Ruby with a declarative Vagrantfile to declare the VMs, their settings, networking and provisioning scripts for automation of the VM contents.

Useful to creating and maintaining local clusters of VMs for reproducing client's problems on specific versions of software. Used this at Cloudera a lot.

Install

@HariSekhon
HariSekhon / ubuntu.md
Created March 22, 2024 01:20
ubuntu.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Ubuntu

https://ubuntu.com/

The most widely used Linux distribution for cloud installations, derived from the battle tested stable long term Debian distribution which is now the standard for Linux and the eventual winner of the long Linux distro wars, as the result of Redhat abandoning the open source mission in favour of profits and relegating themselves to becoming legacy.

For servers always use LTS releases for stability (LTS = Long Term Support).

@HariSekhon
HariSekhon / travis.md
Created March 22, 2024 01:20
travis.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Travis CI

One of the original hosted CI/CD systems.

Reasonable UI, but...

travis-ci.org was free for open source, but has been retired.

travis-ci.com remains as a paid offering.

@HariSekhon
HariSekhon / travel-consulting.md
Created March 22, 2024 01:19
travel-consulting.md from HariSekhon/Knowledge-Base repo: https://github.com/HariSekhon/Knowlege-Base

Travel Consulting

For Travel Consulting.

HolaFly

Digital eSim where you can buy unlimited internet for up to 20 days pre-paid:

https://esim.holafly.com/