LATEST ARTICLES

How to create sphinx project

Install Python, Sphinx, and Others Download python version 2.7.10 or higher (Version 3.4 is recommended). If you are installing on Windows, ensure both the Python install directory and the Python scripts directory have been added to your PATH...

How to convert markdown to asciidoc

Install pandoc in your system sudo apt-get install pandoc To convert md file to adoc pandoc -s -S readme.md -t asciidoc -o readme.adoc OR Install IntelliJ asciidoc plugin

How to install aws-cli specified version

pip install aws-cli==1.10.0 To install auto completion complete -C aws_completer aws

How to install mongo db

Install on ubuntu sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 sudo echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list sudo apt-get update...

How to install NodeJS

On Ubuntu sudo apt-get install node npm -y sudo npm install -g grunt-cli sudo ln -s "$(which nodejs)" /usr/bin/node To install latest curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs Install with Node...

How to get default outgoing interface name and ip address

When you have two or more interfaces you want to know what is the default interface used to connect outside world. Here are the commands to help you found the default outbound interface and ip address. To list all your interfaces ip a ip route...

Adblock using pi-hole

Pihole is an adblock server based on DNS. Steps Install pihole with docker Set that pihole installed server ip as DNS in your router / computer You are done. http:/// to view the dashboard Installation docker-compose.yml...

Gradle command to get project version

Gradle do not have direct command to get version of project. From linux terminal you can get like gradle properties -q | grep "version:" | awk '{print $2}' To use inside shell script project_version=$(gradle properties -q | grep "version:" | awk...

Not to follow url redirects python

Explained about to setup not to follow 302 / 301 redirects in different python modules Requests import requests r = requests.get('http://lesscoder.com', allow_redirects=False) print(r.status_code) httplib2 import httplib2 h = httplib2.Http()...