TODO: Write a project description
TODO: Describe the installation process
| curl -XDELETE 'localhost:9200/test' | |
| curl -XPUT 'localhost:9200/test/data/1' -d ' | |
| { | |
| "numbers":[11,23,13,16,17,23.6] | |
| }, | |
| ' |
| import collections | |
| import json | |
| import redis | |
| import threading | |
| from tornado import gen | |
| from tornado import ioloop | |
| from tornado import web | |
| from tornado.options import define | |
| from tornado.options import options | |
| import tornadoredis |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!
| [ | |
| { "keys": ["ctrl+shift+x"], "command": "tidy_xml" }, | |
| { "keys": ["ctrl+shift+j"], "command": "prettify_json" } | |
| ] |
| #!/bin/bash | |
| LOADING=false | |
| usage() | |
| { | |
| cat << EOF | |
| usage: $0 [options] dbname | |
| OPTIONS: |