Skip to content

Instantly share code, notes, and snippets.

Avatar
🖤

Jordan Réjaud jrejaud

🖤
View GitHub Profile
@jrejaud
jrejaud / gist:58f9fba9aa14e1d42f7ebf84c5d7bb21
Created Dec 26, 2020
Send local epubs and pdfs to kindle
View gist:58f9fba9aa14e1d42f7ebf84c5d7bb21
# 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
View keybase.md

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:

View gist:5427e3dc7fb32f0cd32f0e8cdf5949fa
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
View gist:cf6ff3480d122c1d374d7a1435c75718
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)
View gist:aeef2dc8a2dc4547e8bb9001d80d46d5
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)
View gist:569dc86b436773666241563d616bda00
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG).setAction("Action", null).show();
View gist:972cd81b4aa57b0372f9a89bf8dbfcfd
<!--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>
View gist:3b1438aedb8c215c788b5b01ed74d1a2
nativefier --name "Programmer's Music" https://www.programmersmusic.com/
View gist:b343f4aa3c02ee7b172d22d279bfa855
ss\nA /tmp/rd_sources/rd_login/cc/m/css/grey/fonts/PTS-webfont.eot\nA /tmp/rd_sources/rd_login/cc/m/css/grey/fonts/fontawesome-webfont.eot\nA /tmp/rd_sources/rd_login/mt/d/css\nA /tmp/rd_sources/rd_login/mt/d/css/black\nA /tmp/rd_sources/rd_login/cc/m/css/black/webix.css\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/PTS-bold.woff\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/font-license.txt\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/fontawesome-webfont.woff\nA /tmp/rd_sources/rd_login/cc/m/css/black/fonts/fontawesome-webfont.svg\nA /tmp/rd_sources/rd_login/cc/m/css/green/styles.css\nA /tmp/rd_sources/rd_login/mt/d/css/black/fonts\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/PTS-webfont.eot\nA /tmp/rd_sources/rd_login/cc/m/css/green/fonts/fontawesome-webfont.eot\nA /tmp/rd_sources/rd_login/cc/m/css/grey/webix.css\nA /tmp/rd_sources/rd_login/mt/d/index.html\nA /tmp/rd_sources/rd_login/cc/m/css/grey/fonts/PTS-bold.ttf\nA /tmp/rd_sources/rd_login