This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2021-08-02 13:20 stern istio-ingressgateway -n istio-system -e health -e metrics -o json | jq -Sr '.message | fromjson' | |
| 2021-08-03 12:19 date +"%a %b %d %I:%M" | |
| 2021-08-03 15:49 awk NF ~/.tmux.conf | |
| 2021-08-03 15:49 cat =(awk NF ~/.tmux.bak) > ~/.tmux.bak | |
| 2021-08-03 19:14 k config current-context | |
| 2021-08-04 15:51 for c in {0..255}; do print -P "$c: %F{$c}This is $c%f"; done | |
| 2021-08-05 20:52 brew install qemu | |
| 2021-08-05 20:52 podman machine init && podman machine start | |
| 2021-08-11 13:44 kubectl logs -n istio-system -l app=istiod --tail=100000000 -c discovery > istiod.log | |
| 2021-08-12 15:12 gh release download -R go-shiori/shiori-web-ext 0.8.4 -D ~/Downloads/ -p '*.xpi' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| main() { | |
| local OPTIND projects project cluster append_config temp; append_config=1 temp="$(mktemp)" | |
| while getopts ':rp:' flag; do | |
| case "$flag" in | |
| r) unset append_config ;; | |
| p) projects="$OPTARG" ;; | |
| :) echo "Must supply an argument to -${OPTARG}." >&2; exit 1 ;; | |
| \?) echo "Invalid option: -${OPTARG}" >&2; exit 1 ;; | |
| esac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| HOMEBREW_INSTALL_SCRIPT="https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh" | |
| NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL "$HOMEBREW_INSTALL_SCRIPT")" | |
| export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}" | |
| cat << EOF > Brewfile | |
| cask "1password" | |
| cask "backblaze" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'sainnhe/tmux-fzf' | |
| set -g @plugin 'rose-pine/tmux' | |
| set -g @plugin 'nhdaly/tmux-better-mouse-mode' | |
| set -g @plugin 'tmux-plugins/tmux-resurrect' | |
| set -g @plugin 'tmux-plugins/tmux-continuum' | |
| set -g @rose_pine_variant 'dawn' # Options are 'main', 'moon' or 'dawn' | |
| set -g @rose_pine_host 'on' # Enables hostname in the status bar | |
| set -g @rose_pine_user 'off' # Turn on the username component in the statusbar |