Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

HourGlass lingarajsankaravelu

🏠
Working from home
View GitHub Profile
@lingarajsankaravelu
lingarajsankaravelu / CVJNI.java
Created Dec 22, 2021 — forked from sheimi/CVJNI.java
JNI Demo (invode opencv ...)
View CVJNI.java
import java.io.*;
public class CVJNI {
//Load jni library
static {
try {
System.loadLibrary("cvjni");
} catch (Exception e) {
e.printStackTrace();
}
@lingarajsankaravelu
lingarajsankaravelu / proguard-rules.pro
Created Oct 13, 2021 — forked from jemshit/proguard-rules.pro
Proguard rules for common Android libraries
View proguard-rules.pro
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
-keepclassmembers class fqcn.of.javascript.interface.for.webview {
public *;
}
### RxJava, RxAndroid (https://gist.github.com/kosiara/487868792fbd3214f9c9)
-keep class rx.schedulers.Schedulers {
public static <methods>;
@lingarajsankaravelu
lingarajsankaravelu / shell.sh
Created Aug 16, 2021 — forked from letroll/shell.sh
[Android ADB Broadcast] send broadcast from adb #adb #android #broadcast
View shell.sh
adb shell am broadcast -a com.whereismywifeserver.intent.TEST
[-e|--es <EXTRA_KEY> <EXTRA_STRING_VALUE> ...]
[--esn <EXTRA_KEY> ...]
[--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...]
[--ei <EXTRA_KEY> <EXTRA_INT_VALUE> ...]
[--el <EXTRA_KEY> <EXTRA_LONG_VALUE> ...]
[--ef <EXTRA_KEY> <EXTRA_FLOAT_VALUE> ...]
[--eu <EXTRA_KEY> <EXTRA_URI_VALUE> ...]
[--ecn <EXTRA_KEY> <EXTRA_COMPONENT_NAME_VALUE>]
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname