Posts

Showing posts from May, 2016

How to Comment and Uncomment Multiple Lines in Vim

Image
There are several ways you can comment and uncomment a range of lines in vim editor. Commenting  Method I (easiest) Step 1:  Make sure your are in command mode by pressing Esc key Step2: Move your cusor to the start of the starting line of the block that you want to comment out press Ctrl + v for visual mode and now press the down arrow key to select till the last line you wanna comment. Step 3: Press upper case I (shift + i) and type # or // for commenting depending on the programming language. and finally press Esc key wait a sec and it's done! Read more »

Best command-line Password Manager for Linux/ubuntu - kpcli

Image
kpcli is a command line password manager for linux/unix. We can store login credential of various accounts in a databases and access the database with a master password. All kpcli commands  are almost same as linux commands, so it will be nice if you are familiar with them already. kpcli database file can work with keepassx (gui) and vice versa. Let's quickly go through this tutorial to see how to install and use it. Read more »

How to install and run Juypter/Ipython Notebook in Ubuntu/Debian/Linux Mint

Jupyter is a an opensource webapp that allows you to make documents containing live code which can be compiled within the Jupyter notebook itself. It supports over 40 programming languages like python, Ruby... Earlier Jupyter was knows as Ipython Notebook. It is widely used by the scientific community and teachers. You can also run online Jupyter without installing it from http://try.jupyter.org Installation: you can install Jupyter via conda or pip. 1. Using Anaconda First, make sure Anaconda is installed . conda install jupyter 2. Using Pip or pip3 First, make sure you have pip or pip3 installed. ( sudo apt-get install python-pip ) pip install jupyter or pip3 install jupyter Read more »