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
[Thu Aug 28 13:14:55.023769 2014] [:error] [pid 1534:tid 139830384756480] 1534 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. process_request /opt/stack/keystone/keystone/middleware/core.py:276 | |
[Thu Aug 28 13:14:55.025097 2014] [:error] [pid 1534:tid 139830384756480] 1534 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /opt/stack/keystone/keystone/common/wsgi.py:183 | |
[Thu Aug 28 13:14:55.025592 2014] [:error] [pid 1534:tid 139830384756480] 1534 WARNING keystone.common.wsgi [-] Could not find version: v2.0 | |
[Thu Aug 28 13:14:55.029426 2014] [:error] [pid 1530:tid 139830384756480] 1530 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. process_request /opt/stack/keystone/keystone/middleware/core.py:276 | |
[Thu Aug 28 13:14:55.030977 2014] [:error] [pid 1530:tid 139830384756480] 1530 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /opt/stack/keystone/keystone/common/wsgi.py:183 | |
[Thu Aug 28 13:14:55.0343 |
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
if (image_size_store and | |
image_size_store != image_size_meta): | |
msg = (_LW("Provided image size must match the stored" | |
" image size. (provided size: %(ps)d, " | |
"stored size: %(ss)d)") % { | |
"ps": image_size_meta, | |
"ss": image_size_store}) | |
LOG.warn(msg) | |
raise HTTPConflict(explanation=msg, | |
request=req, |
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
import sys, tty, termios | |
def read_char(): | |
''' | |
Read a single character from a unix terminal and immediately return it. | |
''' | |
# grab a file descriptor | |
fd = sys.stdin.fileno() | |
old_settings = termios.tcgetattr(fd) | |
try: |
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
[ | |
(38.067489220, -122.232032748), | |
(38.065881344, -122.236984956), | |
(38.064899836, -122.246668872), | |
(38.065863818, -122.255217433), | |
(38.067685000, -122.258500000), | |
(38.067134502, -122.254282434), | |
(38.066696337, -122.246312682), | |
(38.066932947, -122.237118528), | |
(38.067221000, -122.232100000), |
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
_ |
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
# -*- coding: utf-8 -*- | |
# <nbformat>3.0</nbformat> | |
# <codecell> | |
trial = {} | |
def make_time_temp(string_to_parse): | |
first_time = None | |
last_time, last_temp = 0, 0 |
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
#!/usr/bin/env python | |
import re, sys | |
for l in sys.stderr.readlines(): | |
url = re.findall(r'http:.+\.deb', l) | |
if len(url): | |
print url[0] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.