Skip to content

Instantly share code, notes, and snippets.

View scorpiodawg's full-sized avatar
🤪
Compiling... (TPS reports)

Ravi Subramanian scorpiodawg

🤪
Compiling... (TPS reports)
View GitHub Profile
@scorpiodawg
scorpiodawg / ghcreate.sh
Created May 4, 2018 16:55
Github Create Project from bash
#U sage: gcreate userName repoName "Description if any"
gcreate () {
curl -u $1 https://api.github.com/user/repos -d "{\"name\": \"$2\", \"description\": \"$3\"}"
}
@scorpiodawg
scorpiodawg / README.aapt.md
Last active February 21, 2018 01:28
Running aapt directly to create an APK

Run aapt directly to create am unsigned APK:

aapt package \
    -v \
    -M AndroidManifest.xml \
    -S res/ \
    -I /path/to/overlaid.apk \
    -I /path/to/out/target/product/device/system/framework/framework-res.apk \
 -F package.apk \

Keybase proof

I hereby claim:

  • I am scorpiodawg on github.
  • I am ravisu (https://keybase.io/ravisu) on keybase.
  • I have a public key ASCdoPlvP5WgZqMOvX9GWMnusJQVnpsjbuWBxKjuAIEbFgo

To claim this, I am signing this object:

@scorpiodawg
scorpiodawg / Connectivity.java
Created December 23, 2016 18:45 — forked from emil2k/Connectivity.java
Android utility class for checking device's network connectivity and speed.
package com.emil.android.util;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.telephony.TelephonyManager;
/**
* Check device's network connectivity and speed
* @author emil http://stackoverflow.com/users/220710/emil