Working with Strings in Kotlin

The basic datatype of strings in Kotlin is mostly similar as that of used in java. Only … Read more

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