Check if page opened is Home page in WordPress

Sometimes we want to display certain things only on certain category of pages, for example, on this … Read more

C program to read mac address using WiFi interface name

If you need to get the mac address of certain wifi interface using C program, you can … Read more

Create a Dual Partition SD Card with Linux / Ubuntu

Start ‘fdisk’. For me, the SD card reader/writer has the SD card show up on /dev/sdc. I … Read more

Using electric fence for debugging memory leaks in Linux

Electric Fence helps you detect two common programming bugs: software that overruns the boundaries of a malloc() memory … Read more

What is Linux Out-Of-Memory OOM Killer ?

Major distribution kernels set the default value of /proc/sys/vm/overcommit_memory to zero, which means that processes can request … Read more

How to avoid a process from being killed in case of Out of Memory ?

In our previous post, we understood “What is Out of Memory Killer ?” In this post, we … Read more

insmod: ERROR: could not insert module hello.ko

We tried to write a simple class driver framework which will create a directory in /sys/class, we … Read more

C program to print Hex values of characters in string

Following program prints the hexadecimal values of all the characters in any string. Currently we have used … Read more