Posts

I escaped from uTorrent and here is why

There are many software to download torrent files in the internet. Most of us are used to use "uTorrent". But this is what happened to me while using "uTorrent". When the software is running I noticed that cooling fans of my laptop are working very fast. Then I checked the task manager and realized the CPU usage is more than 80% (my CPU is Intel core i7-7500U @ 2.7GHz ~ 2.9GHz). There was a task which was using more than 70% CPU usage called "webHelper 32 bit". It is not a windows application and that's a  malware  which is coming with 'uTorrent'. Just search on the internet about 'webhelper 32 bit' and you will find the more information and the people who met with this same incident. And also, I found a perfect torrent downloading software called "qbittorrent" and it is awesome. It uses the maximum internet speed utilization. There are no ads and bundled software with "ibittorrent" like "uTorrent...

What is 'Internet Protocol'

What is 'Internet Protocol'? Take an example of a post office, They have so many letters to distribute various people.  But the post man need all the addresses of the people I mentioned above to deliver the letters to the correct person. That's why all we have an address to our houses. We use our address according to a method as we know,             No 34,                                          Queen's Rd,             Colombo 07,             279923. registered number, street name, city and the postal code. Like wise when we surf in the internet, we need a unique address like our home address. Because when we receive data packets from the server we should get what we requested. There may be thousands of computers and other devices connected to the internet. So each and eve...

How to create custom commands in linux?

Image
How to create custom commands in Linux to use with terminal? As a Linux user you may like to use the Terminal and type long commands and work with those stuff. It sounds you like a hacker. But some times it takes a long time and makes you inconvenient. So... Let's make it easy.... Step 1: Open the Terminal(keyboard shortcut : Ctrl+Alt + t) Step 2: Navigate to the /usr/local/bin (command: cd /usr/local/bin) Step 3: Create the script file( use a name which can be easily typed) Step 4: Open the file that you created with nano editor Then type #!/bin/bash at the first line and type your command that you want to make shorter at the next line. Then press Ctrl+x to exit and nano editor automatically prompts you to save the file. So press 'y' and press Enter. Step 5: Congratulations! You did it ;) Now close the Terminal and open a new one. Just type your script name and press Enter.         ex: $ mycmd.sh I...

Linked Lists Using C Programming Language

Image
What is a linked list? Google says, ' an ordered set of data elements, each containing a link to its successor '. Yes, that's true. I assume that you know about arrays and you have an experience with arrays using C programming language. In C, we have to give the size or assign the values to the array when we declare it as shown below. Above example, We ought to know the number of data elements that we are going to insert into the array. When we declare an array it reserves consecutive memory locations from the RAM. It is a memory wasting (The size is static ) . With linked lists , we can allocate memory location from the RAM dynamically when needed. Here we go... What are the libraries that we need? <stdio.h> <stdlib.h> which includes functions involving memory allocation, process control, conversions and others. Creating the node structure Here we have created a data structure for the node ( 'node' is the name of the dat...