Skip to content

Instantly share code, notes, and snippets.

View kumar303's full-sized avatar
πŸ’­
πŸ‰

Kumar McMillan kumar303

πŸ’­
πŸ‰
View GitHub Profile
@kumar303
kumar303 / gist:5054083
Created February 28, 2013 04:06 — forked from jrgm/gist:4490638
#!/bin/sh
# You may of course prefer not to trust this script and do the below
# manually, step by step, with an editor, etc., ;-).
#
# make /system/bin writable
#
DISK_DEVICE=`adb shell mount | grep '/system' | awk '{ print $1 }'`
adb shell "mount -o remount,rw $DISK_DEVICE /system"
pref("dom.payment.provider.0.name", "firefoxmarket");
pref("dom.payment.provider.0.description", "marketplace.firefox.com");
pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
pref("dom.payment.provider.0.requestMethod", "GET");
@kumar303
kumar303 / chirp-contrib-email.txt
Created November 5, 2012 16:55
Boilerplate email for first time CHIRP contributors
Hi there.
Thanks for your interest in CHIRP Radio's tech projects. The first thing is to jump on our low traffic discussion list where we announce projects and meetups: https://groups.google.com/group/chirpdev/
Let us know what type of things you are most interested in. Here is an overview of the project: http://code.google.com/p/chirpradio/ Here is a brief of summary of places you can help:
- MP3 importer and digital library manager (Python): https://github.com/chirpradio/chirpradio-machine
- A web based MP3 importer (Python/HTML5): https://github.com/chirpradio/chirpradio-webcontrol
- DJ tools (Python/HTML5): https://github.com/chirpradio/chirpradio
- Volunteer tracker (Python/HTML5): https://github.com/chirpradio/chirpradio-volunteers
- Android app (Java): https://github.com/chirpradio/chirpradio-android/
diff --git a/scripts/update/update.py b/scripts/update/update.py
index 5cffb9b..9b98318 100644
--- a/scripts/update/update.py
+++ b/scripts/update/update.py
@@ -43,6 +43,7 @@ def update_code(ctx, ref='origin/master'):
ctx.local("git fetch && git fetch -t")
ctx.local("git checkout -f %s" % ref)
ctx.local("git submodule sync")
+ ctx.local("git submodule update --init --recursive")
# `submodule sync` doesn't do `--recursive` yet. (P.S. We `sync` twice
@kumar303
kumar303 / git-check.sh
Created June 16, 2011 21:08
Checks all changed and new files for pyflakes and pep8 errors (requires check.py)
# Runs new and changed Python files through check.py and other checks
# https://github.com/jbalogh/check
if [ "$1" = "--help" ]; then
echo "usage: `basename $0` [<commit>{0,2}]"
exit 1
fi
if [ "$1" != "" ]; then
REV=$1
fi
git diff $REV --check