diff --git a/zshrc.org b/zshrc.org index b7feffb..10b930a 100644 --- a/zshrc.org +++ b/zshrc.org @@ -146,6 +146,13 @@ These are various helpers to drive my current Android phone when connected to th } #+end_src +This is an autoremote helper + +#+begin_src sh + autoremote () { + curl "https://autoremotejoaomgcd.appspot.com/sendmessage?key=cVRJiHQtxGk:APA91bGQz3O3Z5RUkgvq6hXzlIiLvyC8ZVW5XlgIBhLO5Li3QwZausSkoaK48D3jyhFcJAi3pqB-T4fI45rICR0Rld9ikeTHMZp2m6w05FxaSvQcdofJ3blyxJGLT9B-6oGruLenXdrM&message=$(echo $1 | sed -e 's/ /\%20/g')&password=$(pass autoremote)" + } +#+end_src **** TODO The last bit is really pi material *** Misc helpers :pi:daily:android: