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
FROM ubuntu:14.04 | |
MAINTAINER Andrew Pashkin <[email protected]> | |
RUN apt-get -y update | |
RUN apt-get install -y software-properties-common | |
RUN apt-add-repository -y ppa:ansible/ansible | |
RUN apt-get -y update | |
RUN apt-get install -y ansible |
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 | |
# coding=utf-8 | |
import asyncio | |
import time | |
@asyncio.coroutine | |
def coro(): | |
while True: | |
print('I\'m running!') |
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 | |
# coding=utf-8 | |
"""Client that demonstrates processing pipeline.""" | |
import asyncio | |
from functools import partial | |
import logging | |
logging.basicConfig(level='DEBUG') |
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
commit 84a68f9be8e2af8d1c019fccb2d61eee05dd92d9 | |
Author: Tierzov Andrii <[email protected]> | |
Date: Wed May 7 18:07:33 2014 +0300 | |
#422 - Добавлены поля в форму и соответствующая модель. | |
commit 926e896ca2c36c5587b0c6fd65172101925df326 | |
Author: Pashkin <[email protected]> | |
Date: Wed Jun 4 11:20:17 2014 +0400 | |
Revert "#522 - Добавлены поля в форму и соответствующая модель." |
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
$ sudo apt-get install postgresql postgresql-contrib python-psycopg2 -y | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
libossp-uuid16 libpq5 libxslt1.1 postgresql-9.1 postgresql-client-9.1 | |
postgresql-client-common postgresql-common postgresql-contrib-9.1 | |
python-egenix-mxdatetime python-egenix-mxtools ssl-cert | |
Suggested packages: | |
uuid oidentd ident-server locales-all postgresql-doc-9.1 libdbd-pg-perl |
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 pymorphy2 | |
morph = pymorphy2.MorphAnalyzer() | |
verbose_name = u'Статья' | |
p = morph.parse(verbose_name)[0] | |
print( |
NewerOlder