Created
August 14, 2014 16:08
-
-
Save zemlanin/53e1ec73cad259ddaf8d to your computer and use it in GitHub Desktop.
yop.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# send yo to your devices via Yo API | |
# add next line to .bashrc/.zshrc to use this script | |
# export YO_APP="your justyo.co app token" | |
# USAGE: yop [link] | |
__yop(){ | |
local link=$1 | |
local api_url="http://api.justyo.co/yoall/" | |
command curl -s -F "api_token=$YO_APP" -F "link=$link" $api_url | |
} | |
alias yop=__yop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
push.sh for Pushover