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
<div class="wrap"> | |
<div class="horn-1"></div> | |
<div class="horn-2"></div> | |
<div class="head"> | |
<div class="eye"></div> | |
<div class="mouth"> | |
<div class="teeth"></div> | |
</div> | |
</div> | |
<div class="author"> |
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
# encoding:utf-8 | |
def mergesort(arr): | |
length = len(arr) | |
if length <= 1: return arr | |
middle = length // 2 | |
start = mergesort(arr[:middle]) | |
end = mergesort(arr[middle:]) | |
return merge2(start, end) |
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
chat_1 | INFO:asyncio:poll 999.756 ms took 1002.901 ms: timeout | |
chat_1 | INFO:asyncio:poll 996.657 ms took 1002.784 ms: timeout | |
chat_1 | INFO:asyncio:poll 999.717 ms took 1053.597 ms: timeout | |
chat_1 | WARNING:asyncio:Executing <TimerHandle when=15302.853474805 _set_result_unless_cancelled(<Future finis...events.py:252>, None) at /usr/local/lib/python3.5/asyncio/futures.py:369 created at /usr/local/lib/python3.5/asyncio/tasks.py:514> took 0.719 seconds | |
chat_1 | WARNING:asyncio:Executing <Task pending coro=<GunicornWebWorker._run() running at /usr/local/lib/python3.5/site-packages/aiohttp/worker.py:111> wait_for=<Future pending cb=[Task._wakeup()] created at /usr/local/lib/python3.5/asyncio/base_events.py:252> cb=[_run_until_complete_cb() at /usr/local/lib/python3.5/asyncio/base_events.py:164] created at /usr/local/lib/python3.5/site-packages/aiohttp/worker.py:40> took 2.102 seconds | |
chat_1 | WARNING:asyncio:Executing <TimerHandle when=15306.404127491 _set_result_unless_cancelled(<Future |
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
------------------------------------- | |
/var/log/eb-docker/containers/eb-current-app/error.log | |
------------------------------------- | |
2017/03/09 22:29:24 [error] 6#0: REDISTORE: REDIS: PUB/SUB subscribed to {channel:sandbox/58c1c3bd2851ae000eaff3e4}:pubsub (3 total) | |
2017/03/09 23:12:49 [error] 6#0: REDISTORE: REDIS: PUB/SUB unsubscribed from {channel:sandbox/58c1c3bd2851ae000eaff3e4}:pubsub (2 total) | |
2017/03/09 23:12:56 [error] 5#0: REDISTORE: REDIS: PUB/SUB unsubscribed from {channel:sandbox/58c1c3bd2851ae000eaff3e6/}:pubsub (3 total) | |
2017/03/09 23:13:12 [error] 7#0: REDISTORE: REDIS: PUB/SUB unsubscribed from {channel:sandbox/58c1c3bd2851ae000eaff3e3}:pubsub (3 total) | |
2017/03/09 23:13:13 [error] 8#0: REDISTORE: REDIS: PUB/SUB unsubscribed from {channel:sandbox/58c1c3bd2851ae000eaff3e5}:pubsub (2 total) | |
2017/03/09 23:42:20 [error] 5#0: REDISTORE: REDIS: PUB/SUB subscribed to {channel:sandbox/58c1c3bd2851ae000eaff3e6/}:pubsub (4 total) | |
2017/03/09 23:42:20 [error] 6#0: REDISTORE: REDIS: PUB/SUB subscribed to {cha |
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
nginx.conf | |
worker_processes 4; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; |
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
------------------------------------- | |
/var/log/nginx/error.log | |
------------------------------------- | |
2017/03/10 03:51:01 [warn] 32166#0: duplicate MIME type "text/html" in /etc/nginx/sites-enabled/elasticbeanstalk-nginx-docker-proxy.conf:11 | |
2017/03/10 12:23:57 [error] 3529#0: *585 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 0.0.0.0, server: , request: "GET /sub/173/58c1baf12851ae000eaff3e0,58c1bbab2851ae000eaff3e1/ HTTP/1.1", upstream: "http://0.0.0.0:80/sub/173/58c1baf12851ae000eaff3e0,58c1bbab2851ae000eaff3e1/", host: "my-nchan-endpoint.com" | |
2017/03/10 12:24:58 [error] 3529#0: *585 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 0.0.0.0, server: , request: "GET /sub/1/5888ad96c49653001ee3be61,5888ae16c49653001ee3be7d,5888ad7dc49653001ee3be60,5888ae07c49653001ee3be75,5888ae07c49653001ee3be74,5888ade1c49653001ee3be6d,5888aeaac49653001ee3be84/ HTTP/1.1", upstream: "http://0.0.0.0:80/sub/1/5888ad96c496530 |
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
import os | |
import pytest | |
from alembic.command import upgrade | |
from alembic.config import Config | |
from project.factory import create_app | |
from project.database import db as _db | |
A list of topics to study before implementing a large scale React application
OlderNewer