kubectl/docker aliases

This commit is contained in:
2024-05-23 18:18:46 -04:00
parent 1c47a7311a
commit b165a802c9
6 changed files with 99 additions and 54 deletions

View File

@@ -124,7 +124,7 @@ ssl "mosh --ssh='ssh -p 399' kevin@$LAPTOP_IP"
# vultr # vultr
# ssa "mosh atxadmin@45.32.87.10" # ssa "mosh atxadmin@45.32.87.10"
ssa "ssh -t kevin@18.223.241.198 tmux a" ssa "ssh -t kevin@3.147.85.36 tmux a"
# ssv "mosh kevin@45.32.87.10" # ssv "mosh kevin@45.32.87.10"
# test server sites # test server sites
@@ -161,6 +161,7 @@ l "lsd -F --group-dirs first"
la "lsd -AF --group-dirs first" la "lsd -AF --group-dirs first"
ld "lsd -F --group-dirs first -d */" ld "lsd -F --group-dirs first -d */"
ll "lsd -lF --group-dirs first --size short" ll "lsd -lF --group-dirs first --size short"
llb "lsd -lF --group-dirs first --size short | bat"
lld "lsd -lF --group-dirs first --size short -d */" lld "lsd -lF --group-dirs first --size short -d */"
lls "lsd -lF --group-dirs first --size short -Sr" lls "lsd -lF --group-dirs first --size short -Sr"
llt "lsd -lF --group-dirs first --size short -tr" llt "lsd -lF --group-dirs first --size short -tr"
@@ -410,7 +411,7 @@ cht "chatterino"
clc "cloc . --vcs=git" clc "cloc . --vcs=git"
cm "compton &" cm "compton &"
cv "cava" cv "cava"
dg "dragon-drag-and-drop -x" dg "dragon-drop -x"
fx "firefox -P" fx "firefox -P"
fxd "firefox -P default" fxd "firefox -P default"
fxw "firefox -P work" fxw "firefox -P work"
@@ -495,7 +496,7 @@ tc "clear && tmux clear-history"
# tk "tmux kill-server" # tk "tmux kill-server"
tks "tmux kill-session -t" tks "tmux kill-session -t"
tksv "tmux kill-server" tksv "tmux kill-server"
tl "tmux ls" tls "tmux ls"
tn "tmux new -s" tn "tmux new -s"
tnb "tmux new -s backup" tnb "tmux new -s backup"
#]]] #]]]
@@ -1063,48 +1064,69 @@ sfw "sftp $WORK_LAPTOP_IP"
fp "fpaste" fp "fpaste"
ghr "github-release" ghr "github-release"
# oc [[[ # # docker [[[ #
o "kubectl" d "docker"
oa "kubectl apply -f" db "docker build"
ocr "kubectl create" dc "docker-compose"
ocf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito" dcu "docker-compose up -d"
oct "kubectx" dcd "docker-compose down"
od "kubectl describe" di "docker image"
odd "kubectl describe deployment" dli "docker image list"
odp "kubectl describe pod" dk "docker kill"
odi "kubectl describe kogitoinfra" dka "docker kill \$(docker ps -q)"
odr "kubectl describe kogitoruntime" dl "docker ps"
odl "kubectl delete" dp "docker push"
odlf "kubectl delete -f" dr "docker run"
odlb "kubectl delete kogitobuild" drm "docker remove"
odlc "kubectl delete configmap" drmi "docker rmi -f"
odlp "kubectl delete pod" ds "docker stop"
odlpj "kubectl delete project"
odlr "kubectl delete kogitoruntime"
oex "kubectl exec"
oed "kubectl edit"
og "kubectl get"
oga "kubectl get all"
ogd "kubectl get deployment"
ogp "kubectl get pods"
ogw "watch kubectl get pods"
ogb "kubectl get kogitobuild"
ogc "kubectl get configmap"
ogi "kubectl get imagestream"
ogn "kubectl get"
ogr "kubectl get kogitoruntime"
ogs "kubectl get service"
ogsm "kubectl get servicemonitor"
ol "kubectl logs -f"
oli "kubectl login -u kubeadmin -p"
on "kubectl new-project"
op "kubectl project"
opa "kubectl projects | rg kogito"
opd "kubectl project default"
ot "kubectl status"
# ]]] oc # # ]]] docker #
# kubectl [[[ #
k "kubectl"
ka "kubectl apply -f"
kcr "kubectl create"
kcf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito"
kct "kubectx"
kd "kubectl describe"
kdd "kubectl describe deployment"
kdp "kubectl describe pod"
kdi "kubectl describe kogitoinfra"
kdr "kubectl describe kogitoruntime"
kdl "kubectl delete"
kdlf "kubectl delete -f"
kdlb "kubectl delete kogitobuild"
kdlc "kubectl delete configmap"
kdld "kubectl delete deployment"
kdlp "kubectl delete pod"
kdlpj "kubectl delete project"
kdlr "kubectl delete kogitoruntime"
kex "kubectl exec"
ked "kubectl edit"
kg "kubectl get"
kga "kubectl get all"
kgd "kubectl get deployment"
kgp "kubectl get pods"
wkp "watch kubectl get pods"
kgb "kubectl get kogitobuild"
kgc "kubectl get configmap"
kgi "kubectl get imagestream"
kgn "kubectl get"
kgr "kubectl get kogitoruntime"
kgs "kubectl get service"
kgsm "kubectl get servicemonitor"
kl "kubectl logs -f"
kli "kubectl login -u kubeadmin -p"
kn "kubectl new-project"
kp "kubectl project"
kpa "kubectl projects | rg kogito"
kpd "kubectl project default"
kt "kubectl status"
# ]]] kubectl #
# jenkins [[[ # # jenkins [[[ #
@@ -1149,10 +1171,12 @@ mvtt "make vet test"
# minikube [[[ # # minikube [[[ #
# mb "minikube" mb "minikube"
mba "minikube start" mba "minikube start"
mbd "minikube delete" mbdl "minikube delete"
mbs "minikube stop" mbs "minikube service"
mbsh "minikube ssh"
mbsd "minikube stop"
mbt "minikube status" mbt "minikube status"
# ]]] minikube # # ]]] minikube #
@@ -1209,3 +1233,5 @@ vpd "nordvpn disconnect"
vpt "nordvpn status" vpt "nordvpn status"
# ]]] vpn # # ]]] vpn #
ft "dexscreener ethereum 0x983b92EA1F0A20844466f3E4BB988c1dE145293E"

