I hereby claim:
- I am sdecima on github.
- I am sdecima (https://keybase.io/sdecima) on keybase.
- I have a public key whose fingerprint is FD35 0CA3 462E 8615 28A9 173E DBA6 02F6 B5EC 181E
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name Trello: show label names on the front of cards | |
| // @namespace https://gist.github.com/sdecima/ | |
| // @version 0.2 | |
| // @description Show label names on the front of cards | |
| // @author Sebastian Decima <[email protected]> | |
| // @match https://trello.com/* | |
| // @include https://trello.com/* | |
| // @grant none | |
| // ==/UserScript== |
I hereby claim:
To claim this, I am signing this object:
| public class SingletonClass { | |
| private SingletonClass() { | |
| } | |
| private static class SingletonClassHolder { | |
| public static final SingletonClass INSTANCE = new SingletonClass(); | |
| } | |
| public static SingletonClass getInstance() { |
| import android.content.Context; | |
| import android.net.ConnectivityManager; | |
| import android.net.NetworkInfo; | |
| public class Android_getNetworkInfo { | |
| public static boolean isNetworkConnectedOrConnecting(Context context) { | |
| ConnectivityManager cm = (ConnectivityManager) context | |
| .getSystemService(Context.CONNECTIVITY_SERVICE); |
| import android.content.ComponentName; | |
| import android.content.Context; | |
| import android.content.pm.PackageManager; | |
| public class Android_enableManifestComponent { | |
| public static void enableManifestComponent(Context context, Class<?> component, boolean enable) { | |
| ComponentName receiver = new ComponentName(context, component); | |
| PackageManager pm = context.getPackageManager(); | |