Run mongodb as a docker container
The following Dockerfile definition runs a mongodb 3.4.18 database inside a docker container. ...
Send json query to Apache Solr
The following code shows how to send an aggregation query to Solr
Assuming docs having the...
Install Apache Solr
Apache Solr is a powerful text search engine based on Apache Lucene.It allows json format on...
Flask Blueprints
When building a Flask application, soon, the need of sorting the code somehow arises.Too many...
Python Dockerfile
Dockerfile to run a python Flask app.
Assume the application is in main.py file,Flask app has...
Python load Yml
The following snippet loads a yml file:
Load yml configPyyaml12345678import yamldef...
Rich post
The following snippet loads a yml file:
Load_configPyyaml12345678import yamldef load_config(): ...