View File

@@ -11,7 +11,7 @@ da /mnt/ipad/DCIM/101APPLE
dl ~/Downloads dl ~/Downloads
# dw ~/dwm # dw ~/dwm
D ~/Documents D ~/Documents
k ~/ # k ~/
lc ~/linux-config lc ~/linux-config
lf /mnt/linux-files lf /mnt/linux-files
lf2 /mnt/linux-files-2 lf2 /mnt/linux-files-2
@@ -49,6 +49,8 @@ drk ~/coding/dark-sky
ffx ~/linux-config/dot_config/fish/functions ffx ~/linux-config/dot_config/fish/functions
hbd ~/.habitctl hbd ~/.habitctl
ib ~/linux-config/dot_config/i3blocks/scripts ib ~/linux-config/dot_config/i3blocks/scripts
mbd ~/coding/minikube
pig ~/coding/pigallery
ms ~/coding/mf-site ms ~/coding/mf-site
msp ~/coding/mf-site/static/pdf msp ~/coding/mf-site/static/pdf
pr ~/coding/pull-requests pr ~/coding/pull-requests
@@ -69,7 +71,7 @@ wd ~/.config/watson
b1 ~/coding/mf-site/themes/base16 b1 ~/coding/mf-site/themes/base16
2d ~/coding/godot-demos/2d-plat 2d ~/coding/godot-demos/2d-plat
ada ~/coding/ada-mario ada ~/coding/ada-mario
ft ~/coding/face-tracker # ft ~/coding/face-tracker
hv ~/Documents/hevin hv ~/Documents/hevin
hvs ~/Documents/hevin/shopping hvs ~/Documents/hevin/shopping
j ~/Documents/journal j ~/Documents/journal
@@ -173,7 +175,8 @@ sdvss ~/.local/share/StardewValley/Screenshots/
sdvsv ~/.config/StardewValley/Saves/Hevintales_355084144/ sdvsv ~/.config/StardewValley/Saves/Hevintales_355084144/
sdvsvg ~/Documents/stardew-valley-sdv-saves/hevintales sdvsvg ~/Documents/stardew-valley-sdv-saves/hevintales
snp /mnt/linux-files-2/Videos/ipad/marvel-snap snp ~/Documents/marvel-snap
snpv /mnt/linux-files-2/Videos/ipad/marvel-snap
# ]]] gaming # # ]]] gaming #
@@ -249,7 +252,7 @@ nxo ~/coding/kogito/nexus-operator
# nft [[[ # # nft [[[ #
cvt ~/Pictures/profile-pics/conviction cvt ~/Pictures/profile-pics/conviction
mb ~/coding/mint-bot # mb ~/coding/mint-bot
pdg ~/Pictures/profile-pics/pudgy-penguins/test pdg ~/Pictures/profile-pics/pudgy-penguins/test
pfps ~/Pictures/profile-pics/sappy-seals pfps ~/Pictures/profile-pics/sappy-seals
pfpk ~/Pictures/profile-pics/gm-cafe/keek pfpk ~/Pictures/profile-pics/gm-cafe/keek
@@ -335,4 +338,6 @@ mt /mnt/linux-files-2/Pictures/mutant-tees
sm /mnt/linux-files-2/Videos/sam-smith/named sm /mnt/linux-files-2/Videos/sam-smith/named
wg /mnt/linux-files-2/Pictures/weed-grow-23 wg /mnt/linux-files-2/Pictures/weed-grow-23
sdc /run/media/kevin/6339-3234
# ]]] personal # # ]]] personal #

