How to use slices ( like dynamic array ) in go language ?

An array has a fixed size. A slice, on the other hand, is a dynamically-sized, flexible view … Read more

C program to print files in current directory in reverse order

The scandir() function scans the directory dirp, calling filter() on each directory entry. Entries for which filter() … Read more

Android MediaMetadataRetriever example for local files and Remote URL’s

MediaMetadataRetriever class provides a unified interface for retrieving frame and meta data (such as Audio/Video duration if … Read more

Install and Uninstall Android Application ( APK ) using ADB

Following shell script does, check if android application is installed find an apk path if android application … Read more

Understanding execution and debugging of C program using ltrace

As we seen in previous post “Understanding Very Minimal C Program and its execution in Ubuntu Linux” … Read more

Understanding Linux Signals with simple C program

Signals are a limited form of inter-process communication (IPC), typically used in Unix, Unix-like, and other POSIX-compliant … Read more

Identify / Test file types in Linux using C program stat API

The file mode, stored in the st_mode field of the file attributes, contains two kinds of information: … Read more

C program to delete a file – remove API

In this simple C program, we demonstrate how to use Remove System call from C to delete … Read more

Use local mirror to build yocto file system from internal server

As we have seen in “Configure yocto to download from local mirror to save bandwidth” one way … Read more

How to resolve : undefined reference to `pcap_lookupdev’

If you are trying to compile any network packet capturing related program, there are higher chances you … Read more

C program – UDP Server to print UPNP Packets

This posts provides the C program with UDP server, which listens on UDP Multicast group 239.255.255.250 and … Read more