init script for mongodb 4 on WSL in ubuntu 18.04

If you try to start mongodb on WSL using systemd you will be getting this error. System has not been booted with systemd as init system (PID 1). Can’t operate. There seems to be no init script for mongodb 4 on ubuntu 18.04(may be other versions too). This makes it complicated for starting mongodb in … Read more

Serving Flask helloworld using uwsgi

uwsgi is a high performance, low-resource usage web server for deploying python application. In this post, i am going to show how to serve a simple HelloWorld application in flask using uwsgi   Prerequisites pip install flask pip install uwsgi Now lets create our app.py from flask import Flask app = Flask(__name__) @app.route(“/”) def hello(): return … Read more

Uninstalling torrent-time on Mac

Torrent-time is a browser plugin to stream torrents directly from your browser. During the past week, many popular torrent sites have incoporated it to their sites. If you have installed them by mistake, and wants to remove them, you can follow the steps below Open Terminal and type in the following commands sudo rm /Library/LaunchDaemons/com.torrents-time.helper.plist … Read more