C program in Linux to find the current working directory (PWD)

getcwd, getwd, get_current_dir_name functions return a null-terminated string containing an absolute pathname that is the current working … Read more

C program to convert integer number to string

Following program converts integer number 42 to string “42” using sprintf. sprintf() writes to the character string. … Read more

How to write Comments in C Program ?

In C program, comments doesn’t have any use other than for better understanding of the developers of … Read more

github

Pushing your first git repository / project to Github

As we seen in our last two posts “How to create git repository in Github” and “Starting … Read more

github

How to clone remote git repository which has git submodules ?

In our last post, we seen how to create a remote repository in github which actually uses … Read more

How to fix – fatal: Unable to create ‘.git/shallow.lock’: File exists.

Today while trying to clone big repository using “git fetch” we encountered following error, “fetching iteration / … Read more

How to Install Flutter on Ubuntu Linux ?

Flutter is a new way to build high-performance, cross-platform mobile apps. If you are new to Flutter, … Read more

How to install perf in Ubuntu Linux ?

Perf is a profiler tool for Linux 2.6+ based systems that abstracts away CPU hardware differences in … Read more

How to recreate dts file from a running Android device ?

As we have seen in “How to cross compile static dtc for ARM” we are able to … Read more

How to recreate dts file from live Embedded device ?

Sometimes it happens that you don’t have source code of the device on which you are working … Read more

How to cross compile static dtc for ARM ?

As we seen in our previous post, “How to Compile and Install device-tree-compiler (DTC) On Ubuntu”, we … Read more