I hereby claim:
- I am jrejaud on github.
- I am jrejaud (https://keybase.io/jrejaud) on keybase.
- I have a public key ASAZEfebFGyewgFQUv7KLKToKkuEsKdMMxI6feSvsWQ3ewo
To claim this, I am signing this object:
activate application "SystemUIServer" | |
tell application "System Events" | |
tell process "SystemUIServer" | |
-- Working CONNECT Script. Goes through the following: | |
-- Clicks on Bluetooth Menu (OSX Top Menu Bar) | |
-- => Clicks on SX-991 Item | |
-- => Clicks on Connect Item | |
set btMenu to (menu bar item 1 of menu bar 1 whose description contains "bluetooth") | |
tell btMenu | |
click |
I hereby claim:
To claim this, I am signing this object:
filtering: [{'field':'country','operator':'IN','value':['US']}], |
# Send to Kindle | |
# Sends epubs and pdfs to Kindle (converting epubs to mobi along the way) | |
RES=$(curl -b 'session=$SESSION_ID' -F "kindle_email=$KINDLE_EMAIL" -F "amazon_email=$AMAZON_EMAIL" -F "files[]=@\"$1\"" https://www.sendepubtokindle.com/api/upload) | |
if [ "$RES" == "null" ]; then | |
echo "File send to Kindle" | |
else | |
echo $RES | |
fi |
#!/usr/bin/env zx | |
const URL = "https://subtitletools.com/api/v1/merge-subtitles/simple" | |
// These are real files | |
const fileOne = await fs.readFile('./input1.srt') | |
const fileTwo = await fs.readFile('./input2.srt') | |
const body = { | |
"subtitle": fileOne, |