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
[ | |
{ | |
"fields": [ | |
{ | |
"mode": "NULLABLE", | |
"name": "user_agent_browser", | |
"type": "STRING" | |
}, | |
{ | |
"mode": "NULLABLE", |
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
[ | |
{ | |
"name": "submission_timestamp", | |
"type": "TIMESTAMP" | |
}, | |
{ | |
"name":"document_type", | |
"type": "STRING" | |
} | |
] |
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
λ kenshin misc → λ git master → python manage_elb_certs.py check --cert_id arn:aws:iam::142069644989:server-certificate/cloudfront/wildcard.stage.mozaws.net-20170412 | |
tokenserver-stage | |
docker-registry-stage | |
mkt-receipt-si-ELB-1E93NB2M22UB3 | |
bouncer-stage-ELB-XOSBQXBTBF8B | |
edwong-webpush-elb | |
bouncer-stage-ELB-1RGEQ1BZYS5IH | |
delivery-stage-ELB-136UKGPZDO8VN | |
bouncer-dev-de-ELB-GJ2FDYGH5W8R | |
test-stage-1-E-ELB-1EAW81OG6GREQ |
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
from olympia.blocklist.models import BlocklistDetail, BlocklistIssuerCert | |
def addCert(issuer, serial, name, bug): | |
detail = BlocklistDetail(name=name, why='.', who='.', bug=bug) | |
detail.save() | |
cert = BlocklistIssuerCert(issuer=issuer, serial=serial, details=detail) | |
cert.save() | |
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
u'os' is a required property Failed validating u'required' in schema: {u'additionalProperties': False, u'default': {u'devices': [], u'driverVersion': u'', u'driverVersionComparator': u'', u'driverVersionMax': u'', u'feature': u'', u'featureStatus': u'', u'hardware': u'', u'os': u'', u'vendor': u''}, u'definitions': {u'maxVersion': {u'description': u'The maximum version.', u'title': u'Max version', u'type': u'string'}, u'minVersion': {u'description': u'The mininum version.', u'title': u'Min version', u'type': u'string'}}, u'description': u'A graphic driver blocklist entry.', u'properties': {u'blockID': {u'description': u'Original block id, eg. g28', u'pattern': u'^g[0-9]+$', u'title': u'Internal blocklist id', u'type': u'string'}, u'details': {u'properties': {u'bug': {u'type': u'string'}, u'created': {u'format': u'date-time', u'type': u'string'}, u'name': {u'type': u'string'}, u'who': {u'type': u'string'}, u'why': {u'type': u'string'}}, u'title': u'Details', u'type': u'object'}, u'devices': {u'description': u' |
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
[jthomas@mktadm1 current]$ ./venv/bin/python ./venv/bin/pip freeze | |
Babel==0.9.6 | |
Cython==0.21.1 | |
Django==1.7.1 | |
Jinja2==2.7.2 | |
M2Crypto==0.22.3 | |
MarkupSafe==0.18 | |
MySQL-python==1.2.5 | |
Pillow==2.7.0 | |
Pygments==1.5 |
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 | |
# | |
# Poor mans Consul bootstrap helper. Originally we created a configuration snippit in | |
# /etc/consul.d with a retry_join host of an ELB endpoint. Murphy's law means that | |
# on occasion the ELB will have Consul connecting to itself. | |
# | |
# The AWS API is queried for a list of ELBs that we're behind, and then we get the | |
# IPs of all other ELB backends and attempt to join them. | |
# Print messages |
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
DROP TABLE IF EXISTS auth_user_groups; | |
DROP TABLE IF EXISTS auth_user_user_permissions; | |
DROP TABLE IF EXISTS django_admin_log; | |
DROP TABLE IF EXISTS auth_user; | |
DROP TABLE IF EXISTS addons_categories; | |
DROP TABLE IF EXISTS categories; | |
ALTER TABLE files DROP COLUMN is_packaged; | |
ALTER TABLE addon_payment_account DROP COLUMN set_price; |
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
CERTIFICATE_RE = re.compile(r"-----BEGIN CERTIFICATE-----.+?" | |
"-----END CERTIFICATE-----", re.S) | |
paragraph = \ | |
''' | |
<p> | |
This is a paragraph. | |
It has multiple lines. | |
</p> | |
<p> |
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
Host *.mozilla.com | |
User jthomas | |
ForwardAgent yes | |
ServerAliveInterval 10 |
NewerOlder