|
|
|
|
@ -94,16 +94,12 @@ The other two swap between build and src dirs on my local git checkout |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
**** TODO See if we can use zsh expansion instead of sed |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:CREATED: [2021-05-01 Sat 10:24] |
|
|
|
|
:END: |
|
|
|
|
|
|
|
|
|
*** Android helpers :daily: |
|
|
|
|
|
|
|
|
|
These are various helpers to drive my current Android phone when connected to the box. |
|
|
|
|
|
|
|
|
|
#+begin_src sh |
|
|
|
|
|
|
|
|
|
run-task () { |
|
|
|
|
adb -s $ANDROID_CUR shell am broadcast --user 0 -a net.dinglish.tasker.run_task -e task "$1" |
|
|
|
|
} |
|
|
|
|
@ -149,9 +145,6 @@ setup-pi-webcam() |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
**** TODO The last bit is really pi material |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:CREATED: [2021-05-01 Sat 10:35] |
|
|
|
|
:END: |
|
|
|
|
|
|
|
|
|
*** Misc helpers :pi:daily:android: |
|
|
|
|
- tmux guard |
|
|
|
|
@ -177,8 +170,8 @@ setup-pi-webcam() |
|
|
|
|
} |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
- This is an helper for moving a file to some other place and adding |
|
|
|
|
a link back to the original position. ~bl~ stands for backlink |
|
|
|
|
- This is an helper for moving a file to some other place and adding a |
|
|
|
|
link back to the original position. ~bl~ stands for backlink |
|
|
|
|
|
|
|
|
|
BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
(similar to ln) adding a directory would not work. |
|
|
|
|
@ -214,7 +207,6 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
*** emacs helpers :daily: |
|
|
|
|
|
|
|
|
|
#+begin_src sh |
|
|
|
|
SOLARIZED="true" |
|
|
|
|
export EMACS="/home/jacopods/.emacs.d/emacsclient-activities" |
|
|
|
|
@ -253,7 +245,6 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
#+end_src |
|
|
|
|
*** oh-my-zsh setup :daily:pi:android: |
|
|
|
|
#+begin_src sh |
|
|
|
|
|
|
|
|
|
# Path to your oh-my-zsh configuration. |
|
|
|
|
ZSH=$HOME/.oh-my-zsh |
|
|
|
|
|
|
|
|
|
@ -358,7 +349,6 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
*** TODO editor env variables :daily: |
|
|
|
|
This needs to be diff'd among the versions |
|
|
|
|
#+begin_src sh |
|
|
|
|
|
|
|
|
|
# editor stuff |
|
|
|
|
|
|
|
|
|
export EDITOR="$EMACS -n" |
|
|
|
|
@ -386,12 +376,8 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
**** TODO Create a script to add an arbitrary remote |
|
|
|
|
:PROPERTIES: |
|
|
|
|
:CREATED: [2021-05-01 Sat 16:26] |
|
|
|
|
:END: |
|
|
|
|
|
|
|
|
|
*** Aliases :pi:android:daily: |
|
|
|
|
|
|
|
|
|
#+begin_src sh |
|
|
|
|
## Aliases |
|
|
|
|
alias emacs="eca" |
|
|
|
|
@ -413,7 +399,6 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
alias hugo="/snap/bin/hugo" |
|
|
|
|
#+end_src |
|
|
|
|
*** Pomodoro helpers :daily:pi:android: |
|
|
|
|
|
|
|
|
|
#+begin_src sh |
|
|
|
|
termdown_bin=/home/jacopods/.local/bin/termdown |
|
|
|
|
|
|
|
|
|
@ -429,9 +414,6 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
alias kbd-android="" |
|
|
|
|
alias K=/home/jacopods/tmp/keymaps/remap-keyboard |
|
|
|
|
|
|
|
|
|
alias quercus="falkon q.utoronto.ca" |
|
|
|
|
|
|
|
|
|
#alias portal="chromium portal.utoronto.ca" |
|
|
|
|
alias ls=' exa' |
|
|
|
|
alias sl=' exa' # a frequent typo |
|
|
|
|
alias c=' cd' |
|
|
|
|
@ -471,12 +453,13 @@ BIG FAT WARNING: this needs to specify an actual file as a destination |
|
|
|
|
return 1 |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#+end_src |
|
|
|
|
*** Named directories :daily: |
|
|
|
|
#+begin_src sh |
|
|
|
|
hash -d Papers="/home/jacopods/work/Papers" |
|
|
|
|
hash -d Books="/home/jacopods/work/Books" |
|
|
|
|
hash -d kde="/scratch/kde/src" |
|
|
|
|
hash -d kde5="/scratch/kde/src5" |
|
|
|
|
|
|
|
|
|
#+end_src |
|
|
|
|
*** Un-tarmak bindings :daily: |
|
|
|
|
#+begin_src sh |
|
|
|
|
|