Anton Egorov
Anton Egorov
Here is the sample `deckgin.json` I have. ``` { "containers": { "web": { "image": "satyrius/my_web_project", "port": ["2200:22", "8000:80"], "mount": ["/var/log/my_web_project/nginx:/var/log/nginx"] } }, "clusters": { "my": ["web"] } } ``` It...
`SentenceTokenizer` doesn't split by this symbol `…`. Here is the example of the content. ```js const { SentenceTokenizerNew } = require('natural') const content = `We’re heading for a catastrophic global...
When you connect to your remote server using ssh and work directly on this server the plugin would not work because layout switching happens on your local machine, not on...
You can filter by some hash_store value ``` Something.objects.filter(data__gt={'a': '1'}) Something.objects.filter(data__gte={'a': '1'}) Something.objects.filter(data__lt={'a': '2'}) Something.objects.filter(data__lte={'a': '2'}) ``` Also `contains` may filter by list of values ``` Something.objects.filter(data__contains={'a': ['1', '2']}) ```
Тема со склонением городов вроде уже избитая, но все равно есть вопрос. Как склонять иностранные города? ``` python print morph.parse(u'Пореч')[0].inflect({'loc2'}).word # поречах (надо Порече) print morph.parse(u'Колашин')[0].inflect({'loc2'}).word # колашинах (надо Колашине)...
For example I have the following settings for thumbnailer ``` python THUMBNAIL_ALIASES = { '': { 'banner': {'size': (730, 480), 'crop': False}, }, } ``` I want to keep source...
Trying to build and install you plugin on Debian 8.1 ``` bash apt-get update -qq && apt-get install -qq build-essential git-core # Install golang curl -o go16.tar.gz 'https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz' tar -C...
How to create a few nodes in a template with auto-generated names (e.g. for column design) ``` django {% blocknode 'page/column-1.md' %} ## Luke {% endblocknode %} {% blocknode 'page/column-2.md'...