Kevin Mok 1 year ago
parent
commit
fe632730ef
No known key found for this signature in database GPG Key ID: 6DEED612B26C08E2
  1. 36
      aliases/key_aliases.tmpl
  2. 137
      aliases/key_dirs.tmpl
  3. 8
      aliases/key_files.tmpl
  4. 6
      dot_config/fish/config.fish.tmpl
  5. 7
      dot_config/fish/functions/ipad/clip-ipad.fish
  6. 3
      dot_config/fish/functions/ipad/mpv-ipad.fish
  7. 3
      dot_config/fish/functions/ipad/rm-ipad.fish
  8. 3
      dot_config/fish/functions/ipad/rsync-ipad-vid.fish
  9. 2
      dot_config/i3/config.tmpl

36
aliases/key_aliases.tmpl

@ -56,6 +56,7 @@ b "bat"
# ba "bat *"
awkp "awk -F',' '{print \$0}'"
cpr "cp -r"
fdc "fd -i"
fde "fd -e"
grep "grep --color=auto -n"
grpr "grep -r"
@ -123,8 +124,7 @@ ssl "mosh --ssh='ssh -p 399' kevin@$LAPTOP_IP"
# vultr
ssa "mosh atxadmin@45.32.87.10"
ssv "mosh kevin@45.32.87.10"
# ssv "mosh kevin@45.32.87.10"
# test server sites
# svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk"
@ -161,7 +161,8 @@ 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"
lls "lsd -lF --group-dirs first --size short -Sr"
llt "lsd -lF --group-dirs first --size short -tr"
lla "lsd -AlF --group-dirs first --size short"
{{ else }}
l "ls"
@ -310,7 +311,7 @@ pg2 "ping -c 2 -W 1 8.8.8.8"
pgt "ping -c 50 -W 1 8.8.8.8"
wpg "watch ping -c 2 -W 1 8.8.8.8"
pgc "ping 8.8.8.8"
dh "sudo dhcpcd"
# dh "sudo dhcpcd"
kdh "sudo killall dhcpcd"
rdh "sudo killall dhcpcd && sudo dhcpcd"
@ -406,6 +407,7 @@ chr "google-chrome"
cht "chatterino"
# clc "cloc ."
clc "cloc . --vcs=git"
cm "compton &"
cv "cava"
dg "dragon-drag-and-drop -x"
fx "firefox -P"
@ -427,6 +429,7 @@ it "sxiv -t *"
kill "kill -9"
ka "killall"
kc "killall chromium"
kcm "killall compton"
kd "killall Discord && killall Discord"
ke "killall electron"
kf "killall firefox"
@ -436,18 +439,18 @@ kt "killall thunderbird"
kz "killall zoom"
m "mpv"
mp "mpv --volume=50"
# lo "libreoffice"
lop "libreoffice --headless --convert-to pdf --outdir ."
m "mpv"
mpvv "mpv --volume=50"
mpl "mpv --loop"
msf "mpv --sub-file="
mna "mpv --no-audio"
mnv "mpv --no-video"
# lo "libreoffice"
lop "libreoffice --headless --convert-to pdf --outdir ."
mra "man ranger"
# mt "minetest"
n "nvim"
nl "nload devices wlp4s0 -u M"
nm "nomacs ."
nmd "nomacs ."
nm "nomacs . &"
np "nvim --"
ndu "ncdu"
p3 "python3"
@ -497,13 +500,13 @@ tnb "tmux new -s backup"
#]]]
usn "usernames --num 20"
vmd "vimdiff"
wg "wego"
# wg "wego"
ytd "youtube-dl"
wcl "wc -l"
wcw "wc -w"
wch "weechat"
# wg "wego"
wg "curl wttr.in"
# wg "curl wttr.in"
# wg "curl -L wthr.ml"
wgm "curl -L wthr.ml/m"
wgt "curl -L wthr.ml/t"
@ -519,9 +522,12 @@ trx "tar xvzf"
# p "pass"
# pc "pass -c"
pe "pass edit"
pei "pass edit info"
pi "pass insert -m"
pg "pass generate -c"
ps "pass show"
psi "pass show info | bat"
pev "pass edit finances/visa"
xc "xclip -selection clipboard"
xo "xclip -o >"
@ -999,12 +1005,13 @@ twf "watch -n300 'twitchy-game Fortnite'"
lob "lsd -F --group-dirs first 2020*.mkv"
wob "watch -n60 'lsd -lF --group-dirs first --size short 2020*.mkv'"
fnp "t timeline FNProgress | sed -n '2p'"
fnpr "t timeline FNProgress | sed -n '2p'"
fnu "sxiv ~/Documents/fortnite/pics/maps/upgrade.png &"
mip "ifuse /mnt/ipad"
umip "fusermount -u /mnt/ipad"
fd1 "fd --changed-within 1d > cp.txt"
ofa "lsof | grep '101APPLE'"
ttrtk "timetrace report -s 2023-04-20 -p totk"
@ -1022,6 +1029,7 @@ zs "zathura --fork syllabus.pdf"
pvabn "npm run serve:localhost"
pvafn "npm run start:localhost"
ssv "ssh -p 3022 kevin@127.0.0.1"
# ]]] school #
@ -1123,10 +1131,10 @@ mb4 "make before-pr"
mbc "make build-cli && scp build/_output/bin/kogito $WORK_LAPTOP_IP:/home/kmok/go/bin"
mc "make clean"
mct "make clean test"
mi "make install"
# mi "make install"
ml "make lint"
mr "make run"
mt "make test"
# mt "make test"
# mvet "make vet"
# mvett "make vet test"
mvt "make vet"

