4 Commits

Author SHA1 Message Date
273d23abc0 Dexscreener script, arch-2 packages 2024-06-12 10:41:17 -04:00
c41e14a302 Terraform aliases 2024-05-29 13:54:32 -04:00
b165a802c9 kubectl/docker aliases 2024-05-23 18:18:46 -04:00
1c47a7311a sxiv black BG 2024-04-23 11:39:54 -04:00
11 changed files with 342 additions and 63 deletions

View File

@@ -6,7 +6,7 @@
# clear screen
c "printf '\033c'"
d "cd ~/Downloads && printf '\033c'"
dn "cd ~/Downloads && printf '\033c'"
# e "echo \$"
hst "history"
# nft "printf '\033c' && neofetch | lolcat"
@@ -124,7 +124,7 @@ ssl "mosh --ssh='ssh -p 399' kevin@$LAPTOP_IP"
# vultr
# ssa "mosh atxadmin@45.32.87.10"
ssa "ssh kevin@18.223.241.198"
ssa "ssh -t kevin@3.147.85.36 tmux a"
# ssv "mosh kevin@45.32.87.10"
# test server sites
@@ -161,6 +161,7 @@ l "lsd -F --group-dirs first"
la "lsd -AF --group-dirs first"
ld "lsd -F --group-dirs first -d */"
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 */"
lls "lsd -lF --group-dirs first --size short -Sr"
llt "lsd -lF --group-dirs first --size short -tr"
@@ -189,7 +190,7 @@ rsy "rsync --ignore-existing -Ptr"
lhd "sudo fdisk -l"
# get disc space for mounted drives
# ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null"
ds "df -h | head -n 1 && df -h | grep sd"
dsp "df -h | head -n 1 && df -h | grep sd"
chownw "sudo chown -R kevin:wheel"
chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}"
# cd into backup folder and show backup sizes
@@ -332,6 +333,8 @@ id "identify"
mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
# mst "sudo ~/st/make-st.sh"
mlf2 "sudo mount /dev/sdd1 /mnt/linux-files-2"
# system ]]]
# applications [[[ #
@@ -410,7 +413,7 @@ cht "chatterino"
clc "cloc . --vcs=git"
cm "compton &"
cv "cava"
dg "dragon-drag-and-drop -x"
dg "dragon-drop -x"
fx "firefox -P"
fxd "firefox -P default"
fxw "firefox -P work"
@@ -495,7 +498,7 @@ tc "clear && tmux clear-history"
# tk "tmux kill-server"
tks "tmux kill-session -t"
tksv "tmux kill-server"
tl "tmux ls"
tls "tmux ls"
tn "tmux new -s"
tnb "tmux new -s backup"
#]]]
@@ -503,6 +506,7 @@ usn "usernames --num 20"
vmd "vimdiff"
# wg "wego"
ytd "youtube-dl"
wal "wal -i"
wc "wc -l"
wcw "wc -w"
wch "weechat"
@@ -528,7 +532,7 @@ pi "pass insert -m"
pg "pass generate -c"
ps "pass show"
psi "pass show info | bat"
pev "pass edit finances/visa"
pev "pass edit finances/visa-cash"
xc "xclip -selection clipboard"
xo "xclip -o >"
@@ -638,7 +642,8 @@ gmgt "git mergetool"
gr "git remote -v"
gra "git remote add origin"
grao "git remote add orig"
grag "git remote add gitea ssh://git@git.kevin-mok.com:399/Kevin-Mok/"
# grag "git remote add gitea ssh://git@git.kevin-mok.com:399/Kevin-Mok/"
grag "git remote add github"
grr "git remote remove origin"
gru "git branch --set-upstream-to=origin/main main"
@@ -764,7 +769,8 @@ psgi "git add -A && git commit -m 'Update' -S && git push"
gps "git push"
gpso "git push origin"
gpsoh "git push -f origin HEAD:"
gpsg "git push gitea"
# gpsg "git push gitea"
gpsg "git push github"
gpsk "git push kevin"
gpsdl "git push origin --delete"
# gpsi "git config credential.helper store && git push"
@@ -1063,48 +1069,77 @@ sfw "sftp $WORK_LAPTOP_IP"
fp "fpaste"
ghr "github-release"
# oc [[[ #
# docker [[[ #
o "kubectl"
oa "kubectl apply -f"
ocr "kubectl create"
ocf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito"
oct "kubectx"
od "kubectl describe"
odd "kubectl describe deployment"
odp "kubectl describe pod"
odi "kubectl describe kogitoinfra"
odr "kubectl describe kogitoruntime"
odl "kubectl delete"
odlf "kubectl delete -f"
odlb "kubectl delete kogitobuild"
odlc "kubectl delete configmap"
odlp "kubectl delete pod"
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"
d "docker"
db "docker build"
dc "docker-compose"
dcu "docker-compose up -d"
dcd "docker-compose down"
di "docker image"
dli "docker image list"
dk "docker kill"
dka "docker kill \$(docker ps -q)"
dl "docker ps"
dp "docker push"
dr "docker run"
drm "docker remove"
drmi "docker rmi -f"
ds "docker stop"
# ]]] 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 #
tf "terraform"
tfa "terraform apply"
tfds "terraform destroy"
tfi "terraform init"
tfo "terraform output"
tfp "terraform plan"
tfs "terraform show"
# jenkins [[[ #
@@ -1149,10 +1184,12 @@ mvtt "make vet test"
# minikube [[[ #
# mb "minikube"
mb "minikube"
mba "minikube start"
mbd "minikube delete"
mbs "minikube stop"
mbdl "minikube delete"
mbs "minikube service"
mbsh "minikube ssh"
mbsd "minikube stop"
mbt "minikube status"
# ]]] minikube #
@@ -1193,6 +1230,8 @@ hu "helm upgrade"
# ]]] helm #
zr "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume.pdf"
# ]]] red-hat #
# tet "ticker (cat ~/Documents/expenses/etf.md) | xclip -selection clipboard"
@@ -1209,3 +1248,5 @@ vpd "nordvpn disconnect"
vpt "nordvpn status"
# ]]] vpn #
ft "dexscreener ethereum 0x983b92EA1F0A20844466f3E4BB988c1dE145293E"

