Skip to content

Instantly share code, notes, and snippets.

@Gibby
Gibby / jq-cheetsheet.md
Created January 26, 2023 17:15 — forked from Chris-Softrams/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@Gibby
Gibby / kubectl-multi-version-brews.md
Created October 29, 2020 18:09 — forked from rdump/kubectl-multi-version-brews.md
kubectl multi-version brews (kubernetes-cli formula)

kubectl multi-version brews

We need to run multiple versions of kubectl for compatibility with various kubernetes clusters.

It's a bit easier to get and use multiple versions of kubectl using Homebrew than it is using Macports.

With brew, it's simple to:

  • Install a bunch of versions of kubectl (in the kubernetes-cli Formula)
  • Switch between them as needed
@Gibby
Gibby / install_tmux_macos_no_brew.sh
Created July 8, 2020 17:16 — forked from dxps/install_tmux_macos_no_brew.sh
Install TMUX on MacOS without Brew
#!/bin/sh
## setup _________________________________
TMUX_VER=2.9a
LIBEVENT_VER=2.1.11-stable
TEMP_COMPILE=~/tmux-temp-compile
COMMON_INSTALL_PREFIX=/opt
SYMLINK=/usr/local/bin/tmux