Skip to content

Instantly share code, notes, and snippets.

diff --git a/vendor/src/django-mobility b/vendor/src/django-mobility
[jdm@rosencrantz kitsune]$ git diff
diff --git a/kitsune/questions/models.py b/kitsune/questions/models.py
index c4a6d70..20f0150 100755
--- a/kitsune/questions/models.py
+++ b/kitsune/questions/models.py
@@ -49,6 +49,15 @@ log = logging.getLogger('k.questions')
CACHE_TIMEOUT = 10800 # 3 hours
@mythmon
mythmon / james.py
Last active December 20, 2015 23:58
james.py is a way of calling Chief from the command line.
#!/usr/bin/env python
"""
james.py - Chief CLI.
USAGE: james.py ENV REF
ENV - Environment defined in the config file to deploy to.
REF - A git reference (like a SHA) to deploy.
Config: james.ini in the current directory should be an ini file with
one section per environment. Each environment should have a
@willkg
willkg / james.py
Last active December 20, 2015 23:59 — forked from mythmon/james.py
chief cli
#!/usr/bin/env python
"""
james.py - Chief CLI.
USAGE: james.py ENV REF
ENV - Environment defined in the config file to deploy to.
REF - A git reference (like a SHA) to deploy.
Config: james.ini in the current directory should be an ini file with
one section per environment. Each environment should have a
On the phone:
1) Go in Settings > Developer (at the bottom)
1-a) If Settings > Developer doesn't exist, enable it in Settings > Information > More information > Developer Menu
2) Debugging via USB > Select "ADB and devtools"
On your computer:
3) Download https://github.com/mozilla/buddyup/archive/master.zip (from https://github.com/mozilla/buddyup, "download zip" in the bottom right)
4) Unzip
5) Plug in your phone
@0xDE57
0xDE57 / config.md
Last active July 13, 2026 23:12
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable. I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@k88hudson
k88hudson / bare-bones-react-webpack.js
Last active February 13, 2017 19:34
Bare-bones react/webpack set-up
/* First, install dependencies:
npm install webpack babel-loader babel-core babel-preset-react --save-dev
npm install react react-dom --save
Note: babel dependencies are not needed if you aren't using jsx)
*/
// webpack.config.js
// Note: This assumes a "main.js" file in a src/ directory, and outputs "main.bundle.js" to a dist/ directory