View File

@@ -11,7 +11,7 @@ da /mnt/ipad/DCIM/101APPLE
dl ~/Downloads
# dw ~/dwm
D ~/Documents
k ~/
# k ~/
lc ~/linux-config
lf /mnt/linux-files
lf2 /mnt/linux-files-2
@@ -45,12 +45,16 @@ bm ~/Documents/bookmarks
ccd ~/.calcurse
cms ~/Documents/codm/site
cn ~/coding
# dn ~/Downloads
drk ~/coding/dark-sky
ffx ~/linux-config/dot_config/fish/functions
hbd ~/.habitctl
ib ~/linux-config/dot_config/i3blocks/scripts
mbd ~/coding/minikube
pig ~/coding/pigallery
mbk ~/coding/minikube-kompose
ms ~/coding/mf-site
msp ~/coding/mf-site/static/pdf
msr ~/coding/mf-site/static/pdf
pr ~/coding/pull-requests
ra ~/linux-config/dot_config/ranger
rd ~/Documents/red-discord-bot
@@ -60,6 +64,7 @@ rdp ~/coding/discord-bots/pinky/cogs/CogManager/cogs/adventure
sr ~/linux-config/scripts
vsnps ~/.vim/plugged/vim-snippets/UltiSnips
sw ~/.local/share/nvim/swap/
tfd ~/coding/terraform
ttd ~/.timetrace
ttdr ~/.timetrace/records
tx ~/linux-config/txt
@@ -69,7 +74,7 @@ wd ~/.config/watson
b1 ~/coding/mf-site/themes/base16
2d ~/coding/godot-demos/2d-plat
ada ~/coding/ada-mario
ft ~/coding/face-tracker
# ft ~/coding/face-tracker
hv ~/Documents/hevin
hvs ~/Documents/hevin/shopping
j ~/Documents/journal
@@ -173,7 +178,8 @@ sdvss ~/.local/share/StardewValley/Screenshots/
sdvsv ~/.config/StardewValley/Saves/Hevintales_355084144/
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 #
@@ -249,7 +255,7 @@ nxo ~/coding/kogito/nexus-operator
# nft [[[ #
cvt ~/Pictures/profile-pics/conviction
mb ~/coding/mint-bot
# mb ~/coding/mint-bot
pdg ~/Pictures/profile-pics/pudgy-penguins/test
pfps ~/Pictures/profile-pics/sappy-seals
pfpk ~/Pictures/profile-pics/gm-cafe/keek
@@ -319,6 +325,8 @@ ggr ~/school/ggr
ggra ~/school/ggr/assignments/a1
jf ~/school/job-fair
jh ~/school/job-hunt
jhi ~/school/job-hunt/interview-questions
# ]]] sch #
@@ -335,4 +343,6 @@ mt /mnt/linux-files-2/Pictures/mutant-tees
sm /mnt/linux-files-2/Videos/sam-smith/named
wg /mnt/linux-files-2/Pictures/weed-grow-23
sdc /run/media/kevin/6339-3234
# ]]] personal #

