Skip to content

Instantly share code, notes, and snippets.

View kwiky's full-sized avatar
🔨
Building stuff

Steve Grosbois kwiky

🔨
Building stuff
View GitHub Profile
Certifying my #web3 identity on https://uniqe.io @UniqeIo.
_BEGIN_
aQAAAAIwAAYAAABrd2lreQACMQAHAAAA
Z2l0aHViAAUyAEEAAAAADZ0LJFLP9frk
/9WE9MKirTEX9ge8hx1pQiykUKK4regk
5XLFeAnbc5qLoO/ubd3J4FcRde748RDw
Vp5DW2PCEhsA
_END_
@kwiky
kwiky / imagebutton_after.xml
Created August 21, 2018 15:21
imagebutton_after.xml
<ImageButton
android:id="@+id/sendButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="Send the message"
android:src="@drawable/ic_send_white_24dp" />
@kwiky
kwiky / imagebutton_before.xml
Created August 21, 2018 15:19
imagebutton_before.xml
<ImageButton
android:id="@+id/sendButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_send_white_24dp" />
@kwiky
kwiky / mpg2mp4.sh
Created July 31, 2018 09:12
vlc mpg to mp4 with deinterlace
vlc "input.mpg" --sout-deinterlace-mode=yadif2x ":sout=#transcode{vcodec=h264,vb=1200,acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace}:file{dst=output.mp4}" vlc://quit
@kwiky
kwiky / build.gradle
Created March 24, 2018 14:13
Excluse card.io
implementation("com.paypal.sdk:paypal-android-sdk:$PAYPAL_VERSION") {
exclude group: 'io.card'
}
@kwiky
kwiky / build.gradle
Last active March 24, 2018 13:12
APK splitting
android {
...
splits {
// Configures multiple APKs based on screen density.
density {
// Configures multiple APKs based on screen density.
enable true
@kwiky
kwiky / test.js
Created February 5, 2018 14:55
Automatically set postman environment variable from response
var data = pm.response.json();
pm.environment.set("token", data.message.token);
@kwiky
kwiky / keybase.md
Last active August 29, 2015 14:25
keybase.md

Keybase proof

I hereby claim:

  • I am kwiky on github.
  • I am kwiky (https://keybase.io/kwiky) on keybase.
  • I have a public key whose fingerprint is B170 DA69 C4C7 8FD4 25D4 8FE6 9956 0D39 0DE2 C631

To claim this, I am signing this object:

/**
* Simple authentication and authorization example with passport, node_acl,
* MongoDB and expressjs
*
* The example shown here uses local userdata and sessions to remember a
* logged in user. Roles are persistent all the way and applied to user
* after logging in.
*
* Usage:
* 1. Start this as server