Nginx and its workers with some random facts

I have a VM with one CPU only and there I run #nginx 1.18.0 in ubuntu server. It involves with some lightweight work like static content serve and as well as dynamic content with load balancer capability.

Continue reading Nginx and its workers with some random facts

Take Down all the Services Which are Deployed in Kubernetes by Imperative Way

To take down the services deployed by Kubernetes, this oneliner is pretty handy in some situations despite being too cluttered command… But it does work in situations.

% kubectl get deployments | awk '{print $1}' | grep -v "NAME" | while read f; 
do
    kubectl scale deployment $f --replicas=0;
done

Posted a new Blog at Medium: How to Deploy RedisInsight in EKS and Access via Ingress Nginx

Here it is: How to Deploy RedisInsight in EKS and Access via Ingress Nginx

RaspberryPi with DHT22 Sensor for Humidity and Temperature Data with InfluxDB

I have been playing with RaspberryPI for a while. There are several project I tried to do with RaspberryPI. These boards play a significant role in my home lab for different experiments like Docker Private Repository, Media Server, Ad Blocker with pi-hole, Secure Proxy for anonymity, secure network access with VPN, Home Security Camera/Surveillance, Data Collector or scraper etc. But This time, I did buy a “DHT-22” sensor for monitoring room temperature and humidity. Humidity is my main concern and wanted to see how it fluctuates.

So, my main plan was to get a DHT-22 to connect properly

Continue reading RaspberryPi with DHT22 Sensor for Humidity and Temperature Data with InfluxDB

Count Characters in a Google Sheet

I was trying explore some data in Google Sheet and stumble upon a unique problem. There were several columns and rows of data containing strings. I wanted to count specific string.

I wanted to find out how many “aD” in whole set.

Continue reading Count Characters in a Google Sheet