View app.yaml
This file contains 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
application: you-app-name-here | |
version: 1 | |
runtime: python | |
api_version: 1 | |
default_expiration: "30d" | |
handlers: | |
- url: /(.*\.(appcache|manifest)) | |
mime_type: text/cache-manifest |
View keybase.md
Keybase proof
I hereby claim:
- I am adam-p on github.
- I am adampritchard (https://keybase.io/adampritchard) on keybase.
- I have a public key whose fingerprint is 9D4F A4F9 CD4A 4174 4178 F271 9B6E 13E8 B083 9B79
To claim this, I am signing this object:
View Tor-testssl.sh.md
Output of ./testssl.sh --mx torproject.org
, in text format and HTML format.
Output of checktls.com sender test.
2015-06-19
View prefixed-office-properties.md
MS Office prefixed style properties
mso-ansi-font-size
Note: Office only
mso-ansi-font-size: large | larger | <length> | medium | <percentage> | small | smaller | x-large | x-small | xx-large | xx-small
View Local PR test and merge.md
It's not immediately obvious how to pull down the code for a PR and test it locally. But it's pretty easy. (This assumes you have a remote for the main repo named upstream
.)
Getting the PR code
-
Make note of the PR number. For example, Rod's latest is PR #37: Psiphon-Labs/psiphon-tunnel-core#37
-
Fetch the PR's pseudo-branch (or bookmark or rev pointer whatever the word is), and give it a local branch name. Here we'll name it
pr37
:
$ git fetch upstream pull/37/head:pr37
View README.md
A rather dirty way to patch module code at runtime.
View github_issues_exporter.py
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
pip install --upgrade PyGithub | |
TODO: | |
- Configurable output directory | |
- Output more issue info | |
- Better rendering |
View Memory Leak Test Chrome Extension
This file contains 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
Test extension to demonstrate possible memory leak in Chrome extension API. | |
Install it, open a bunch of tabs, open Chrome's task manager, let it run, watch memory usage increase. |
NewerOlder