Each time you are working on a bug or a feature, you create a branch for it. Usually, while working in such temporary branches, you make multiply commits without bothering a lot about commit messages and simply comment the changes with something like “work in progress” or just “WIP”. Before merging such branch into master […]
PATH is an environment variable that specifies a set of directories, separated with semicolons (;), where executable programs are located. In this note i am showing how to print the contents of Windows PATH environment variable from the Windows command prompt. I am also showing how to add a directory to Windows PATH permanently or […]
Someday you may need to get the SSL certificate of a website and save it locally. For example, you could get an error saying that you can’t clone a Git repository due to a self-signed certificate and to resolve this issue you would need to download the SSL certificate and make it trusted by your […]
Sublime Text is one of the most popular code editors with a lot of built-in features. The functionality of Sublime Text can be extremely extended by hundreds of useful plugins. The easiest way to install a package (plugin) for Sublime Text is to use Package Control – the package manager for Sublime Text.
What is Pip? pip is a tool for installing and managing Python packages. With pip command you can install, list, upgrade (update), downgrade and uninstall Python packages. In this post i am showing how to use pip from the command line by giving examples of the basic pip commands.
By default, vi/vim text editor uses the h, j, k and l keys for navigation. Hitting arrow keys in the insert mode will insert newlines and print A, B, C, D capital letters. In this small note i will show how to fix not working arrow keys, that print letters in the insert mode in […]
Almost all cloud storage services encrypt customers data, however this doesn’t mean that the privacy of this data is protected enough. The most of those services also manage the keys used for encryption, that means that your encrypted folder can be decrypted not only by you. In this article i will show make a private […]
In MongoDB, users can have privileges across different databases. In the following article i will show how to create, show and delete a user in MongoDB. I will also show how to create a user with admin and a user with root (superuser) privileges on the all databases in MongoDB.
By default, authentication is disabled in MongoDB, but this is not so critical as, out of the box, MongoDB is listening on localhost only. If you are going to allow remote connections to MongoDB, then it is definitely needed to enable authentication. In the following article i will show how to enable authentication in MongoDB […]
In MongoDB, in the opposite to traditional SQL databases, there is no need, as well as possibility, to create an empty database. To create a new database in MongoDB, it needs to insert at least one document into it. In this article i will show how to create a new database and a user for […]