View File

@@ -33,6 +33,7 @@ ng /etc/nginx/nginx.conf
# cdn [[[ #
ap ~/.task/pending.data
aw ~/Documents/journal/todo/24/aws.md
at ~/.task/to-add.md
bid ~/Documents/journal/todo/blog.md
cc ~/linux-config/private_dot_calcurse/conf
@@ -50,6 +51,7 @@ k ~/linux-config/dot_config/kitty/kitty.conf
lh ~/Documents/listening-history/polarbier.csv
mc ~/coding/mf-site/assets/sass/main.scss
mi ~/coding/mf-site/ideas.md
msr ~/coding/mf-site/content/resume/_index.md
ne ~/linux-config/configs/neofetch/config.conf
re README.md
rda ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/adventure.py
@@ -92,6 +94,7 @@ cmr ~/Documents/codm/discord-recruitment.md
nb ~/Documents/chat/discord/pistol.md
pk ~/Downloads/pokecord/pokecord2.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
tdb ~/Documents/journal/todo/b.md

View File

@@ -80,4 +80,8 @@ URxvt.matcher.button: 1
/* ]]] Clickable URLs */
Sxiv.background: #000000
Sxiv.foreground: #00C0FF
Sxiv.font: Hack-9
! vim: fdm=marker ft=xdefaults.go-template

View File

@@ -138,6 +138,8 @@ set -x FULLNODE_API_INFO wss://api.chain.love
set -x IPAD_IMG 18
source /home/kevin/coding/aws.fish
# ]]] universal var's #
# fish-specific [[[ #

View File

@@ -52,16 +52,34 @@ label=ETH
TICKER=ETHUSDC
interval=30
[kraken]
label=SOL
TICKER=SOLUSD
# [kraken]
# label=SOL
# TICKER=SOLUSD
# interval=30
# [kraken]
# label=SEI
# TICKER=SEIUSD
# interval=30
[dexscreener]
label=PIXL
CHAIN=ethereum
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
interval=30
[kraken]
label=SEI
TICKER=SEIUSD
[dexscreener]
label=LOCK
CHAIN=solana
PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
interval=30
# [dexscreener]
# label=FLT
# CHAIN=ethereum
# PAIR=0x983b92EA1F0A20844466f3E4BB988c1dE145293E
# interval=30
# [ticker]
# label=SPY
# TICKER=SPY

View File

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

View File

@@ -705,7 +705,7 @@ map v. shell $EDITOR %f
source {{ .chezmoi.homeDir }}/.config/ranger/key_mappings.conf
map dg shell dragon-drag-and-drop -a -x %p
map dg shell dragon-drop -a -x %p
# map <C-d> shell dragon-drag-and-drop -a -x %p
# a plugin that adds file glyphs / icon support to Ranger:
# https://github.com/alexanderjeurissen/ranger_devicons

