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 | |
def bsort(l, start, end, t): | |
if start == end: | |
return | |
m = start + (end - start)/2 | |
if l[m] == t: | |
return m | |
if l[m] > t: | |
return bsort(l, start, m, t) |
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 | |
import threading | |
class BlockingQ(object): | |
def __init__(self, size): | |
self.size = size | |
self.q = [] | |
self.lock = threading.Condition() |
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 | |
from concurrent.futures import ThreadPoolExecutor | |
from hyper import HTTP20Connection | |
def req(conn): | |
sid = conn.request('GET', '/') | |
resp = conn.get_response(sid) | |
return resp.status, resp.read() |
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
stop(); | |
var offset:int = 20 | |
var answeris5StartX:int = 849.05 | |
var answeris5StartY:int = 318.25 | |
var answeris5EndX:int = 1066.95 | |
var answeris5EndY:int = 514.2 | |
answeris5.buttonMode = true; |
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
Verifying my Blockstack ID is secured with the address 1G3hSp3s6XdbzR4Mzy9LEReWWi5wCrbjQQ https://explorer.blockstack.org/address/1G3hSp3s6XdbzR4Mzy9LEReWWi5wCrbjQQ |
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
Verifying my Blockstack ID is secured with the address 1FhfnGhAeAjdWPm917KtS7CZGDp3zVWLS https://explorer.blockstack.org/address/1FhfnGhAeAjdWPm917KtS7CZGDp3zVWLS |
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
[ | |
{ | |
"type": "checkbox_field", | |
"index": 0, | |
"key": "checked", | |
"value": " " | |
}, | |
{ | |
"type": "checkbox_field", | |
"index": 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
Traceback (most recent call last): | |
File "shell/backfill_history_signed_doc_sync_es.py", line 46, in <module> | |
do_backfill() | |
File "shell/backfill_history_signed_doc_sync_es.py", line 33, in do_backfill | |
with ClusterRpcProxy(config) as cluster_rpc: | |
File "/usr/local/lib/python2.7/site-packages/nameko/standalone/rpc.py", line 221, in __enter__ | |
return self.start() | |
File "/usr/local/lib/python2.7/site-packages/nameko/standalone/rpc.py", line 227, in start | |
self._reply_listener.setup() | |
File "/usr/local/lib/python2.7/site-packages/nameko/rpc.py", line 308, in setup |
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
{ | |
"type": "multiple_choice_field", | |
"key": "multiple_choice_field-result_list-0", | |
"index": "0", | |
"value": "Default Choice", | |
"sub_index": null | |
}, | |
{ | |
"type": "multiple_choice_field", | |
"key": "multiple_choice_field-result_list-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
Failed to build | |
{ Error: (client) ./pages/add_wishlist.js | |
Module not found: Error: Can't resolve '/components/templates/dummyTemplates/ListDummy' in '/home/ubuntu/sogoke-wap-ssr/pages' | |
@ ./pages/add_wishlist.js 34:0-71 69:29-38 | |
@ multi ./pages/add_wishlist.js | |
at /home/ubuntu/sogoke-wap-ssr/node_modules/next/dist/build/index.js:144:31 | |
at finalCallback (/home/ubuntu/sogoke-wap-ssr/node_modules/webpack/lib/MultiCompiler.js:247:12) | |
at runWithDependencies.err (/home/ubuntu/sogoke-wap-ssr/node_modules/webpack/lib/MultiCompiler.js:270:6) | |
at done (/home/ubuntu/sogoke-wap-ssr/node_modules/neo-async/async.js:2928:13) | |
at runCompilers (/home/ubuntu/sogoke-wap-ssr/node_modules/webpack/lib/MultiCompiler.js:174:48) |