Skip to content

Instantly share code, notes, and snippets.


Verachad Wongsawangtham VerachadW

View GitHub Profile
VerachadW /
Created Sep 25, 2015
Script for import drawable with 'ic_' prefix
display_usage() {
echo "Usage: ./drawable_importer [src_path] [dest_path]"
if [ -z "$1" ]; then
echo "src path is not supplied"
exit 1
VerachadW / gist:8079e8ab8e9324395e7c
Last active Jun 5, 2017
Git cleanup local branches without when remote is gone.
View gist:8079e8ab8e9324395e7c
# Original from
delete-no-remote = "!git fetch --all -p; git branch -vv | grep \": gone]\" | awk '{ print $1 }' | xargs -n 1 git branch -D"
You can’t perform that action at this time.