Skip to content

Instantly share code, notes, and snippets.

Ignasi Busquets ignasi

Block or report user

Report or block ignasi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ignasi
ignasi / db_getter.sh
Created Jan 30, 2014
Get database from an Android app (Android 4.3+)
View db_getter.sh
#!/bin/bash
# Android 4.3+ changes app's internal directory permissions and you can not just pull your
# databases to your computer, so I did this as a workaround to extract my databases.
# I only use it for debug, use it under your responsability.
package=$1
db_name=$2
path="/data/data/$package/"
@ignasi
ignasi / resizer-xxhdpi.sh
Last active May 27, 2016
Android XXHDPI Resizer (Tested on OS X Mavericks)
View resizer-xxhdpi.sh
#!/bin/bash
f=$(pwd)
mkdir drawable-mdpi drawable-hdpi drawable-xhdpi drawable-xxhdpi
# fake argv and argc in bash
argc=$#; argv[0]=$0 # argv[0] is a prog name
for foo in $( seq $argc )
do
@ignasi
ignasi / post-commit
Last active Dec 27, 2015 — forked from consti/post-commit
Take a photo of you, whenever you make a commit
View post-commit
#!/bin/sh
#############
# This is my fork of consti/post-commit gist: https://gist.github.com/consti/3082406
# It uses a more human date naming and stores captures from same repo to same directory.
# I have also added branch name at filename.
#############
#
# Take a photo of you, whenever you make a commit
You can’t perform that action at this time.