In this article of server talks we will see how we can implement load balancing with nginx as load balancer. First install nginx with the below command sudo apt-get install nginx Now we will open the nginx config and change the config to use the nginx as load balancer. You can found the nginx config at
Author: Gaurav Yadav
Monitor your unix system resources using HTOP.
When it comes to servers it is really important to keep track of memory, cpu utilization, which processes are taking what amount of CPU, what process are orphan processes etc. All these are required to take necessary step like kill a process if it is taking a lot of CPU or trigger autoscaling when CPU
Python: Increasing performance of your code: For vs Map
In this performance of programming language article we are going to talk about some small tips which will help you in Increasing performance of your python code. Lookup for function is costly. Lets say we have to write a loop which will run till the length and calls upper on each string. alist = [‘a’,’b’,’c’] for item
Controlling LED with Motion Sensors in Raspberry Pi using python.
In the tutorials series of raspberry pi here is the next article. In this article we are going to learn controlling LED with Motion Sensors in Raspberry Pi using python. So lets start with Controlling LED with Motion Sensors in Raspberry Pi using python. What you need: Raspberry PI 3 Model B [This is what
How to blink LED lights using raspberry pi
Hello everyone we are back with another article on how to blink LED lights using Raspberry pi. This will be a short tutorial follow the steps and you will be able to get a LED blink as you instruct it. How to Blink LED lights using raspberry pi What you need: Raspberry PI LED
Kodi: Open Source Media Center and Home theatre.
Here I am gonna tell you about an open source software which you can use to make your system or a raspberry pi your media center. The name of the software is Kodi. You can find it here Kodi: Open Source Media Center and Home theatre. What It can do: It will make your system
Raspberry PI Motion Sensor example: Shutdown the systems on inactivity
Recently I started learning raspberry pi and its different modules. Here I will tell you how to make a system that will shutdown all the systems in room after inactivity of few seconds. This is Raspberry PI Motion Sensor example. In this Raspberry PI Motion Sensor example we are going to shutdown the computer systems that
What if Nuclear Wars in JS and SVG? BOOM by Sarah Drasner
I was browsing some pens on Codepen and then I came across this beautiful design and thus I shared this. Have look what will happen if nuclear war starts. Follow her at @sdras by Sarah Drasner The content on this page is of public domain.
Python dependency security vulnerability checker.
In an article before we talked about packages to test dependency security vulnerability for php, node and ROR packages. In this tutorial we are going to talk about python dependency security vulnerability checker which can be very useful for checking security loopholes in python projects which are listed by the open source community. The package we are going to
Awesome micro-interaction animations
Micro-interaction animations are the small events that happens when you do some very small things like hover click e.t.c. Today we will see some awesome micro-interaction design. These are not build by me but by different people, you can follow these people mentioned at the end. I am just show casing it here. Everything shown