137
aliases/key_dirs.tmpl

@ -1,4 +1,4 @@
# vim: fdm=marker ft=sh.go-template syntax=sh
# Vim: Fdm=MaRkEr Ft=Sh.Go-TeMpLaTe SyNtAx=Sh
# sys [[[ #
@ -16,8 +16,10 @@ lc ~/linux-config
lf /mnt/linux-files
lf2 /mnt/linux-files-2
lfp /mnt/linux-files/Pictures
lfp2 /mnt/linux-files-2/Pictures
lfv /mnt/linux-files/Videos
lfv2 /mnt/linux-files-2/Videos
lfv2s /mnt/linux-files-2/Videos/shows
lfy /mnt/linux-files/Videos/yt
me /run/media/kevin
o /
@ -70,7 +72,7 @@ ft ~/coding/face-tracker
hv ~/Documents/hevin
hvs ~/Documents/hevin/shopping
j ~/Documents/journal
jt ~/Documents/journal/todo
jt ~/Documents/journal/todo/23
# lh ~/Documents/listening-history
mmd ~/coding/move-mouse-with-head
mh ~/coding/mf-site/layouts
@ -129,7 +131,7 @@ tkp ~/Pictures/totk
# codm [[[ #
cm ~/Documents/codm
# cm ~/Documents/codm
cs ~/Documents/codm/site
csi ~/Documents/codm/site/static/images
Css ~/Pictures/screenshots/mobile/codm
@ -143,6 +145,7 @@ fnc /mnt/linux-files/Videos/yt/fortnite/clips/4
fni /mnt/ipad/DCIM/100APPLE
fnm ~/Documents/fortnite/pics/maps
fnn ~/Documents/fortnite/notes
fnp ~/Documents/fortnite/pics
fns ~/Documents/fortnite/stats/api
fnsp ~/Documents/fortnite/stats/pics
fnv /mnt/linux-files/Videos/personal-fortnite-games/review
@ -164,62 +167,19 @@ wo ~/Documents/workout-logs/7
dap /mnt/linux-files-2/Pictures/ipad
dau /mnt/linux-files-2/Videos/ipad/unsorted
# ]]] gaming #
# sch [[[ #
sdvm ~/.local/share/Steam/steamapps/common/Stardew\ Valley/Mods/
sdvss ~/.local/share/StardewValley/Screenshots/
sdvsv ~/.config/StardewValley/Saves
sdvsvg ~/Documents/stardew-valley-sdv-saves/hevintales
sc ~/school
lt ~/school/latex-notes
ltc ~/coding/leetcode
sl ~/
es ~/coding/estuary
esw ~/coding/estuary-www
4 ~/school/494
4d ~/school/494/design
4dm ~/school/494/design/meetings
4dp ~/school/494/design/provotu
4p ~/school/494/papers
vt ~/coding/dao-voting
ovn ~/coding/dao-voting/anonymousvoting/contracts
# provotum [[[ #
pv ~/coding/dao-voting/provotum-v2
pva ~/coding/dao-voting/provotum-v2/voting-authority
pvab ~/coding/dao-voting/provotum-v2/voting-authority/backend
pvaf ~/coding/dao-voting/provotum-v2/voting-authority/frontend
pvac ~/coding/dao-voting/provotum-v2/access-provider-backend
pvf ~/coding/dao-voting/provotum-v2/voter-frontend/src
pvc ~/coding/dao-voting/provotum-v2/contracts/contracts/FiniteField
pvs ~/coding/dao-voting/provotum-v2/sealer
pvsb ~/coding/dao-voting/provotum-v2/sealer/backend/src
pvsf ~/coding/dao-voting/provotum-v2/sealer/frontend/src
pvs1 /mnt/linux-files-2/coding/dao-voting/sealer-1/sealer/backend
pvs1f /mnt/linux-files-2/coding/dao-voting/sealer-1/sealer/frontend
pvs2 /mnt/linux-files-2/coding/dao-voting/sealer-2/sealer/backend
pvs2f /mnt/linux-files-2/coding/dao-voting/sealer-2/sealer/frontend
pvs3 /mnt/linux-files-2/coding/dao-voting/sealer-3/sealer/backend
pvs3f /mnt/linux-files-2/coding/dao-voting/sealer-3/sealer/frontend
pvg ~/coding/dao-voting/pv-ganache
bd ~/coding/dao-voting/besu-deploy
gt ~/coding/dao-voting/ganache-tx
# ]]] provotum #
e ~/school/ess
# ]]] sch #
# ]]] gaming #
# pey [[[ #
atx ~/Documents/ataraxy-venture
em ~/Documents/emails
li ~/Documents/linkedin
lic ~/Documents/linkedin/msgs
lim ~/Documents/linkedin/msgs
rh ~/Documents/red-hat
rhc ~/Documents/red-hat/chat
rhe ~/Documents/red-hat/emails
@ -288,10 +248,83 @@ nxo ~/coding/kogito/nexus-operator
mb ~/coding/mint-bot
pfps ~/Pictures/profile-pics/sappy-seals
pfpk ~/Pictures/profile-pics/gm-cafe/keek
pfpr ~/Pictures/profile-pics/reddit-avatars
nft ~/Documents/nft
# ]]] nft #
# sch [[[ #
sc ~/school
lt ~/school/latex-notes
ltc ~/coding/leetcode
# 494 [[[ #
4 ~/school/494
4d ~/school/494/design
4dm ~/school/494/design/meetings
4dp ~/school/494/design/provotu
4p ~/school/494/papers
vt ~/coding/dao-voting
ovn ~/coding/dao-voting/anonymousvoting/contracts
# provotum [[[ #
pv ~/coding/dao-voting/provotum-v2
pva ~/coding/dao-voting/provotum-v2/voting-authority
pvab ~/coding/dao-voting/provotum-v2/voting-authority/backend
pvaf ~/coding/dao-voting/provotum-v2/voting-authority/frontend
pvac ~/coding/dao-voting/provotum-v2/access-provider-backend
pvf ~/coding/dao-voting/provotum-v2/voter-frontend/src
pvc ~/coding/dao-voting/provotum-v2/contracts/contracts/FiniteField
pvs ~/coding/dao-voting/provotum-v2/sealer
pvsb ~/coding/dao-voting/provotum-v2/sealer/backend/src
pvsf ~/coding/dao-voting/provotum-v2/sealer/frontend/src
pvs1 /mnt/linux-files-2/coding/dao-voting/sealer-1/sealer/backend
pvs1f /mnt/linux-files-2/coding/dao-voting/sealer-1/sealer/frontend
pvs2 /mnt/linux-files-2/coding/dao-voting/sealer-2/sealer/backend
pvs2f /mnt/linux-files-2/coding/dao-voting/sealer-2/sealer/frontend
pvs3 /mnt/linux-files-2/coding/dao-voting/sealer-3/sealer/backend
pvs3f /mnt/linux-files-2/coding/dao-voting/sealer-3/sealer/frontend
pvg ~/coding/dao-voting/pv-ganache
bd ~/coding/dao-voting/besu-deploy
gt ~/coding/dao-voting/ganache-tx
# ]]] provotum #
# ]]] 494 #
# ess [[[ #
e ~/school/ess
en ~/school/ess/notes
er ~/school/ess/rough-draft
ern ~/school/ess/rough-draft/notes
ei ~/school/ess/individ-map
es ~/school/ess/story
# ess ]]] #
arc ~/school/arc
egy ~/school/egypt
ggr ~/school/ggr
jf ~/school/job-fair
# ]]] sch #
# personal [[[ #
lw ~/Documents/lawrence
hih /mnt/linux-files-2/Videos/hot-in-herre
bb /mnt/linux-files-2/Pictures/bball
dh ~/Pictures/drake-hoodie
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
# ]]] personal #

