Add autoremote helper

usage:
autoremote "message goes here" sends the message to autoremote
master
Jacopo De Simoi 3 years ago
parent 5f23e34ff5
commit 22ae38f206
  1. 7
      zshrc.org

@ -146,6 +146,13 @@ These are various helpers to drive my current Android phone when connected to th
} }
#+end_src #+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 **** TODO The last bit is really pi material
*** Misc helpers :pi:daily:android: *** Misc helpers :pi:daily:android:

Loading…
Cancel
Save