Skip to content

Instantly share code, notes, and snippets.

Avatar

Björn Quentin bjoernQ

View GitHub Profile
@bjoernQ
bjoernQ / karabiner.json
Last active Aug 28, 2017
Karabiner-Elements MS Keyboard German
View karabiner.json
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@bjoernQ
bjoernQ / app's build.gradle
Created Nov 5, 2014
Android/Gradle: Have debug and release variants for a library
View app's build.gradle
...
dependencies {
debugCompile project(path: ':library', configuration: 'debug')
releaseCompile project(path: ':library', configuration: 'release')
}
...
@bjoernQ
bjoernQ / getapp.sh
Created Oct 14, 2013
Script for backing up an Android app and unpacking it
View getapp.sh
#!/bin/bash
rm backup.ab
adb backup -apk $1
echo "Ok got it"
dd if=backup.ab bs=1 skip=24 | openssl zlib -d | tar -xvf -
@bjoernQ
bjoernQ / AndroidManifest.xml
Created Oct 14, 2013
Creating a System Overlay (Always on Top over all Apps) in Android
View AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.mobilej.overlay"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="14" />
<application android:label="SystemOverlay" >
<activity