Skip to content

Instantly share code, notes, and snippets.

@dannyroberts
dannyroberts / backwards-migration-staging.md
Last active August 29, 2015 14:17
Backwargs migrations on staging

I started out trying to do something simple, remove the tf-perisistence branch of touchforms from staging.yml.

Things went well until I got this error

[hqdb0-staging.internal.commcarehq.org] sudo: /home/cchq/www/staging/python_env/bin/python manage.py migrate --noinput
[hqdb0-staging.internal.commcarehq.org] out: 2015-03-19 18:02:01,478 INFO Raven is not configured (disabled). Please see documentation for more information.
[hqdb0-staging.internal.commcarehq.org] out: GhostMigrations: 
[hqdb0-staging.internal.commcarehq.org] out: 
[hqdb0-staging.internal.commcarehq.org] out:  ! These migrations are in the database but not on disk:

Forward Forms

FORM/POST PARAMETERS

None

QUERYSTRING
app_id: db9f874f0219444ee7848ddd023e292e
// ==UserScript==
// @name Clean FogBugz URLs
// @version 0.4
// @description Replaces http://manage.dimagi.com/default.asp?123456#1984701 with http://manage.dimagi.com/default.asp?123456
// @author Danny Roberts
// @match *://manage.dimagi.com/default.asp*
// @grant none
// ==/UserScript==
function cleanURL() {
@dannyroberts
dannyroberts / donate-against-ahca-voters.md
Last active May 5, 2017 19:50
How to donate against Reps who voted for AHCA

How to donate against Reps who voted for AHCA

These funds back opponents to the Representatives who voted for the AHCA.

The US Senate is looking at one thing right now: whether and how much the American people will punish those who wish to gut rather than improve upon our healthcare system. Show them that a vote for the AHCA is politically toxic by donating to these district funds to repeal and replace these representatives who are not representing their constituents.

This one focuses on only the 35 most winnable districts: