code
Add Custom Handlebars Helper to Ghost 5.x
The last version of the Ghost Blogging Platform is 5.2.2.There have been great improvements in...
Run Cron jobs inside Docker container
This Dockerfile can be used to execute python code, scheduled by a Cron job.
The basic steps...
Python Socket.io server Dockerfile
Python Dockerfile to run a Socket.io server using Python-socketio server.
Dockerfile for a...
Run a Socket.io Python application
This article shows how to use Socket.io with Python, running a simple python-socketio...
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...
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(): ...