-
AWS connection timeout
Fixing connection hanging on code running on instances behind AWS NAT Gateway
-
Kibana Best Practices
Description of some of the best practices to setup Kibana clusters
-
Moving WSL2
WSL2 takes up a lot of space. Here is show how to move it to a different directory or path
-
VSCode in Google Colab
How to use VSCode in Google Colab.
-
Unbrick router via TFTP
In this post, I am going to show how to unbrick your router which might be bricked due to a failed firmware upgrade or flashing another firmware like OpenWRT. Most of the new generation routers ship with a restore mechanism via TFTP protocol and since TFTP is generally a part
-
Reduce WSL2 disk size
WSL was good but it was not perfect for a linux dev running Windows 10. One reason was it was not fully compatible with linux. In the upcoming Windows 10 feature update, a new version of WSL is…
-
Non blocking scheduled tasks in python
Code snippet for non blocking python scheduled task
-
MongoDB authentication
In this post, i try to show one of the ways of using authentication on standalone versions and replica set of MongoDb STANDALONE INSTANCE Connect to mongo shell on the mongodb instance and run. use…
-
Almost free location API
In this blog post i try to get around pricey User IP location services using a cloud function and with the help of tracked data by our friends at Google. Below is a nodejs script to deploy on google…
-
Setting up Drone CI/CD
CI/CD pipelines is a must for rapid prototyping and development of applications. Be it frontend or backend. One of the open source tool for CI/CD is the one called Drone Setup of this tool is extremely simple. Requirements * docker installation on your system Just ssh into your server
-
Cron Jobs in Kubernetes
A lot of time, we need to run periodic jobs using Cron. Kubernetes is an amazing tool for it since it simplifies resource management by spinning up nodes in case of non availability of resources and releasing them in case of excess capacity. Cron jobs can be deployed by referring
-
Finding means of multi-modal Gaussian distribution
Need to find the means of the multi-modal normal distribution * In our day to day lives, we encounter many situations where data is generated with multiple peaks(modes). * One such problem would be the identification of peak hour times in a public transport systems like metro or buses. * We need
-
Setting Up Nginx Ingress, Letsencrypt in Kubernetes without LoadBalancers
Deploying services using Docker containers are all in the rage nowadays and Kubernetes provides a good way to manage them. Also, majority of the cloud providers have kubernetes as a service. So…