|
|
@ -49,9 +49,10 @@ ngb "sudo nvim /etc/default/grub" |
|
|
|
mgb "sudo grub-mkconfig -o /boot/grub/grub.cfg" |
|
|
|
|
|
|
|
# a "bat" |
|
|
|
ba "bat" |
|
|
|
b "bat" |
|
|
|
# ba "bat *" |
|
|
|
awkp "awk -F',' '{print \$0}'" |
|
|
|
cpr "cp -r" |
|
|
|
fde "fd -e" |
|
|
|
grep "grep --color=auto -n" |
|
|
|
grpr "grep -r" |
|
|
@ -131,7 +132,9 @@ vd "vidir --verbose" |
|
|
|
{{ if not (eq .linux_os "termux") }} |
|
|
|
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" |
|
|
|
lld "lsd -lF --group-dirs first --size short -d */" |
|
|
|
llr "lsd -lF --group-dirs first --size short -tr" |
|
|
|
lla "lsd -AlF --group-dirs first --size short" |
|
|
|
{{ else }} |
|
|
@ -305,8 +308,8 @@ a "task" |
|
|
|
aa "task add" |
|
|
|
aab "task add proj:pey +bot" |
|
|
|
aal "task add proj:lnx" |
|
|
|
aam "task add proj:ms" |
|
|
|
aamy "task add proj:mny" |
|
|
|
# aam "task add proj:ms" |
|
|
|
aam "task add proj:mny" |
|
|
|
aap "task add proj:" |
|
|
|
# aacm "task add proj:codm" |
|
|
|
aacr "task add proj:crim" |
|
|
@ -330,6 +333,7 @@ aj "task +jira" |
|
|
|
apl "task completed" |
|
|
|
al "task limit:15" |
|
|
|
alg "task log" |
|
|
|
algy "task log proj:pey" |
|
|
|
ans "task +next" |
|
|
|
ao "taskopen -A" |
|
|
|
asm "task summary" |
|
|
@ -362,6 +366,7 @@ ccc "calcurse -D ~/.calcurse/alt-cals/class" |
|
|
|
cci "calcurse -i" |
|
|
|
ccs "calcurse-caldav" |
|
|
|
chr "google-chrome" |
|
|
|
cht "chatterino" |
|
|
|
clc "cloc ." |
|
|
|
cv "cava" |
|
|
|
dg "dragon-drag-and-drop -x" |
|
|
@ -387,14 +392,15 @@ kf "killall firefox" |
|
|
|
kag "killall gopls" |
|
|
|
kai "killall imwheel && imwheel" |
|
|
|
kt "killall thunderbird" |
|
|
|
lo "libreoffice" |
|
|
|
# mpv "mpv --volume=50" |
|
|
|
# lo "libreoffice" |
|
|
|
m "mpv" |
|
|
|
mpvv "mpv --volume=50" |
|
|
|
mpl "mpv --loop" |
|
|
|
msf "mpv --sub-file=" |
|
|
|
mra "man ranger" |
|
|
|
# mt "minetest" |
|
|
|
n "nvim" |
|
|
|
nl "nload devices wlp4s0 -u M" |
|
|
|
nm "nomacs ." |
|
|
|
np "nvim --" |
|
|
|
ndu "ncdu" |
|
|
@ -405,6 +411,7 @@ pcp "pycp" |
|
|
|
pmv "pymv" |
|
|
|
py "python" |
|
|
|
q "qalc '" |
|
|
|
qe "qalc -e '1USD to CAD'" |
|
|
|
qg "qalculate-gtk" |
|
|
|
r "ranger" |
|
|
|
rbg "ranger --selectfile (grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2)" |
|
|
@ -418,7 +425,7 @@ sqlb "sqlitebrowser" |
|
|
|
# ss "mosh" |
|
|
|
stp "termdown" |
|
|
|
# sw "swex" |
|
|
|
t "tmux"#[[[ |
|
|
|
# t "tmux"#[[[ |
|
|
|
# ta "tmux a -t" |
|
|
|
tabu "tmux a -t backup || tmux new -s backup" |
|
|
|
tacf "tmux a -t config || tmux new -s config" |
|
|
@ -534,6 +541,7 @@ gba "git branch --no-merged && echo '' && git branch --merged" |
|
|
|
gbu "git branch --no-merged" |
|
|
|
gbm "git branch --merged" |
|
|
|
gbr "git branch -m" |
|
|
|
gbu "git branch --set-upstream-to=" |
|
|
|
|
|
|
|
gsm "git submodule" |
|
|
|
gsma "git submodule add" |
|
|
@ -567,8 +575,9 @@ gal "git lfs track" |
|
|
|
gacu "git add -A && git commit" |
|
|
|
|
|
|
|
glf "git lfs" |
|
|
|
glfi "git lfs install" |
|
|
|
glfp "git lfs pull" |
|
|
|
# glfi "git lfs install" |
|
|
|
# glfp "git lfs pull" |
|
|
|
glfp "git lfs install && git lfs pull" |
|
|
|
glft "git lfs track *" |
|
|
|
|
|
|
|
gm "git mv" |
|
|
@ -586,9 +595,8 @@ grmor "rm (fd -e orig --no-ignore -H)" |
|
|
|
gd "git diff -w" |
|
|
|
gdc "git diff --cached -w" |
|
|
|
gdh "git diff --cached -w HEAD~1" |
|
|
|
# gds "git diff --stat" |
|
|
|
# gdsc "git diff --stat --cached -w" |
|
|
|
gds "git diff --stat --cached -w" |
|
|
|
gds "git diff --stat" |
|
|
|
gdsc "git diff --stat --cached -w" |
|
|
|
gdt "git difftool -w --tool=vimdiff" |
|
|
|
gdtc "git difftool -w --cached --tool=vimdiff" |
|
|
|
gl "git log -5" |
|
|
@ -724,7 +732,7 @@ upip "pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xa |
|
|
|
ureq "pip freeze > requirements.txt" |
|
|
|
|
|
|
|
# show last history scan |
|
|
|
hlg "psql -U postgres -d spotifyvis -a -f /home/kevin/coding/spotify-lib-vis/src/scripts/queries/history.sql | rg 2020 | tac" |
|
|
|
hlg "psql -U postgres -d spotifyvis -a -f /home/kevin/coding/spotify-lib-vis/src/scripts/queries/history.sql | rg 2021 | tac" |
|
|
|
slg "tail -n 5 $spv_dir/src/api/management/commands/update-history.log" |
|
|
|
# scan history |
|
|
|
# hs "$spv_dir/src/update-history.sh && cat $spv_dir/src/api/management/commands/update-history.log | tail -n 1" |
|
|
@ -798,7 +806,8 @@ mm "printf '\033c' && bear make clean move_mouse_with_head && ./move_mouse_with_ |
|
|
|
med "printf '\033c' && bear make clean eye_detector && ./eye_detector" |
|
|
|
mft "printf '\033c' && bear make clean face_detector && ./face_detector" |
|
|
|
rft "~/coding/face-tracker/face_detector > /tmp/move_mouse_with_head.out" |
|
|
|
gpsb "git push bitbucket" |
|
|
|
# gpsb "git push bitbucket" |
|
|
|
gpsb "git push bot" |
|
|
|
|
|
|
|
# ]]] ada-mario # |
|
|
|
|
|
|
@ -832,13 +841,16 @@ mtsv "minetestserver --gameid minimal --worldname Test --terminal" |
|
|
|
|
|
|
|
# ]]] minetest # |
|
|
|
|
|
|
|
tet "pandoc -f markdown -t html twitch-emote-conversion.md | xclip -selection clipboard" |
|
|
|
# tet "pandoc -f markdown -t html twitch-emote-conversion.md | xclip -selection clipboard" |
|
|
|
shrg "printf '¯\\\\\\\\\\_(ツ)_/¯' | xclip -selection clipboard" |
|
|
|
|
|
|
|
dcec "mono DiscordChatExporter.Cli.exe" |
|
|
|
dcec "mono DiscordChatExporter.Cli.exe export -t $DISCORD_TOKEN -c" |
|
|
|
|
|
|
|
ifm "sxiv ~/Documents/fortnite/maps/boat-campfire-slurp.png" |
|
|
|
|
|
|
|
# twitchy [[[ # |
|
|
|
|
|
|
|
tw "twitchy" |
|
|
|
twa "twitchy -a" |
|
|
|
twd "twitchy -d" |
|
|
@ -847,9 +859,13 @@ twf "watch -n300 'twitchy-game Fortnite'" |
|
|
|
# mp "mpv --video-zoom=1.5" |
|
|
|
# ufn "source trn-api-key.fish && curl --request GET --url https://api.fortnitetracker.com/v1/profile/pc/Vole%20on%20Mobile --header 'trn-api-key: 584d8eca-30d9-4119-92d8-5067dd301118' --cookie __cfduid=d4f0daac7eee3687b481bd55dcf00f3581581900091 > stats.json" |
|
|
|
|
|
|
|
# ]]] twitchy # |
|
|
|
|
|
|
|
lob "lsd -F --group-dirs first 2020*.mkv" |
|
|
|
wo "watch -n60 'lsd -lF --group-dirs first --size short 2020*.mkv'" |
|
|
|
|
|
|
|
fnp "t timeline FNProgress | sed -n '2p'" |
|
|
|
|
|
|
|
# ]]] games # |
|
|
|
|
|
|
|
# school [[[ # |
|
|
@ -870,11 +886,12 @@ vpd "nmcli con down id '1 - Red Hat Global VPN'" |
|
|
|
# laptop |
|
|
|
# gcfr "git config user.email 'kmok@redhat.com' && git config user.signingkey 10B001347552F396" |
|
|
|
gchk "git checkout KOGITO-" |
|
|
|
gch2 "git checkout KOGITO-2113" |
|
|
|
gch3 "git checkout KOGITO-1031-diff-3" |
|
|
|
|
|
|
|
loe "libreoffice ~/Documents/expenses/2020.ods &" |
|
|
|
loe "libreoffice ~/Documents/expenses/2021.ods &" |
|
|
|
loi "libreoffice ~/Documents/expenses/investments.ods &" |
|
|
|
ssw "mosh $WORK_LAPTOP_IP tmux a" |
|
|
|
ssw2 "mosh $WORK_LAPTOP_IP -- tmux a -t nzxt-2" |
|
|
|
ssi "mosh $WORK_LAPTOP_IP -- tmux a -t weechat" |
|
|
|
scw "scp $WORK_LAPTOP_IP:" |
|
|
|
sfw "sftp $WORK_LAPTOP_IP" |
|
|
@ -884,15 +901,32 @@ ghr "github-release" |
|
|
|
|
|
|
|
# oc [[[ # |
|
|
|
|
|
|
|
o "oc" |
|
|
|
odc "oc describe pod" |
|
|
|
odl "oc delete project" |
|
|
|
og "oc get pods -w" |
|
|
|
ol "oc logs" |
|
|
|
on "oc new-project" |
|
|
|
op "oc project" |
|
|
|
opd "oc project default" |
|
|
|
ot "oc status" |
|
|
|
o "kubectl" |
|
|
|
oa "kubectl apply -f" |
|
|
|
od "kubectl describe" |
|
|
|
odp "kubectl describe pod" |
|
|
|
odi "kubectl describe kogitoinfra" |
|
|
|
odr "kubectl describe kogitoruntime" |
|
|
|
odl "kubectl delete" |
|
|
|
odlb "kubectl delete kogitobuild" |
|
|
|
odlc "kubectl delete configmap" |
|
|
|
odlp "kubectl delete pod" |
|
|
|
odlpj "kubectl delete project" |
|
|
|
odlr "kubectl delete kogitoruntime" |
|
|
|
og "kubectl get pods" |
|
|
|
ogw "kubectl get pods -w" |
|
|
|
ogb "kubectl get kogitobuild" |
|
|
|
ogc "kubectl get configmap" |
|
|
|
ogi "kubectl get imagestream" |
|
|
|
ogn "kubectl get" |
|
|
|
ogr "kubectl get kogitoruntime" |
|
|
|
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 # |
|
|
|
|
|
|
@ -907,20 +941,28 @@ jkc "java -jar ~/java/jenkins-cli.jar -s http://localhost:8090 -auth kevin:$JENK |
|
|
|
# maven [[[ # |
|
|
|
|
|
|
|
mvc "mvn clean" |
|
|
|
mvci "mvn clean install -Dfull" |
|
|
|
mvi "mvn install -Dfull" |
|
|
|
# mvps "mvn package -DskipTests" |
|
|
|
mvp "mvn package -DskipTests" |
|
|
|
mvp "mvn clean package -DskipTests" |
|
|
|
mvpr "mvn clean package -DskipTests && ./server-control.sh start" |
|
|
|
mvt "mvn test" |
|
|
|
mvct "mvn clean test" |
|
|
|
# mvt "mvn test" |
|
|
|
# mvct "mvn clean test" |
|
|
|
|
|
|
|
# ]]] maven # |
|
|
|
|
|
|
|
mk "make -j8" |
|
|
|
mc "make clean" |
|
|
|
mct "make clean test" |
|
|
|
ml "make lint" |
|
|
|
mt "make test" |
|
|
|
# mvet "make vet" |
|
|
|
# mvett "make vet test" |
|
|
|
mvt "make vet" |
|
|
|
mvtt "make vet test" |
|
|
|
|
|
|
|
kg "kogito" |
|
|
|
mk "minikube" |
|
|
|
# mk "minikube" |
|
|
|
|
|
|
|
gor "go run" |
|
|
|
got "go test" |
|
|
@ -932,3 +974,6 @@ dki "docker image" |
|
|
|
dkis "docker images" |
|
|
|
|
|
|
|
# ]]] red-hat # |
|
|
|
|
|
|
|
# tet "ticker (cat ~/Documents/expenses/etf.md) | xclip -selection clipboard" |
|
|
|
tet "ticker (xclip -o) | xclip -selection clipboard" |
xxxxxxxxxx