If you want run your application as a systemd service, using systemctl, you can do that easily by creating service file. As example, we are going to run Python Flask to show basic info about OS. Project structure: Let’s create file monitor_app.py: from flask import Flask, render_template import os app = Flask(__name__) @app.route(‘/’) def index(): return […]
Others
IntelliJ IDEA – Import plugin module from existing source
If you are trying to import module, which contains IntelliJ Platform Plugin, you would like to have it imported like plugin. How to fix imported plugin module: Open Module settings Import module Apply changes Open .iml file for your module Look for <module type=”JAVA_MODULE” version=”4″> Change it to <module type=”PLUGIN_MODULE” version=”4″> I was not able to find […]

Docker – Useful commands
Here are few useful commands for Docker which I am using. So I summarized them here: How to get another part of docker version? You can get everything from docker version result which looks like this: Client: Version: 1.12.1 API version: 1.24 Go version: go1.7 Git commit: 23cf638 Built: […]

Google Places API Javascript Library – Create autocomplete input and work with returned data via JavaScript
Google Places API Google offering a lot of APIs and what is best, for common use they are free! In this post, I will describe you Autocomplete functionality and something about that, what you can do with place, which can be returned by autocomplete. Restrictions Using of this feature is limited by count of requests […]