This commit is contained in:
2019-12-29 19:01:31 -05:00
parent dd5b0c8179
commit 2a60472dcb
23 changed files with 186 additions and 70 deletions

View File

@@ -14,7 +14,7 @@ fi "fish"
# reload urxvt
ru "xrdb ~/.Xresources && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null"
dua "sudo du -h --apparent-size | sort -h"
dua "du -ah --apparent-size | sort -h"
# list file sizes in megabytes with depth 1
# duh "sudo du -d 1 -h --apparent-size | sort -h"
# dum "sudo du -d 1 -m --apparent-size | sort -h"
@@ -31,8 +31,8 @@ td "tldr"
xr "xrandr"
{{ if eq .chezmoi.fullHostname "nzxt" }}
xrn "xrandr --output HDMI-0 --rotate normal"
xrr "xrandr --output HDMI-0 --rotate right"
xrn "xrandr --output HDMI-0 --rotate normal && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null"
xrr "xrandr --output HDMI-0 --rotate right && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null"
{{ end }}
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
@@ -45,7 +45,7 @@ xrs "xrandr -s 0"
# ]]] display #
ngb "sudo nvim /etc/default/grub"
mkgb "sudo grub-mkconfig -o /boot/grub/grub.cfg"
mgb "sudo grub-mkconfig -o /boot/grub/grub.cfg"
# a "bat"
ba "bat"
@@ -91,8 +91,8 @@ ssd "mosh --ssh='ssh -p 399' kevin@165.22.239.234 tmux a"
sdh "mosh --ssh='ssh -p 399' kevin@165.22.239.234 htop"
sfd "sftp -P 399 kevin@165.22.239.234"
# phone
ssp "mosh --ssh='ssh -p 8022' 192.168.0.13"
sfp "sftp -P 8022 192.168.0.13"
ssp "mosh --ssh='ssh -p 8022' 192.168.0.14"
sfp "sftp -P 8022 192.168.0.14"
# test server sites
# svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk"
# postgres ssh tunnel
@@ -259,7 +259,7 @@ spipi "sudo pip install"
# internet [[[ #
pg "ping -c 2 -W 1 8.8.8.8"
pg2 "ping -c 2 -W 1 8.8.8.8"
pgc "ping 8.8.8.8"
dh "sudo dhcpcd"
kdh "sudo killall dhcpcd"
@@ -286,15 +286,21 @@ mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
# applications [[[ #
# silent="> /dev/null 2>&1& "
13 "rot13"
am "antimicro"
# task [[[ #
a "task"
aa "task add"
aal "task add proj:lnx"
aam "task add proj:mny"
aam "task add proj:ms"
aamy "task add proj:mny"
aap "task add proj:"
aacm "task add proj:codm"
aacr "task add proj:crim"
aas "task add proj:sch"
aa2 "task add proj:sch +c324"
aa8 "task add proj:sch +c384"
aay "task add proj:pey"
ac "task context"
acn "task context none && task"
@@ -302,11 +308,13 @@ ach "task context home && task"
aco "task context out && task"
acs "task context sch && task"
af "task proj:"
afcm "task proj:codm"
afcr "task proj:crim"
apl "task completed"
al "task limit:15"
alg "task log"
ans "task +next"
ao "taskopen"
ao "taskopen -A"
asm "task summary"
awt "task waiting"
ay "task sync"
@@ -359,7 +367,7 @@ kd "killall Discord && killall Discord"
kr "killall electron"
kt "killall thunderbird"
lio "libreoffice"
mp "mpv --volume=50"
# mpv "mpv --volume=50"
mra "man ranger"
# mt "minetest"
n "nvim"
@@ -384,11 +392,18 @@ stp "termdown"
# sw "swex"
t "tmux"#[[[
ta "tmux a -t"
ta2 "tmux a -t 324 || tmux new -s 324"
ta22 "tmux a -t 324-2 || tmux new -s 324-2"
ta8 "tmux a -t 384 || tmux new -s 384"
ta82 "tmux a -t 384-2 || tmux new -s 384-2"
tacf "tmux a -t config || tmux new -s config"
tacm "tmux a -t codm || tmux new -s codm"
tacr "tmux a -t crimson || tmux new -s crimson"
taj "tmux a -t journal || tmux new -s journal"
tal "tmux a"
tc "clear && tmux clear-history"
tk "tmux kill-server"
tk "tmux kill-session -t"
tks "tmux kill-server"
tl "tmux ls"
tn "tmux new -s"
tnb "tmux new -s backup"
@@ -408,12 +423,12 @@ trx "tar xvzf"
# pass [[[ #
ps "pass"
psc "pass -c"
pse "pass edit"
psi "pass insert -m"
psg "pass generate -c"
pss "pass show"
p "pass"
pc "pass -c"
pe "pass edit"
pi "pass insert -m"
pg "pass generate -c"
ps "pass show"
xc "xclip -selection clipboard"
yh "echo 'kevin.mok@live.ca' | xclip -selection clipboard"
@@ -430,6 +445,7 @@ w "watson"
# start [[[ #
wa "watson start"
wacm "watson start fun +cod-mobile"
wae "watson start && watson edit"
wad "watson add -f '' -t ''"
@@ -452,14 +468,14 @@ wt "watson status"
# log/report [[[ #
wl "watson log -Gcd"
wla "watson log -Gca -p"
wlat "watson log -Gca -T"
wla "watson log -Gcap"
wlat "watson log -GcaT"
ww "watson log -Gc"
wwb "watson log -Gc | bat"
wr "watson report -Gcd"
wra "watson report -Gca -p"
wra "watson report -Gcap"
wram "watson report -Gca | rg -S '^\w.*-\s\d*h' | sort -t' ' -hk3 | sed 's/ - /,/' | xsv table"
wrat "watson report -Gca -T"
wrat "watson report -GcaT"
wrw "watson report -Gc"
# ]]] log/report #
@@ -485,9 +501,11 @@ gbu "git branch --no-merged"
gbm "git branch --merged"
gsm "git submodule"
gsma "git submodule add"
gsmi "git submodule init"
gsmp "git submodule foreach git pull"
gsmu "git submodule update --recursive --remote"
gmg "git merge"
gmgts "git merge -X theirs"
gmgt "git mergetool"
@@ -507,11 +525,14 @@ gru "git branch --set-upstream-to=origin/master master"
ga "git add -A && git status -u"
gac "git add -A && git commit -S"
gaf "git add -f"
gal "git lfs track"
# unsigned commt
gacu "git add -A && git commit"
glf "git lfs"
glfi "git lfs install"
glfp "git lfs pull"
glft "git lfs track *"
grm "git rm"
grmf "git rm -f"
@@ -531,7 +552,7 @@ gdt "git difftool -w --tool=vimdiff"
gdtc "git difftool -w --cached --tool=vimdiff"
gl "git log"
glm "git log master"
gsl "git shortlog"
# gsl "git shortlog"
# ]]] diff/log #
@@ -556,6 +577,7 @@ gheadm1 "git reset --hard HEAD~1"
gls "git ls-tree HEAD --name-only"
gchp "git cherry-pick"
gchpt "git cherry-pick --strategy=recursive -X theirs"
gchpc "git cherry-pick --continue"
gst "git stash"
@@ -729,6 +751,8 @@ wlm "watson log --all --project=minetest"
wrm "watson report --all --project=minetest"
wamv "watson start minetest +video"
# minetest [[[ #
mtg "minetest"
mts "minetestserver"
mtsc "minetestserver --gameid minetest --worldname Creative --terminal"
@@ -737,9 +761,13 @@ mtsh "minetestserver --gameid mineclone2 --worldname Hevin-MC --config ~/.minete
mtsv "minetestserver --gameid minimal --worldname Test --terminal"
# mtrsy "rsync -vr .minetest/ /mnt/linux-files/.minetest/"
# ]]] minetest #
tet "pandoc -f markdown -t html twitch-emote-conversion.md | xclip -selection clipboard"
shrg "printf '¯\\\\\\\\\\_(ツ)_/¯' | xclip -selection clipboard"
dce "mono DiscordChatExporter.Cli.exe"
# ]]] games #
# school [[[ #
@@ -751,13 +779,18 @@ gpa "column -ts',' ~/Documents/gpa.md"
ssc "mosh mokkar@teach.cs.utoronto.ca"
# 324
rhs "clear && tmux clear-history && runhaskell Ex3.hs"
# hk "clear && tmux clear-history && runhaskell TestChups.hs"
hk "clear && tmux clear-history && runhaskell"
rk "clear && tmux clear-history && raco test"
rki "racket -l racket/base -i"
rke "clear && tmux clear-history && raco test ex1.rkt"
rkr "clear && tmux clear-history && racket"
rki "racket -l racket/base -i"
# 384
rgp "clear && tmux clear-history && rg -S -t py"
8aa "clear && tmux clear-history && python2 autograder.py"
# 8ap "python2 plane_scheduling.py"
8aq "clear && tmux clear-history && python2 autograder.py --no-graphics -q q6"
8at "clear && tmux clear-history && python2 autograder.py --no-graphics -t test_cases/q6/1-JointParticleObserve"
# ]]] school #

