kjohri

Simple Screen Recorder records only a black screen

  • by

1.0 Problem

Simple Screen Recorder program records only a blank black screen on Ubuntu Linux.

2.0 Solution

  1. Close all programs.
  2. Log out.
  3. Start a fresh login procedure. Click on the user name.
  4. Before entering the password, find the gear icon in the bottom right corner of the screen.
Read more

Chromecast not connecting to Wifi

  • by

1.0 Problem

A change of Wifi network necessitated that the same be changed for a working chromecast device. When the chromecast was reconfigured using the Google Home app, it would not communicate with the new Wifi network. An error message was printed and the configuration session would end.… Read more

Program to generate a random password in C

  • by

1.0 Introduction

We need passwords to login to our accounts. These password must be unbreakable. One way to make a password strong is to make it random. Here is a program in C language which can be used to generate a random password offline.… Read more

C Programming Tutorial 5: Structures and Unions

  • by

1.0 Structures

A structure is a collection of variables for an entity. The variables are known as members of the structure and are located at consecutive memory locations. The size of the structure is the sum of sizes of the members plus any padding that might be placed by the system.… Read more

C Programming Tutorial 4: Pointers and Arrays

  • by

1.0 Introduction

A pointer variable holds the address of another variable. It is said to be "pointing" to that variable. For example,

int *ip;

defines a variable ip of type integer pointer. ip points to a variable of type integer. At the implementation level, it holds the address of a variable to type integer.Read more

C Programming Tutorial 3: Control Flow and Functions

  • by

1.0 Introduction

A C program comprises of global data and functions. A program must have a main function and the execution starts at the first statement in the main function. A function has local data and statements. The control flow deals with the order in which statements are executed by a program.… Read more

C Programming Tutorial 2: Data Types and Expressions

  • by

1.0 Introduction

Data is an important part of a program. In fact, programs are written so that data can be captured, processed, stored and presented to the user. The success of a program depends on how well data has been organized and used.… Read more

I/O multiplexing: select, poll and epoll in Linux

  • by

1.0 I/O multiplexing

I/O multiplexing is the the ability to perform I/O operations on multiple file descriptors. Input operations like read, accept and calls for receiving messages block when there is no incoming data. So, if an input call is made and it blocks, we may miss data from other file descriptors.… Read more