Skip to content

Instantly share code, notes, and snippets.

View mar-v-in's full-sized avatar

Marvin W mar-v-in

View GitHub Profile
mar-v-in / fonts.conf.xml
Created January 30, 2018 20:55
View fonts.conf.xml
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<match target="pattern">
<edit name="family" mode="prepend_first">
<prefer><family>Noto Color Emoji</family></prefer>
if [[ "" == "$account" ]]; then
echo "Usage:"
echo " $(basename $0) ACCOUNT"
echo "Transfer OMEMO key from Gajim account with JID ACCOUNT to Dino"
exit 1
mar-v-in / _ZN3art9ArtMethod6InvokeEPNS_6Th_-7d05978c.js
Created October 2, 2016 00:53
Android ART native method call tracer for
View _ZN3art9ArtMethod6InvokeEPNS_6Th_-7d05978c.js
* Called synchronously when about to call _ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc.
* @this {object} - Object allowing you to store state for use in onLeave.
* @param {function} log - Call this function with a string to be presented to the user.
* @param {array} args - Function arguments represented as an array of NativePointer objects.
* For example use Memory.readUtf8String(args[0]) if the first argument is a pointer to a C string encoded as UTF-8.
* It is also possible to modify arguments by assigning a NativePointer object to an element of this array.
* @param {object} state - Object allowing you to keep state across function calls.
mar-v-in /
Last active August 16, 2021 14:48
droidguasso.enc decrypter (including key material)
// Compile: javac
// Usage: java decrypt path-to/assets/droidguard/droidguasso.enc droidguasso.jar
import javax.crypto.spec.IvParameterSpec;
mar-v-in / version.gradle
Created March 22, 2016 13:28
A small gradle helper script to determine package name, version code and version name for android gradle projects, including flavors.
View version.gradle
// Usage: gradle -q -I version.gradle showVersionInfo
class VersionHelper {
String project;
String packageName;
String versionCode;
String versionName;
VersionHelper(project, config) {
this(project, config.applicationId, config.versionCode, config.versionName);

Keybase proof

I hereby claim:

  • I am mar-v-in on github.
  • I am larma ( on keybase.
  • I have a public key whose fingerprint is BD98 05D4 55D3 E8BB 7781 0105 B81E 1653 D019 17A7

To claim this, I am signing this object: