I hereby claim:
- I am barrachri on github.
- I am barrachri (https://keybase.io/barrachri) on keybase.
- I have a public key whose fingerprint is 0A57 D1FC 5539 5523 1453 43A2 9C67 4465 A2E8 4985
To claim this, I am signing this object:
TALK_TYPE = ( | |
('t_30', 'Talk (30 mins)'), | |
('t_45', 'Talk (45 mins)'), | |
('t_60', 'Talk (60 mins)'), | |
('i_60', 'Interactive (60 mins)'), | |
('r_180', 'Training (180 mins)'), | |
('p_180', 'Poster session (180 mins)'), | |
('p_60', 'Panel (60 mins)'), | |
('p_90', 'Panel (90 mins)'), | |
('h_180', 'Help desk (180 mins)'), |
class A(): | |
x = 1 | |
a = A() | |
b = A() | |
b.x = 11 | |
a.x # ? |
#: blog/templates/blog.html:111 | |
msgid "" | |
"\n" | |
" <p>We are going to publish some blog post as soon as " | |
"possible !</p>\n" | |
"\n" | |
" " | |
msgstr "" | |
"\n" | |
" <p>-------Polish text here-----</p>\n" |
# using such a setup requires `apt-get install lua-nginx-redis` under Ubuntu Trusty | |
# more info @ http://wiki.nginx.org/HttpLuaModule#access_by_lua | |
http { | |
lua_package_path "/etc/nginx/include.d/?.lua;;"; | |
lua_socket_pool_size 100; | |
lua_socket_connect_timeout 10ms; | |
lua_socket_read_timeout 10ms; | |
server { |
FROM komljen/ubuntu | |
MAINTAINER Alen Komljen <alen.komljen@live.com> | |
RUN \ | |
apt-get update && \ | |
apt-get -y install \ | |
redis && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN rm /usr/sbin/policy-rc.d |
FROM python:3.6.1-alpine | |
CMD python -c "while True: print('Hello Python')" |
import asyncio | |
import logging | |
import aiohttp | |
from aiohttp import web | |
from auth.utils import login_required | |
import aiodocker | |
from aiodocker.docker import Docker | |
from aiodocker.exceptions import DockerError | |
log = logging.getLogger(__name__) |
import asyncio | |
import random | |
class Genropy: | |
_number = None | |
@property | |
def number(self): |
I hereby claim:
To claim this, I am signing this object:
import asyncio | |
from aiohttp import web | |
import subprocess | |
async def uptime_handler(request): | |
# http://HOST:PORT/?interval=90 | |
# Without the Content-Type, most (all?) browsers will not render | |
# partially downloaded content. Note, the response type is |