8
aliases/key_files.tmpl

@ -45,7 +45,7 @@ hh ~/.habitctl/habits
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
id ~/Documents/journal/todo/ideas.md
ig ./.gitignore
jt ~/Documents/journal/todo/23/3.md
jt ~/Documents/journal/todo/23/9.md
k ~/linux-config/dot_config/kitty/kitty.conf
lh ~/Documents/listening-history/polarbier.csv
mc ~/coding/mf-site/assets/sass/main.scss
@ -84,12 +84,14 @@ cra ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/data/default/attrib
crm ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/data/default/monsters.json
fn ~/Documents/fortnite/notes/fortnite-notes.md
fb ~/Documents/fortnite/notes/building-drills.md
fw ~/Documents/fortnite/notes/warmup.md
fp ~/Documents/fortnite/notes/post.md
fv ~/Documents/fortnite/notes/vods.md
mta ~/.minetest/clientmods/custom_aliases/init.lua
cmr ~/Documents/codm/discord-recruitment.md
nb ~/Documents/chat/discord/pistol.md
pk ~/Downloads/pokecord/pokecord2.md
sdv ~/Documents/stardew-valley-sdv/notes.md
tc /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader/clips.txt
tdb ~/Documents/journal/todo/b.md
@ -109,10 +111,14 @@ rd ~/Documents/red-hat/dates.md
rm ~/Documents/red-hat/meeting.md
rt ~/Documents/red-hat/todo.md
lip ~/Documents/linkedin/linkedin-profile.md
# ]]] pey #
nf ~/Documents/twitter/nft.md
ra ~/Documents/chat/reddit/avatar.md
ds ~/Documents/nft/deep-sea-research.md
wd ~/Documents/journal/personal/weed.md
wo ~/Documents/workout-logs/7/running.md
str ~/Documents/workout-logs/stretching.md

