Bashhub will change your life!

What if you are in a directory in your computer and you want to know all the commands you have typed in that directory? What if you wanted to access that long command which you typed on to your computer around 4 months ago which fixed your problems? What if you want to search the commands you typed in your home pc whlie you are working on your work laptop? Continue reading

Using fitbit on Oneplus 5T

I started using Fitbit Blaze in November 2017. The moment I got the new watch I realised that it the watch is not officially compatible with my Oneplus 5T. I didn’t know this before buying the watch. After struggling a lot for a few days and browsing through online forums for solutions I finally found one and it has been working really for more than 4 months for me now.

Continue reading

Setting up gem caching server to speed up docker builds

First up, why do we even need a gem caching server? Once you install a gem it does get cached in your system by default. Method mentioned in this post can be useful if you are using vagrant or docker to do bundle installs a lot of times. For example in my case every time I tried to build my docker image the bundle install command used to take a lot of time because in every build it used to download all the gems again. Continue reading

Link external containers using docker-compose

If you use docker and docker-compose then you might have come across cases where you want services running across different networks to interact. Typically this need arises when we use a single database container like postgres and we want other containers created using different docker-compose files to use the database container. It can become really confusing and difficult to setup. I got stuck recently with a similar issue and resolved it. Hope it might be useful for you as well. Continue reading