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
#!/usr/bin/env python | |
import aiohttp | |
import asyncio | |
from aiojobs.aiohttp import setup, spawn | |
from aiohttp import web | |
async def coro(address): | |
async with aiohttp.ClientSession() as session: | |
async with session.get(address) as resp: |
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
Homebrew build logs for pypy on macOS 10.12.5 | |
Build date: 2017-06-09 10:03:04 |
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
Homebrew build logs for pypy on macOS 10.12.5 | |
Build date: 2017-06-09 10:03:04 |
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
from django.db import models | |
class Company(models.Model): | |
nip = models.CharField(max_length=30, blank=True, null=True, unique=True) |
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
In [1] text = u'zażółć gęślą jaźń' | |
In [2] open('test.txt', 'w').write(text) | |
--------------------------------------------------------------------------- | |
UnicodeEncodeError Traceback (most recent call last) | |
<ipython-input-2-da71a133970f> in <module>() | |
----> 1 open('test.txt', 'w').write(text) | |
UnicodeEncodeError: 'ascii' codec can't encode characters in position 2-5: ordinal not in range(128) |
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
### Keybase proof | |
I hereby claim: | |
* I am jerzyk on github. | |
* I am jerzyk (https://keybase.io/jerzyk) on keybase. | |
* I have a public key whose fingerprint is 4DA4 89EE 661F 685C 77E6 F602 04F4 3D20 C1B7 BCA1 | |
To claim this, I am signing this object: |
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
$ brew --config | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/mxcl/homebrew.git | |
HEAD: c1bb28354e3c016fc7ec570889729547396e0df0 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: 8-core 64-bit ivybridge | |
OS X: 10.9-x86_64 | |
Xcode: 5.0.1 | |
CLT: 5.0.1.0.1.1382131676 |
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
Your system is ready to brew. |
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
yayco:~ jerzyk$ brew upgrade -v shiboken | |
==> Upgrading 1 outdated package, with result: | |
shiboken 1.2.0 | |
==> Upgrading shiboken | |
==> Downloading https://download.qt-project.org/official_releases/pyside/shiboken-1.2.0.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/shiboken-1.2.0.tar.bz2 | |
tar xf /Library/Caches/Homebrew/shiboken-1.2.0.tar.bz2 | |
brew: Prepending to PYTHONPATH: /usr/local/Cellar/shiboken/1.2.0/lib/python2.7/site-packages | |
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/shiboken/1.2.0 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DBUILD_TESTS=ON -DPYTHON_INCLUDE_DIR='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/Headers' -DPYTHON_LIBRARY='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib' .. | |
cmake -DCMAKE_INSTALL_PREFIX=/usr/local |