12
scripts/executable_dexscreener Executable file
View File

@@ -0,0 +1,12 @@
# /bin/bash
# curl -s https://api.dexscreener.com/latest/dex/pairs/$1/$2| jq -r '.pairs | .[] | .priceUsd'
raw=$(curl -s "https://api.dexscreener.com/latest/dex/pairs/$1/$2")
price=$(echo "$raw" | jq -r ".pairs | .[] | .priceUsd")
# if (( $(echo "$price < .05" | bc -l) )); then
# printf "%0.4f\n" "$price" | cut -c 4-
# elif (( $(echo "$price < .1" | bc -l) )); then
# printf "%0.3f\n" "$price" | cut -c 4-
if (( $(echo "$price < .1" | bc -l) )); then
printf "%0.4f\n" "$price" | cut -c 4-
fi

20
txt/arch-2-aur.txt Normal file
View File

@@ -0,0 +1,20 @@
cava 0.10.2-2
cava-debug 0.10.2-2
cli-visualizer 1.8-10
cli-visualizer-debug 1.8-10
dragon-drop 1.2.0-2
dragon-drop-debug 1.2.0-2
python-exceptiongroup 1.2.1-2
qt5-webkit 5.212.0alpha4-22
qt5-webkit-debug 5.212.0alpha4-22
spotify 1:1.2.31.1205-2
systemd-numlockontty 0.1-14
timetrace-bin 0.14.3-6
timetrace-bin-debug 0.14.3-6
vidir 1.0.0-2
wkhtmltopdf 0.12.6-1
wkhtmltopdf-debug 0.12.6-1
yay 12.3.0-1
yay-debug 12.3.0-1
youtube-dl 2021.12.17-2
zoom 6.0.12-1

164
txt/arch-2-pkgs.txt Normal file
View File

