Skip to content

Instantly share code, notes, and snippets.

View cosic's full-sized avatar
💙

Aleksandr Mirko cosic

💙
View GitHub Profile
@cosic
cosic / ServiceTemplate
Last active October 30, 2016 18:59
Android Studio template for creating of Custom Service
package ${PACKAGE_NAME};
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
#parse("File Header.java")
public class ${NAME} extends Service {
private int mServiceId;
@cosic
cosic / mirakle.sh
Last active June 7, 2021 12:50
Mirakle Activation Script
#!/bin/bash
###############################################
# How to use from terminal:
# $> mirakle.sh on – to enable
# $> mirakle.sh off – to disable
###############################################
MIRAKLE_INIT_SCRIPT_DIR="${HOME}/.gradle/init.d/"
MIRAKLE_INIT_SCRIPT_FILE="${MIRAKLE_INIT_SCRIPT_DIR}/mirakle_init.gradle"
@cosic
cosic / adb+
Created August 9, 2021 08:44
Marathon
#!/bin/bash
# Script adb+
# Usage
# You can run any command adb provides on all your currently connected devices
# ./adb+ <command> is the equivalent of ./adb -s <serial number> <command>
#
# Examples
# ./adb+ version
# ./adb+ install -r ./apidemo.apk
# ./adb+ uninstall com.example.android.apis