6
dot_config/fish/config.fish.tmpl

@ -97,6 +97,8 @@ set -x DB_NAME "covid_monitor"
set -x FULLNODE_API_INFO wss://api.chain.love
set -x IPAD_IMG 17
# ]]] universal var's #
# fish-specific [[[ #
@ -173,6 +175,7 @@ abbr bupp "backup-phone-pics"
abbr ca "cad-to-us"
abbr cccs "sync-alt-cal class"
abbr cl "clip"
abbr cli "clip-ipad"
abbr cpc "copy cat"
abbr cpe "copy echo"
abbr cpp "copy echo (pwd)"
@ -209,6 +212,7 @@ abbr i "sxiv-silent"
abbr lo "libreoffice-silent"
abbr ma "man-vim task"
abbr mat "math"
abbr mi "mpv-ipad"
abbr mn "man-vim"
abbr mdf "mkdir-cd"
abbr mtm "maven-test-method"
@ -221,6 +225,8 @@ abbr re "reminder ''"
abbr rf "refresh-config"
abbr rl "readlink-cp"
abbr rds "redshift-set"
abbr rmi "rm-ipad"
abbr rsi "rsync-ipad-vid"
abbr scf "scp-vid fn"
abbr sma "smol-add"
abbr smd "smol-delete"

7
dot_config/fish/functions/ipad/clip-ipad.fish

@ -0,0 +1,7 @@
function clip-ipad
if test (count $argv) -eq 3
ffmpeg -ss $argv[1] -i IMG_$IPAD_IMG$argv[2].MP4 -codec copy $argv[3]
else
ffmpeg -ss $argv[1] -to $argv[2] -i IMG_$IPAD_IMG$argv[3].MP4 -codec copy $argv[4]
end
end

3
dot_config/fish/functions/ipad/mpv-ipad.fish

@ -0,0 +1,3 @@
function mpv-ipad
mpv IMG_$IPAD_IMG$argv[1].MP4
end

3
dot_config/fish/functions/ipad/rm-ipad.fish

@ -0,0 +1,3 @@
function rm-ipad
rm IMG_$IPAD_IMG$argv[1].MP4
end

3
dot_config/fish/functions/ipad/rsync-ipad-vid.fish

@ -0,0 +1,3 @@
function rsync-ipad-vid
rsync --ignore-existing -Ptr IMG_$IPAD_IMG$argv[1].MP4 /mnt/linux-files-2/Videos/ipad/fortnite/name
end

2
dot_config/i3/config.tmpl

@ -22,7 +22,7 @@ exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editi
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
# exec --no-startup-id i3-msg 'workspace $ws5; exec $term -e twitchy'
# exec --no-startup-id i3-msg 'workspace $ws5; exec firefox -P nft'
exec --no-startup-id i3-msg workspace $ws6; exec discord
# exec --no-startup-id i3-msg workspace $ws6; exec discord
# exec --no-startup-id i3-msg workspace $ws1; exec $term -e fish -c 'tmux-attach school'
# ]]] startup #

Loading…
Cancel
Save