@@ -0,0 +1,164 @@
alsa-utils 1.2.11-1
aws-cli 1.32.106-1
base 3-2
base-devel 1-1
bat 0.24.0-1
bc 1.07.1-4
bluez 5.76-1
bluez-utils 5.76-1
cava 0.10.2-2
chezmoi 2.47.1-1
chromium 122.0.6261.111-1
cli-visualizer 1.8-10
cmake 3.29.3-1
colordiff 1.0.21-1
discord 0.0.47-1
dmenu 5.2-1
docker 1:26.1.3-1
docker-compose 2.27.0-1
dragon-drop 1.2.0-2
dunst 1.10.0-1
efibootmgr 18-2
eog 45.3-1
evince 46.0-1
fd 9.0.0-1
feh 3.10.2-1
ffmpegthumbnailer 2.2.2-5
firefox 123.0.1-1
fish 3.7.0-1
fuse2 2.9.9-4
gimp 2.10.36-5
git 2.44.0-1
git-lfs 3.5.1-1
gnome-tweaks 45.1-1
gparted 1.6.0-1
grub 2:2.12-1
htop 3.3.0-1
hugo 0.124.0-1
i3-wm 4.23-1
i3blocks 1.5-4
imagemagick 7.1.1.29-2
imwheel 1.0.0pre12-6
jq 1.7.1-1
kitty 0.31.0-1
kompose 1.32.0-1
kubectl 1.30.1-1
libnotify 0.8.3-1
libreoffice-still 7.6.5-2
linux 6.7.9.arch1-1
linux-firmware 20240220.97b693d2-1
linux-lts 6.6.21-1
lsd 1.0.0-1
maim 5.7.4-7
minikube 1.32.0-1
mosh 1.4.0-6
mpv 1:0.37.0-2
nautilus 46.2-1
ncdu 2.3-1
neofetch 7.1.0-2
neovim 0.9.5-2
networkmanager 1.46.0-2
nodejs 21.7.1-1
noto-fonts-cjk 20230817-1
noto-fonts-emoji 1:2.042-1
npm 10.5.0-1
ntp 4.2.8.p17-1
nvidia-lts 1:550.54.14-4
obs-studio 30.0.2-4
openssh 9.7p1-1
os-prober 1.81-1
pass 1.7.4-5
passff-host 1:1.2.4-1
pcmanfm 1.3.2-1
picom 11.2-1
pulseaudio 17.0-3
pulseaudio-alsa 1:1.2.7.1-2
pyenv 1:2.3.36-1
python-pillow 10.2.0-2
python-pip 24.0-1
python-pynvim 0.5.0-2
qalculate-gtk 5.0.0-2
ranger 1.9.3-9
rclone 1.66.0-1
redshift 1.12-8
ripgrep 14.1.0-1
rsync 3.2.7-6
rxvt-unicode 9.31-4
scrot 1.10-1
spotify 1:1.2.31.1205-2
steam 1.0.0.78-2
sudo 1.9.15.p5-1
sxiv 26-1
sysstat 12.7.5-1
systemd-numlockontty 0.1-14
termdown 1.18.0-5
terraform 1.8.4-1
timetrace-bin 0.14.3-6
tldr 3.2.0-1
tmux 3.4-4
transmission-gtk 4.0.5-1
ttf-hack 3.003-6
ttf-hack-nerd 3.1.1-1
udisks2 2.10.1-4
vi 1:070224-6
vidir 1.0.0-2
vim 9.1.0151-2
vlc 3.0.20-7
wget 1.24.5-1
wkhtmltopdf 0.12.6-1
xclip 0.13-4
xdotool 3.20211022.1-1
xf86-video-vesa 2.6.0-1
xorg-bdftopcf 1.1.1-1
xorg-docs 1.7.2-2
xorg-font-util 1.4.1-1
xorg-fonts-100dpi 1.0.4-2
xorg-fonts-75dpi 1.0.4-1
xorg-fonts-encodings 1.1.0-1
xorg-iceauth 1.0.10-1
xorg-mkfontscale 1.2.3-1
xorg-server 21.1.11-1
xorg-server-common 21.1.11-1
xorg-server-devel 21.1.11-1
xorg-server-xephyr 21.1.11-1
xorg-server-xnest 21.1.11-1
xorg-server-xvfb 21.1.11-1
xorg-sessreg 1.1.3-1
xorg-setxkbmap 1.3.4-1
xorg-smproxy 1.0.7-1
xorg-x11perf 1.6.2-1
xorg-xbacklight 1.2.3-3
xorg-xcmsdb 1.0.6-1
xorg-xcursorgen 1.0.8-1
xorg-xdpyinfo 1.3.4-1
xorg-xdriinfo 1.0.7-1
xorg-xev 1.2.6-1
xorg-xgamma 1.0.7-1
xorg-xhost 1.0.9-1
xorg-xinit 1.4.2-1
xorg-xinput 1.6.4-1
xorg-xkbcomp 1.4.7-1
xorg-xkbevd 1.1.5-1
xorg-xkbutils 1.0.6-1
xorg-xkill 1.0.6-1
xorg-xlsatoms 1.1.4-1
xorg-xlsclients 1.1.5-1
xorg-xpr 1.2.0-1
xorg-xprop 1.2.7-1
xorg-xrandr 1.5.2-1
xorg-xrefresh 1.1.0-1
xorg-xset 1.2.5-1
xorg-xsetroot 1.1.3-1
xorg-xvinfo 1.1.5-1
xorg-xwayland 23.2.4-2
xorg-xwd 1.0.9-1
xorg-xwininfo 1.1.6-1
xorg-xwud 1.0.6-1
yad 13.0-2
yay 12.3.0-1
yay-debug 12.3.0-1
youtube-dl 2021.12.17-2
yt-dlp 2024.04.09-2
zathura 0.5.5-1
zathura-pdf-poppler 0.3.2-3
zoom 6.0.12-1