I hereby claim:
- I am catlee on github.
- I am catlee (https://keybase.io/catlee) on keybase.
- I have a public key ASDdm7d3Vx7J8YjeXPwCGY0m7Q8Fnez3oHehbm3zuxq1xwo
To claim this, I am signing this object:
{ | |
"id": "https://somewhere.mozilla.org/watersheds#", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"description": "schema for Mozilla watershed releases", | |
"definitions": { | |
"platform": { | |
"title": "platform", | |
"description": "a platform", | |
"type": "string", |
I hereby claim:
To claim this, I am signing this object:
diff --git a/mohawk/util.py b/mohawk/util.py | |
index 21a6d60..11c5ea1 100644 | |
--- a/mohawk/util.py | |
+++ b/mohawk/util.py | |
@@ -271,7 +271,8 @@ def normalize_header_attr(val): | |
def get_bewit(resource): | |
"""Returns a bewit identifier for the resource as a string""" | |
- assert resource.method == 'GET' | |
+ if resource.method != 'GET': |
#!/usr/bin/env python | |
import requests | |
import hashlib | |
import tempfile | |
from mardor.marfile import BZ2MarFile | |
import shutil | |
import configparser | |
from functools import partial | |
import os | |
import json |
#!/usr/bin/env python | |
import requests | |
url = "https://bouncer-bouncer.prod.mozaws.net/?product=firefox-41.0.2-complete&os=osx&lang=pt-BR" | |
head = requests.head(url, allow_redirects=True) | |
length = int(head.headers['content-length']) | |
block_size = 300000 |
nikola/post.py | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
diff --git a/nikola/post.py b/nikola/post.py | |
index 07086e1..d2af749 100644 | |
--- a/nikola/post.py | |
+++ b/nikola/post.py | |
@@ -421,19 +421,21 @@ class Post(object): | |
pieces = self.translations[lang].split(os.sep) |
[root@bld-centos6-hp-002 ~]# pstree -u cltbld -a -p | |
adb,4847 fork-server server | |
└─{adb},4849 | |
sshd,2117 | |
└─bash,2125 | |
└─su,23155,root - | |
└─bash,23163 | |
└─pstree,23180 -u cltbld -a -p |