I hereby claim:
- I am traut on github.
- I am polzunov (https://keybase.io/polzunov) on keybase.
- I have a public key whose fingerprint is 2F53 7696 D6CD 16F8 C8F4 B38E A8AB CDF2 8860 05CE
To claim this, I am signing this object:
| #!/bin/sh | |
| #|-*- mode:lisp -*-|# | |
| #| | |
| exec ros -Q -- $0 "$@" | |
| |# | |
| (progn ;;init forms | |
| (ros:ensure-asdf) | |
| #+quicklisp (ql:quickload '(usocket flexi-streams) :silent t) | |
| ) |
| #!/bin/sh | |
| #|-*- mode:lisp -*-|# | |
| #| | |
| exec ros -Q -- $0 "$@" | |
| |# | |
| (progn ;;init forms | |
| (ros:ensure-asdf) | |
| #+quicklisp (ql:quickload '(usocket) :silent t) | |
| ) |
I hereby claim:
To claim this, I am signing this object:
| from __future__ import print_function | |
| import pprint | |
| import time | |
| from celery import group, chain, chord | |
| import simple_tasks as t | |
| tasks = [ |
| from __future__ import print_function | |
| import pprint | |
| import time | |
| from celery import group, chain, chord | |
| import simple_tasks as t | |
| tasks = [ |
| from __future__ import print_function | |
| import pprint | |
| import time | |
| from celery import group, chain, chord | |
| import simple_tasks as t | |
| workflow = chain( |
| import uuid | |
| # http://marshmallow.readthedocs.org/en/latest/ | |
| from marshmallow import Schema, fields | |
| STATUS_TYPES = [ | |
| 'ASYNCHRONOUS_POLL_ERROR', 'BAD_MESSAGE', 'DENIED', | |
| 'DESTINATION_COLLECTION_ERROR', 'FAILURE', 'INVALID_RESPONSE_PART', | |
| 'NETWORK_ERROR', 'NOT_FOUND', 'PENDING', 'POLLING_UNSUPPORTED', | |
| 'RETRY', 'SUCCESS', 'UNAUTHORIZED', 'UNSUPPORTED_MESSAGE', |
| var compress = require('./lib/compress'); | |
| var sys = require('sys'); | |
| exports.gzip = function(request, response, result) { | |
| var encoding = 'gzip'; | |
| if ((request.headers['accept-encoding'] || '').indexOf(encoding) >= 0) { | |
| var contentType = result.headers["Content-Type"]; | |
| contentType = contentType && contentType.split("/")[0]; | |
| if (!result.headers['Content-Encoding'] && // skip if already encoded | |
| result.status != 204 && // of if no body |
| 1. | |
| // before | |
| http://localhost:8983/solr/select?facet.field[]=line1_ua&facet.field[]=line2_ua&facet.field[]=line3_ua&facet.field[]=line4_ua&facet=true&sort=with_picture+desc&fl=ean&facet_limit=20&q=%2Bstore_id:123+&facet_mincount=1&wt=json&rows=100 | |
| // after | |
| http://localhost:8983/solr/select?facet.field=line1_ua&facet.field=line2_ua&facet.field=line3_ua&facet.field=line4_ua&facet=true&sort=with_picture+desc&fl=ean&facet_limit=20&q=%2Bstore_id:123+&facet_mincount=1&wt=json&rows=100 | |
| 2. | |
| // before |
| var s = solr.escape('it's 11:00 -- do you know where your children are?") | |
| var query = "+title:" + s; | |
| and this works fine: | |
| > A search for "+title:it's 11\:00 \-\- do you know where your children are\?" returned 0 documents. |