This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This is a script you can run to turn on HTTP | |
# logging for a B2G device. | |
# It's not fully automatic. It will start B2G on the | |
# the device with logging enabled but when you quit (^C) | |
# you have to pull the log down from the device like this: | |
# | |
# adb pull /data/local/tmp/http.log | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
These are Firefox OS device settings for testing payments in Marketplace Dev and Stage. | |
1. Download this gist and call it user.js | |
2. Run these commands from your shell to install it on device: | |
adb shell "stop b2g" | |
adb push ~/Downloads/user.js /data/local/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew doctor | |
Warning: A Python is installed in /Library/Frameworks | |
Homebrew only supports building against the System-provided Python or a | |
brewed Python. In particular, Pythons installed to /Library can interfere | |
with other software installs. | |
Warning: /usr/local/share/python is not needed in PATH. | |
Formerly homebrew put Python scripts you installed via `pip` or `pip3` | |
(or `easy_install`) into that directory above but now it can be removed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.initConfig({ | |
uglify: { | |
my_target: { | |
files: { | |
'build/myscript.min.js': ['lib/myscript.js'] | |
} | |
} | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.initConfig({ | |
karma: { | |
run: { | |
configFile: 'karma.conf.js', | |
singleRun: true | |
}, | |
}, | |
}); |
OlderNewer