View File

@@ -33,6 +33,7 @@ ng /etc/nginx/nginx.conf
# cdn [[[ # # cdn [[[ #
ap ~/.task/pending.data ap ~/.task/pending.data
aw ~/Documents/journal/todo/24/aws.md
at ~/.task/to-add.md at ~/.task/to-add.md
bid ~/Documents/journal/todo/blog.md bid ~/Documents/journal/todo/blog.md
cc ~/linux-config/private_dot_calcurse/conf cc ~/linux-config/private_dot_calcurse/conf
@@ -92,6 +93,7 @@ cmr ~/Documents/codm/discord-recruitment.md
nb ~/Documents/chat/discord/pistol.md nb ~/Documents/chat/discord/pistol.md
pk ~/Downloads/pokecord/pokecord2.md pk ~/Downloads/pokecord/pokecord2.md
sdv ~/Documents/stardew-valley-sdv/notes.md sdv ~/Documents/stardew-valley-sdv/notes.md
snp ~/Documents/marvel-snap/strats.md
tc /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader/clips.txt tc /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader/clips.txt
tdb ~/Documents/journal/todo/b.md tdb ~/Documents/journal/todo/b.md

View File

@@ -57,10 +57,16 @@ label=SOL
TICKER=SOLUSD TICKER=SOLUSD
interval=30 interval=30
[kraken] # [kraken]
label=SEI # label=SEI
TICKER=SEIUSD # TICKER=SEIUSD
interval=30 # interval=30
# [dexscreener]
# label=FLT
# CHAIN=ethereum
# PAIR=0x983b92EA1F0A20844466f3E4BB988c1dE145293E
# interval=30
# [ticker] # [ticker]
# label=SPY # label=SPY

View File

@@ -0,0 +1,5 @@
#!/bin/bash
. "/home/kevin/.cache/wal/colors.sh"
ticker=$(~/scripts/dexscrener $CHAIN $PAIR)
printf "%s\n\n%s\n" "$ticker" "$color7"

1
scripts/executable_dexscreener Executable file
View File

@@ -0,0 +1 @@
curl -s https://api.dexscreener.com/latest/dex/pairs/$1/$2| jq -r '.pairs | .[] | .priceUsd'