Skip to content

Instantly share code, notes, and snippets.

Jordan Réjaud jrejaud

Block or report user

Report or block jrejaud

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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
@jrejaud
jrejaud / ViewPager
Created Dec 3, 2015
Onboarding ViewPager Animations
View ViewPager
When using ViewPager to create onboarding, and you want an animation,
use a gif instead of a VideoView to prevent black clipping on the sides.
Gif library
https://github.com/koral--/android-gif-drawable
@jrejaud
jrejaud / Android VideoView from Resources
Last active Dec 18, 2015
Playing a video stored in your resources/raw directory
View Android VideoView from Resources
VideoView myVideo = (VideoView) rootView.findViewById(R.id.definition_video_view);
//Set video name (no extension)
String myVideoName = "my_video";
//Set app package
String myAppPackage = "com.myapp";
//Get video URI from raw directory
Uri myVideoUri = Uri.parse("android.resource://"+myAppPackage+"/raw/"+myVideoName);
You can’t perform that action at this time.