Enable Basic Authentication and SSL on a Mongo DB instance

creating ssl key and certificate for enabling ssl Run the following command to generate ssl certificate and key file. openssl req -newkey rsa:2048 -new -x509 -days 365 -nodes -out mongodb-cert.crt -keyout mongodb-cert.key cat mongodb-cert.key mongodb-cert.crt > mongodb.pem add the following property to mongod.conf to enable ssl # network interfaces net:...

Set Up Jenkins to Build Docker Images From Inside A Docker Container

For one of my projects I needed to setup a jenkins environment for autobuild. I pulled a jenkins docker image form docker hub and started a jenkins container. My next requiremt was to build docker image of the project I was building inside jenkings. But it is difficult and complicated...

Useful Docker Images

Some useful Docker images which I use day to day for my work and non work related tasks. This include a torrent server, a file sharing server , youtube-dl with ui app and jenkings build server and Jekyll environment which I use to build this blog. Here is the list....

Edit a file on remote server in sublime text

Using Secure Shell (SSH) Tunneling, we can establish an SSH session that routes arbitrary traffic through it to a specified port for any use we want. Thanks to a nifty set of scripts called rsub, modified originally from TextMate’s rmate, we can run a little utility server on our local...

Sublime Line Break Plugin

Introduction This is a sublime plugin to copy multi line data from a selection to clipboard. There is a sublime shortcut (ctrl+j) which do the same thing but do that in-place (changes the contents of file). This plugin copies the content but does not change the actual file. for example...