View File

@@ -12,10 +12,10 @@ D ~/Documents
k ~/
lc ~/linux-config
lf /mnt/linux-files
lfv /mnt/linux-files/Videos
Lfv /mnt/linux-files/Videos
me /run/media/kevin
o /
p ~/.password-store
pd ~/.password-store
P ~/Pictures
std ~/st
# tm /tmp
@@ -37,6 +37,7 @@ drk ~/coding/dark-sky
hbd ~/.habitctl
ib ~/linux-config/dot_config/i3blocks/scripts
ra ~/linux-config/dot_config/ranger
rd ~/Documents/red-discord-bot
sr ~/linux-config/scripts
snp ~/.vim/plugged/vim-snippets/UltiSnips
sw ~/.local/share/nvim/swap/
@@ -52,12 +53,14 @@ j ~/Documents/journal
lh ~/Documents/listening-history
mmd ~/coding/move-mouse-with-head
ms ~/coding/mf-site
mh ~/coding/mf-site/layouts
# mg ~/coding/best-mf-site-personal
ml ~/coding/mf-site/content/letter
mp ~/coding/mf-site/static/pdf
pn ~/coding/red-discord-bot
sv ~/coding/spotify-lib-vis/src
svg ~/coding/spotify-lib-vis/src/graphs/static/graphs/scripts
swd ~/coding/swex
tb ~/coding/trapbot/src/trapbot
ur ~/coding/uranium-godot
wo ~/Documents/workout-logs
# gaming [[[ #
@@ -69,7 +72,7 @@ mta ~/.minetest/clientmods/custom_aliases
mtc ~/.minetest/games/mineclone2/mods
mtm ~/.minetest/minetest
pk ~/Downloads/gba/mgba/pokemon/emerald/1
# pk ~/Downloads/gba/mgba/pokemon/emerald/1
# ]]] gaming #
@@ -85,16 +88,27 @@ adP ~/Pictures/ada-mario
# ]]] cdn #
cm ~/Documents/codm
cs ~/Documents/codm/site
csi ~/Documents/codm/site/static/images
Css ~/Pictures/screenshots/mobile/codm
# sch [[[ #
sc ~/school
lt ~/school/latex-notes
# 324
2 ~/school/324
2e ~/school/324/e/3
2a ~/school/324-a2
2e ~/school/324/e/10
2f ~/school/324/final
2l ~/school/324/l/9
2m ~/school/324/midterm
# 384
8 ~/school/384
8a ~/school/384/a1
8t ~/school/latex-notes/384/a1
8a ~/school/384/a4
# 8t ~/school/latex-notes/384/a2
# ]]] sch #

View File

@@ -56,8 +56,8 @@ tt txt/todo.md
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
tp /tmp/
tw ~/linux-config/dot_taskrc
w ~/.config/watson/state.tmp
wh ~/Documents/journal/todo/work-habit.md
wt ~/.config/watson/state.tmp
# ]]] cdn #
@@ -81,4 +81,8 @@ wt ~/.config/watson/state.tmp
# ]]] sch #
# gaming
cra ~/Documents/red-discord-bot/repos/gobcog/adventure/data/default/attribs.json
crm ~/Documents/red-discord-bot/repos/gobcog/adventure/data/default/monsters.json
mta ~/.minetest/clientmods/custom_aliases/init.lua
pk ~/Downloads/pokecord/pokecord2.md