Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

723 lines
16 KiB

6 years ago
5 years ago
6 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
5 years ago
5 years ago
6 years ago
  1. # vim: fdm=marker ft=go-template.sh syntax=sh
  2. # system [[[
  3. # basic [[[ #
  4. # clear screen
  5. c "printf '\033c'"
  6. d "cd ~/Downloads && printf '\033c'"
  7. hst "history"
  8. nft "printf '\033c' && neofetch | lolcat"
  9. # nft "printf '\033c' && neofetch"
  10. fi "fish"
  11. # reload urxvt
  12. ru "xrdb ~/.Xresources && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null"
  13. dua "sudo du -h --apparent-size | sort -h"
  14. # list file sizes in megabytes with depth 1
  15. # duh "sudo du -d 1 -h --apparent-size | sort -h"
  16. # dum "sudo du -d 1 -m --apparent-size | sort -h"
  17. duh "du -d 1 -h --apparent-size | sort -h"
  18. dum "du -d 1 -m --apparent-size | sort -h"
  19. # m "man"
  20. tld "tldr"
  21. # ]]] basic #
  22. # display [[[ #
  23. # nvt "nvidia-settings --assign CurrentMetaMode='DVI-I-1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}, HDMI-0: nvidia-auto-select +3840+0 {ForceCompositionPipeline=On}'"
  24. {{ if eq .chezmoi.fullHostname "x1-carbon" }}
  25. xr "xrandr"
  26. xro "xrandr --output HDMI2 --off"
  27. xrr "xrandr --output HDMI2 --auto --right-of eDP1 --scale 1.33x1.33"
  28. xrm "xrandr --output HDMI2 --auto --same-as eDP1 --scale 1.33x1.33"
  29. xrs "xrandr -s 0"
  30. {{ end }}
  31. # ]]] display #
  32. ngb "sudo nvim /etc/default/grub"
  33. mkgb "sudo grub-mkconfig -o /boot/grub/grub.cfg"
  34. # a "bat"
  35. ba "bat"
  36. # ba "bat *"
  37. awkp "awk -F',' '{print \$0}'"
  38. grep "grep --color=auto -n"
  39. grpr "grep -r"
  40. rg "rg -S"
  41. # pk "pkill -f"
  42. cld "colordiff -wy --suppress-common-lines"
  43. mkpk "makepkg -sri"
  44. ex "chmod +x"
  45. lns "ln -s"
  46. # systemctl [[[ #
  47. ct "sudo systemctl"
  48. cte "sudo systemctl enable"
  49. ctd "sudo systemctl daemon-reload"
  50. ctdi "sudo systemctl disable"
  51. cta "sudo systemctl start"
  52. cts "sudo systemctl stop"
  53. ctt "sudo systemctl status"
  54. # ctr "sudo systemctl restart"
  55. ctltd "sudo systemctl status dhcpcd"
  56. ctlas "sudo systemctl start sshd"
  57. nct "sudo netctl"
  58. nctf "sudo ip link set dev wlp3s0 down"
  59. nctr "sudo systemctl restart netctl-auto@wlp4s0.service"
  60. # ]]] systemctl #
  61. # ssh [[[ #
  62. cpssh "ssh-copy-id -i ~/.ssh/id_rsa.pub"
  63. xcssh "bat ~/.ssh/id_rsa.pub | xclip -selection clipboard"
  64. sp "mosh --ssh='ssh -p 8022' 192.168.0.12"
  65. ssd "mosh --ssh='ssh -p 399' kevin@165.22.239.234 tmux a"
  66. sfd "sftp -P 399 kevin@165.22.239.234"
  67. sdh "mosh --ssh='ssh -p 399' kevin@165.22.239.234 htop"
  68. # test server sites
  69. svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk"
  70. # postgres ssh tunnel
  71. sdt "ssh kevin@165.22.239.234 -L 5433:localhost:5432"
  72. # ]]] ssh #
  73. wh "watch"
  74. ct "crontab"
  75. cte "crontab -e"
  76. wm "sudo wifi-menu"
  77. # mounting [[[ #
  78. udm "udisksctl mount -b"
  79. udmb "udisksctl mount -b /dev/sdc2"
  80. udu "udisksctl unmount -b"
  81. udub "udisksctl unmount -b /dev/sdc2"
  82. # ]]] mounting #
  83. tc "touch"
  84. vdr "vidir --verbose"
  85. # directory-related [[[ #
  86. {{ if not (eq .linux_os "termux") }}
  87. l "lsd -F --group-dirs first"
  88. la "lsd -AF --group-dirs first"
  89. ll "lsd -lF --group-dirs first --size short"
  90. lla "lsd -AlF --group-dirs first --size short"
  91. {{ else }}
  92. l "ls"
  93. la "ls -a"
  94. ll "ls -l"
  95. lla "ls -al"
  96. {{ end }}
  97. cwd "echo (pwd) | xclip -selection clipboard"
  98. smv "sudo mv"
  99. f "cd"
  100. fz "fzf -e"
  101. fbg "cd ~/Pictures/Backgrounds && ranger --selectfile (fzf -e --delimiter '/' --with-nth -1)"
  102. fnd "find . -type f -name"
  103. rmr "rm -rf"
  104. rmd "rm ~/Downloads/*"
  105. rmw "rm ~/.local/share/nvim/swap/"
  106. md "mkdir -p"
  107. rsy "rsync -Pr"
  108. # list all (un)mounted drives
  109. lhd "sudo fdisk -l"
  110. # get disc space for mounted drives
  111. # ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null"
  112. ds "df -h | head -n 1 && df -h | grep sd"
  113. chownw "sudo chown -R kevin:wheel"
  114. chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}"
  115. # cd into backup folder and show backup sizes
  116. nbu "cd /run/media/kevin/backup-hd/{{ .chezmoi.fullHostname }}/tar && lsd -l"
  117. # ]]] directory-related #
  118. # power options [[[ #
  119. s "systemctl suspend"
  120. x "exit"
  121. so "xset dpms force off"
  122. sd "tmux kill-server; systemctl poweroff"
  123. rb "systemctl reboot"
  124. lo "i3-msg exit"
  125. xm "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE"
  126. X "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE"
  127. {{ if eq .chezmoi.fullHostname "x1-carbon" }}
  128. xl "xmodmap ~/.Xmodmap-laptop && xset r rate $XSET_DELAY $XSET_RATE"
  129. XL "xmodmap ~/.Xmodmap-laptop && xset r rate $XSET_DELAY $XSET_RATE"
  130. bt "~/linux-config/dot_config/i3blocks/scripts/executable_battery"
  131. {{ end }}
  132. # ]]] power options #
  133. # sound [[[ #
  134. {{ if eq .chezmoi.fullHostname "nzxt" }}
  135. vlm "alsamixer -c 0"
  136. vlh "alsamixer -c 2"
  137. {{ else }}
  138. vlm "alsamixer -c 1"
  139. {{ end }}
  140. # ]]] sound #
  141. # pkg management [[[ #
  142. {{ if eq .linux_os "arch" }}#[[[
  143. # pacman [[[ #
  144. # pc "sudo pacman -S"
  145. # pcq "sudo pacman -Qi"
  146. # pcr "sudo pacman -Rns"
  147. # pcud "sudo pacman -Sy"
  148. # pcug "sudo pacman -Syu"
  149. # xpc "pacman -Qqne > ~/{{ .chezmoi.os }}-config/txt/{{ .chezmoi.fullHostname }}-pkgs.txt && pacman -Qqme > ~/{{ .chezmoi.os }}-config/txt/{{ .chezmoi.fullHostname }}-aur.txt "
  150. # ]]] pacman #
  151. # tri "trizen -S --noconfirm"
  152. tri "trizen -S --noedit"
  153. # yay [[[ #
  154. # install
  155. ya "yay -S --answerclean=None --answerdiff=None --answeredit=None"
  156. # info
  157. yaq "yay -Qi"
  158. # list files
  159. yal "yay -Ql"
  160. # remove
  161. yar "yay -Rns"
  162. # search
  163. yas "yay -Qs"
  164. # sync
  165. yau "yay -Sy"
  166. # sync and download
  167. yadl "yay -Syuw --answerclean=None --answerdiff=None --answeredit=None"
  168. # sync and update
  169. yaug "yay -Syu --answerclean=None --answerdiff=None --answeredit=None"
  170. # ]]] yay #
  171. #]]]
  172. {{ else if eq .linux_os "termux" }}#[[[
  173. pki "pkg install"
  174. pkli "pkg list-installed"
  175. pku "pkg uninstall"
  176. pks "pkg search"
  177. xpk "pkg list-installed | awk -F/ '{print \$1}' > ~/{{ .chezmoi.os }}-config/txt/termux-pkgs.txt"
  178. {{ end }}#]]]
  179. # apt [[[ #
  180. {{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }}
  181. ap "apt install"
  182. apr "apt remove"
  183. apu "apt upgrade"
  184. {{ end }}
  185. # ]]] apt #
  186. # ]]] pkg management #
  187. # python [[[ #
  188. py "python"
  189. # pyt "printf '\033c' && pytest -vvs"
  190. pyt "clear && tmux clear-history && pytest -vvs"
  191. pyts "clear && tmux clear-history && pytest -vv"
  192. pyu "python -m unittest"
  193. pipi "pip install --user"
  194. spipi "sudo pip install"
  195. # ]]] python #
  196. # internet [[[ #
  197. pg "ping -c 2 -W 1 8.8.8.8"
  198. pgc "ping 8.8.8.8"
  199. dh "sudo dhcpcd"
  200. kdh "sudo killall dhcpcd"
  201. rdh "sudo killall dhcpcd && sudo dhcpcd"
  202. wgt "wget"
  203. {{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }}
  204. nt "nginx -t"
  205. {{ end }}
  206. # ]]] internet #
  207. whc "which"
  208. fl "file"
  209. id "identify"
  210. # rz "source ~/{{ .chezmoi.os }}-config/aliases/zsh_aliases"
  211. mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
  212. # mst "sudo ~/st/make-st.sh"
  213. # system ]]]
  214. # applications [[[ #
  215. # silent="> /dev/null 2>&1& "
  216. am "antimicro"
  217. # task [[[ #
  218. a "task"
  219. aa "task add"
  220. ac "task context"
  221. acn "task context none && task"
  222. ach "task context home && task"
  223. aco "task context out && task"
  224. acs "task context sch && task"
  225. acpl "task completed"
  226. ao "taskopen"
  227. asm "task summary"
  228. awt "task waiting"
  229. ay "task sync"
  230. # ]]] task #
  231. # buku [[[ #
  232. # b "buku"
  233. bd "buku -za '"
  234. bdb "sqlitebrowser ~/.local/share/buku/bookmarks.db &"
  235. bh "buku -h | bat"
  236. bi "buku --immutable 1 -zu"
  237. bo "buku -o"
  238. bp "buku -p"
  239. br "buku -zd"
  240. brp "buku --replace"
  241. bs "buku --deep -n5 -s"
  242. bsq "sqlitebrowser ~/.local/share/buku/bookmarks.db &"
  243. bsv "bukuserver run --host 127.0.0.1 --port 5001"
  244. bt "buku --deep -n5 -t"
  245. bu "buku -zu"
  246. but "buku -zu --tag"
  247. bw "buku --immutable 1 -zw -1"
  248. # ]]] buku #
  249. cc "calcurse"
  250. ccc "calcurse -D ~/.calcurse/alt-cals/class"
  251. ccs "calcurse-caldav"
  252. chr "google-chrome"
  253. clc "cloc ."
  254. cv "cava"
  255. dg "dragon-drag-and-drop -x"
  256. ffx "firefox"
  257. fh "feh"
  258. fi "fish"
  259. gpd "gpg --decrypt"
  260. gpe "gpg --encrypt --recipient"
  261. hb "habitctl log"
  262. # hbe "habitctl edit"
  263. # hbeh "habitctl edith"
  264. htc "htop -s PERCENT_CPU"
  265. htm "htop -s PERCENT_MEM"
  266. i "sxiv"
  267. ia "sxiv -a"
  268. it "sxiv -t *"
  269. ki "kill -9"
  270. ka "killall"
  271. kd "killall Discord && killall Discord"
  272. kr "killall electron"
  273. kt "killall thunderbird"
  274. mp "mpv --volume=50"
  275. mra "man ranger"
  276. # mt "minetest"
  277. n "nvim"
  278. ndu "ncdu"
  279. p3 "python3"
  280. pdft "pdftotext"
  281. pipes "pipes.sh -t 3"
  282. py "python"
  283. qc "qalc '"
  284. qcg "qalculate-gtk"
  285. r "ranger"
  286. rbg "ranger --selectfile (grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2)"
  287. # rgc "printf '\033c' && rg"
  288. # rgc "printf '\033c' && rg"
  289. rgc "clear && tmux clear-history && rg -S"
  290. rx "redshift -x"
  291. sn "sudo nvim"
  292. ss "mosh"
  293. stp "termdown"
  294. # sw "swex"
  295. t "tmux"#[[[
  296. ta "tmux a -t"
  297. tac "tmux a -t config || tmux new -s config"
  298. taj "tmux a -t journal || tmux new -s journal"
  299. tal "tmux a"
  300. tk "tmux kill-server"
  301. tl "tmux ls"
  302. tn "tmux new -s"
  303. tnb "tmux new -s backup"
  304. #]]]
  305. usn "usernames --num 20"
  306. vmd "vimdiff"
  307. wg "wego"
  308. ytd "youtube-dl"
  309. z "zathura --fork"
  310. lz "unzip -l"
  311. trl "tar tvzf"
  312. trx "tar xvzf"
  313. # pass [[[ #
  314. ps "pass"
  315. psc "pass -c"
  316. pse "pass edit"
  317. psi "pass insert -m"
  318. psg "pass generate -c"
  319. pss "pass show"
  320. xc "xclip -selection clipboard"
  321. yh "echo 'kevin.mok@live.ca' | xclip -selection clipboard"
  322. yg "xclip -selection clipboard ~/.password-store/social/gmail"
  323. yt "xclip -selection clipboard ~/.password-store/social/trapbot"
  324. yu "echo 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard"
  325. # ]]] pass #
  326. # watson [[[ #
  327. w "watson"
  328. # start [[[ #
  329. wa "watson start"
  330. wae "watson start && watson edit"
  331. wad "watson add -f '' -t ''"
  332. we "watson edit"
  333. wre "watson restart"
  334. wree "watson restart && watson edit"
  335. # ]]] start #
  336. # stop [[[ #
  337. ws "watson status && watson stop"
  338. wse "watson stop && watson edit"
  339. wsc "watson cancel"
  340. wsl "watson stop && watson log --day"
  341. wt "watson status"
  342. # ]]] stop #
  343. # log/report [[[ #
  344. wl "watson log -Gcd"
  345. wla "watson log -Gca -p"
  346. wlat "watson log -Gca -T"
  347. ww "watson log -Gc"
  348. wr "watson report -Gcd"
  349. wra "watson report -Gca -p"
  350. wrat "watson report -Gca -T"
  351. wrw "watson report -Gc"
  352. # ]]] log/report #
  353. # ]]] watson #
  354. # ]]] applications #
  355. # git [[[ #
  356. g "git"
  357. gi "git init"
  358. gib "git init --bare"
  359. gstr "git config credential.helper store"
  360. gstrp "git config credential.helper store && git push"
  361. # branch [[[ #
  362. gb "git branch"
  363. gbd "git branch -D"
  364. gba "git branch --no-merged && echo '' && git branch --merged"
  365. gbu "git branch --no-merged"
  366. gbm "git branch --merged"
  367. gsm "git submodule add"
  368. gsmp "git submodule foreach git pull"
  369. gmg "git merge"
  370. gmgt "git mergetool"
  371. gr "git remote -v"
  372. gra "git remote add origin"
  373. # grag "git remote add gitea git@ataraxy.tk:Kevin-Mok/.git"
  374. grr "git remote remove origin"
  375. grs "git remote show origin"
  376. gru "git branch --set-upstream-to=origin/master master"
  377. # ]]] branch #
  378. # add/remove [[[ #
  379. ga "git add -A && git status -u"
  380. gac "git add -A && git commit -S"
  381. gaf "git add -f"
  382. # unsigned commt
  383. gacu "git add -A && git commit"
  384. grm "git rm"
  385. grmf "git rm -f"
  386. grmc "git rm --cached"
  387. grmfc "git rm -f --cached"
  388. grmor "rm (fd -e orig --no-ignore -H)"
  389. # ]]] add/remove #
  390. # diff/log [[[ #
  391. gd "git diff -w"
  392. gdc "git diff --cached -w"
  393. gdh "git diff --cached -w HEAD~1"
  394. gds "git diff --stat"
  395. gdt "git difftool -w --tool=vimdiff"
  396. gdtc "git difftool -w --cached --tool=vimdiff"
  397. gl "git log"
  398. glm "git log master"
  399. gsl "git shortlog"
  400. # ]]] diff/log #
  401. # pull [[[ #
  402. gcl "git clone"
  403. gs "git status -u"
  404. gf "git fetch origin"
  405. gfg "git fetch gitea"
  406. gch "git checkout"
  407. gchn "git checkout -b"
  408. gchm "git checkout master"
  409. gchnw "git checkout -b wip"
  410. gchw "git checkout wip"
  411. gchfh "git checkout HEAD --"
  412. grom "git reset --hard origin/master"
  413. gheadm1 "git reset --hard HEAD~1"
  414. # show files in git repo
  415. # gls "git ls-tree -r HEAD --name-only"
  416. gls "git ls-tree HEAD --name-only"
  417. gchp "git cherry-pick"
  418. gchpc "git cherry-pick --continue"
  419. gst "git stash"
  420. gstl "git stash list"
  421. gstp "git stash pop"
  422. gsts "git stash show stash@\{0\} -p"
  423. gclear "git stash clear"
  424. gpl "git pull --rebase"
  425. grb "git rebase -i"
  426. grba "git rebase --abort"
  427. grbc "git rebase --continue"
  428. # ]]] pull #
  429. # push [[[ #
  430. gc "git commit -S"
  431. gcu "git commit"
  432. gca "git add -A && git commit --amend --no-edit -S"
  433. gcam "git add -A && git commit --amend -S"
  434. gcap "git add -A && git commit --amend --no-edit -S && git push --force"
  435. psgi "git add -A && git commit -m 'Update' -S && git push"
  436. gps "git push"
  437. gpsg "git push gitea"
  438. # gpsi "git config credential.helper store && git push"
  439. # gpsn "git push --set-upstream origin master"
  440. gpsn "eval (git push 2>&1 | tail -n 2)"
  441. gpsf "git push --force"
  442. # assume file unchanged
  443. gunc "git update-index --assume-unchanged"
  444. # ]]] push #
  445. # ]]] git #
  446. # coding projs [[[ #
  447. # fsl "zathura --fork ~/coding/fastest-languages.pdf"
  448. fsl "bat ~/Documents/fastest-languages/fastest-languages.md"
  449. rgt "rg TODO"
  450. # make [[[ #
  451. ma "printf '\033c' && bear make"
  452. mc "bear make clean"
  453. mca "bear make clean && printf '\033c' && bear make"
  454. rmc "rm compile_commands.json"
  455. # ]]] make #
  456. # chezmoi [[[ #
  457. zm "chezmoi"
  458. za "chezmoi add"
  459. zar "chezmoi add -r"
  460. zd "chezmoi data"
  461. zdf "chezmoi diff"
  462. zp "chezmoi -v apply"
  463. # ]]] chezmoi #
  464. # spotify-lib-vis [[[ #
  465. # start spv server outside dir
  466. ssv "source ../bin/activate.fish && python manage.py runserver"
  467. # open spv db in psql
  468. spvdb "psql -d spotifyvis -U django"
  469. mig "python manage.py makemigrations && python manage.py migrate --run-syncdb && ssv"
  470. cldb "python manage.py flush --no-input && ssv"
  471. # django shell
  472. djs "python manage.py shell"
  473. # update pip
  474. upip "pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U"
  475. # update pip req's.
  476. ureq "pip freeze > requirements.txt"
  477. # show last history scan
  478. hlg "psql -d spotifyvis -a -f /home/kevin/coding/spotify-lib-vis/src/scripts/history.sql | rg 2019 | tac"
  479. slg "tail -n 5 $spv_dir/src/api/management/commands/update-history.log"
  480. # scan history
  481. # hs "$spv_dir/src/update-history.sh && cat $spv_dir/src/api/management/commands/update-history.log | tail -n 1"
  482. # removes all but newest file
  483. # rmol "ls -t | tail -n +2 | xargs rm -- && l"
  484. snw "spotify-now -i '%artist - %title'"
  485. svd "pg_dump spotifyvis > spotifyvis.bak"
  486. # ]]] spotify-lib-vis #
  487. shc "shellcheck"
  488. tll "tllocalmgr"
  489. tli "tllocalmgr install"
  490. # tlh "tllocalmgr texhash"
  491. pdl "pdflatex"
  492. tcl "tex-clean"
  493. # grocery-finder [[[ #
  494. wl0 "watson log --all --project=309 --tag=phase2"
  495. wr0 "watson report --all --project=309 --tag=phase2"
  496. # server [[[ #
  497. # nd "node"
  498. ndm "nodemon"
  499. knd "killall node"
  500. mg "mongo"
  501. 0ht "cd ~/school/309-proj && python3 -m http.server"
  502. mgd "mongod --dbpath mongo-data"
  503. # nds "killall node && nodemon server.js"
  504. nds "nodemon server.js"
  505. # ]]] server #
  506. # heroku [[[ #
  507. hr "heroku"
  508. hrs "heroku local web"
  509. hrt "heroku ps"
  510. hrl "heroku logs --dyno web -n 1500 | rg up | awk '{ system(\"date -d \" \$1); \$1 = \"\"; print \$0 }' | paste -s -d' \n'"
  511. gpsh "git push heroku"
  512. 0c "node collections.js"
  513. # ]]] heroku #
  514. # ]]] 309 #
  515. # mfs [[[ #
  516. ht "python3 -m http.server"
  517. # j "jekyll"
  518. # js "jekyll serve"
  519. h "hugo"
  520. he "hugo serve -D --disableFastRender"
  521. # ]]] mfs #
  522. ssb "ssh-bandit"
  523. rt "python ~/coding/rt-scraper/!rt-scraper.py"
  524. # ada-mario [[[ #
  525. mm "printf '\033c' && bear make clean move_mouse_with_head && ./move_mouse_with_head"
  526. med "printf '\033c' && bear make clean eye_detector && ./eye_detector"
  527. mft "printf '\033c' && bear make clean face_detector && ./face_detector"
  528. rft "~/coding/face-tracker/face_detector > /tmp/move_mouse_with_head.out"
  529. gpsb "git push bitbucket"
  530. # ]]] ada-mario #
  531. sac "source ../../bin/activate.fish"
  532. dea "deactivate"
  533. whe "watch echo"
  534. nst "cp ~/Documents/workout-logs/stretching.md /tmp && nvim /tmp/stretching.md"
  535. # ]]] coding projs #
  536. # games [[[ #
  537. wlm "watson log --all --project=minetest"
  538. wrm "watson report --all --project=minetest"
  539. wamv "watson start minetest +video"
  540. mtg "minetest"
  541. ms "minetestserver"
  542. msc "minetestserver --gameid minetest --worldname Creative --terminal"
  543. # msh "minetestserver --gameid minetest --worldname Hevin --config ~/.minetest/hevin.conf --terminal"
  544. msh "minetestserver --gameid mineclone2 --worldname Hevin-MC --config ~/.minetest/hevin-mc.conf --terminal"
  545. msv "minetestserver --gameid minimal --worldname Test --terminal"
  546. # mtrsy "rsync -vr .minetest/ /mnt/linux-files/.minetest/"
  547. tet "pandoc -f markdown -t html twitch-emote-conversion.md | xclip -selection clipboard"
  548. # ]]] games #
  549. # school [[[ #
  550. # basic
  551. # wlf "watson log --all --tag=final"
  552. # wrf "watson report --all --tag=final"
  553. ssc "mosh mokkar@teach.cs.utoronto.ca"
  554. # alg course
  555. jc "javac -d out *.java"
  556. jr "java -cp \"$CLASSPATH:out\""
  557. # 263
  558. wl6 "watson log --all --project=263 --tag=a5"
  559. wr6 "watson report --all --project=263 --tag=a5"
  560. z6 "zathura --fork ~/school/263/Introduction-to-Algorithms-CLRs/Introduction\ to\ Algorithms\ -\ 3rd\ Edition.pdf"
  561. pd6 "pdflatex a5"
  562. # ]]] school #