UUID: Universally Unique Identifier
DCE 1.1, ISO/IEC 11578:1996 and IETF RFC-4122 compliant Universally Unique Identifier (UUID) deals with generating unique identifiers. Unique Identifiers are useful when working with multiple machines in and across a network. The UUID generated are computationally difficult to guess. There are different ways by which UUIDs are generated. The choice of generation is left to [...]
How to install UUID Library in Linux/Ubuntu?
UUID can be used to generate universally unique identifier. It can be accessed from the command line and from programs. To work with UUID in programs, you must install the UUID library. To install uuid library in Ubuntu/Linux, you must install the following packages uuid uuid-dev (contains headers and static libraries) Let’s check the contents [...]
How to install UUID in Linux/Ubuntu?
UUID is used to generate universally unique identifier. It can be used both from the command line and also in your programs. To make use of the command line version of the UUID library, simply install the following package uuid In Ubuntu Linux, it can be installed To check the working of uuid, let’s check [...]
UUID Tutorial – Universally Unique Identifier
UUID is used to generate universally unique identifier. The following tutorial gives an insight on how to work with UUID both from the command line and the programs Introduction Install Command Line UUID Install UUID Library
Vim Tips: How to scroll half a screen?
To scroll a text page by page in the escape mode, we can make use of CTRL+F and CTRL+B. But for better and easier navigation, we would to move half a screen at a time. Make use of the following shortcuts CTRL+D : Scroll Down half a Page/Screen CTRL+U: Scroll Up half a page/Screen Tips [...]
Vim Tips: How to perform Page Up/Down?
For navigating in Vim, we normally make use of the arrow keys (in insert mode) or h-j-k-l combination (usually in Escape mode). To navigate the text page by page, you need the following commands CTRL+F : Page Down CTRL+B: Page Up Tips to remember these shortcuts, assume F and B as follows CTRL + F: [...]
C: Getting the time in Nano Seconds
clock_gettime() returns the time in seconds and nanoseconds since the epoch. The value returned can only be used in conjunction with each other. The following program shows this To compile this program And execute the program