Skip to content

Instantly share code, notes, and snippets.

@jgmize
jgmize / merge_conflict
Created February 12, 2014 21:38
merge conflict
{% if show_mobile %}
<small class="download-other os_android">
<a href="https://support.mozilla.org/kb/will-firefox-work-my-mobile-device">{{ _('Supported Devices') }}</a> |
<<<<<<< HEAD
<a href="{{ product_url('mobile', 'notes', build) }}">{{ _('What’s New') }}</a> |
<a href="/en-US/legal/privacy/firefox.html">{{ _('Privacy') }}</a>
=======
{% if build %}
<a href="/en-US/mobile/{{ build }}/notes">{{ _('What’s New') }}</a> |
{% else %}
@jgmize
jgmize / index.html
Last active August 29, 2015 14:02 — forked from enjalot/index.html
<!DOCTYPE html>
<meta charset="utf-8">
<style>
</style>
<body>
<script src="http://d3js.org/d3.v3.min.js"></script>
<svg width=960px height=500px>
<g transform='translate(166, 108)'>
<circle cx=142 cy=10 r=30 fill='#25B0B0'>
We couldn’t find that file to show.
@jgmize
jgmize / keybase.md
Created September 23, 2014 06:49
Keybase

Keybase proof

I hereby claim:

  • I am jgmize on github.
  • I am jgmize (https://keybase.io/jgmize) on keybase.
  • I have a public key whose fingerprint is 879B F8F5 CE76 1CD2 BFD6 F2E9 DBB1 76AA 9894 5BFE

To claim this, I am signing this object:

#!/usr/bin/env python
import mrjob.job
import mrjob.protocol
IP = 1
DOMAIN = 2
DATETIME = 4
METHOD = 5
URL = 6
@jgmize
jgmize / correlated_locale_redirects.py
Created September 29, 2014 05:39
correlated locale redirects
#!/usr/bin/env python
import re
import mrjob.job
import mrjob.protocol
IP = 1
DOMAIN = 2
DATETIME = 4
@jgmize
jgmize / tbirdreleasenotes.py
Created November 13, 2014 07:30
Thunderbird release notes
import ipdb
import json
from rna.clients import RestModelClient
from rna.models import Note, Release
# Release notes for
# 30.0beta
# 31.0beta
# 31.0
# 31.1.0
#!/bin/bash
while true; do
sleep 1;
date;
fleetctl list-units| grep $1;
for s in $(etcdctl ls /deis/services/$1); do
echo $s $(etcdctl get $s);
done;
docker exec deis-router cat /opt/nginx/conf/nginx.conf | awk "/upstream $1/,/}/"
done
  • failing tests
    • https://ci.us-west.moz.works/job/bedrock_test_prod_us_west/97/console
      =================================== FAILURES ===================================
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.us-west.moz.works/en-US/firefox/partners/
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.us-west.moz.works/en-US/firefox/partners/
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.us-west.moz.works/en-US/firefox/partners/