Skip to content

Instantly share code, notes, and snippets.

View jrejaud's full-sized avatar
🖤

Jordan Réjaud jrejaud

🖤
View GitHub Profile
#!/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,
@jrejaud
jrejaud / gist:58f9fba9aa14e1d42f7ebf84c5d7bb21
Created December 26, 2020 07:46
Send local epubs and pdfs to kindle
# 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
filtering: [{'field':'country','operator':'IN','value':['US']}],

Keybase proof

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
Error:(13, 2) error: com.northfly.superfish.mandarin.home.PeeloffMould cannot be provided without an @Inject constructor or from an @Provides-annotated method.
public abstract void inject(@org.jetbrains.annotations.NotNull()
^
com.northfly.superfish.mandarin.home.PeeloffMould is injected at
com.northfly.utilmould.test.MyProxy.<init>(…, peeloffMould)
com.northfly.utilmould.test.MyProxy is injected at
com.northfly.utilmould.widght.MyActivity.myprxu
com.northfly.utilmould.widght.MyActivity is injected at
com.northfly.utilmould.widght.MyCommponente.inject(mainActivity)
Error:(13, 2) error: error.NonExistentClass cannot be provided without an @Inject constructor or from an @Provides-annotated method.
public abstract void inject(@org.jetbrains.annotations.NotNull()
^
error.NonExistentClass is injected at
com.northfly.utilmould.test.MyProxy.<init>(…, peeloffMould)
com.northfly.utilmould.test.MyProxy is injected at
com.northfly.utilmould.widght.MyActivity.myprxu
com.northfly.utilmould.widght.MyActivity is injected at
com.northfly.utilmould.widght.MyCommponente.inject(mainActivity)
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG).setAction("Action", null).show();
<!--Jump Types-->
<string name="counter_movement_jump">Counter Movement Jump</string>
<string name="squat_jump">Squat Jump</string>
<string name="drop_jump">Drop Jump</string>
<string name="mid_thigh_pull">Mid-Thigh Pull</string>
nativefier --name "Programmer's Music" https://www.programmersmusic.com/