Programming Leftovers
-
Yocto Project 4.2 released – Bootlin contributions inside
The Yocto Project has published its new release: 4.2, also known as "Mickledore". It features improved Rust support, BitBake engine improvements, support for Linux 6.1 (the latest Long Term Support kernel), new QEMU features, testing improvements and of course many other new features and package updates. See the release notes for all details.
-
What Are Bash Variables and How Can You Use Them?
Bash allows you to map whole strings of text to single variables, simplifying its use and script writing.
-
Use of Not Equal to the Operator in Bash
Practical tutorial on method of comparing two values using the “!=” and “-ne” operators to check the equality or inequality of two strings or numbers.
-
Environment Variables in Python
Environment variables are essential elements in Python programming that store key-value pairs at the system level. They play a crucial role in enhancing the security and flexibility of applications.
-
Python Itertools.Islice() Function
To slice a sequence efficiently in Python, use the “itertools.islice()” function with “start”, “stop”, and “step” values.
-
Taking Rust to the Cloud: Blazingly Fast File Sharing
"rustypaste" is a self-hosted and minimal file upload/pastebin service written in Rust. In this post, I will be talking about its features and telling the story behind how I deployed it to shuttle.rs to make it publicly available for free use.
-
Strcpy() Function in C Language
Practical tutorial on how to use the strcpy() function to copy the strings, its input and output arguments, and the data types that are used by each one.
-
Setting Decimal Precision in C
How to implement the decimal precision in C to adjust the precision of floating-point variables and set it in the functions of the standard inputs and outputs.
-
Case-Insensitive String Comparison in C++
Practical tutorial on what the case-insensitive string in C++ language is and how we compare the case-insensitive strings in C++ programming language.
-
Bit Masking in C++
Tutorial on what bit masking is and how to implement it in C++ programming language and the different operators to carry out the various bit masking operations.
-
Call Base Class Function in C++
How to utilize the "call base class” function capability to call a method from a derived class to avoid code repitition and make the new class more efficient.
-
C++ Cout Format
The different formats to use for the cout object in C++ to calculate the sum of two variables in cout by utilizing it with the stream insertion operator.
-
C++ Multiple Inheritance
Tutorial on the use of multiple inheritance in C++ by implementing the basic implementation of multiple inheritance and performing the arithmetic operations.
-
Else-If Statement in C++
The concept of if-else-if conditional statements in C++ to check multiple conditions and the value of a variable that is already declared in the program.
-
Sizeof() Operator in C Language
Practical guide on how to use the unary sizeof() operator in C language to determine the size of an object and how to use the operator in the most common cases.
-
Appending of Vector to Vector in C++
Various methods of appending of vector to vector with the same data type, either “integer” or as “string”, using the vector.insert() and std::copy() methods.
-
Static Methods in C++
Practical tutorial on what the static method in C++ programming language is, how to use it in the C++ language, and how to define the static method in C++.
-
How to Use the C++ Memcpy Function
Practical tutorial on how to use the memcpy() function in the C++ programming language to transfer a certain number of bytes from one memory address to another.
-
Fibonacci Sequence in C++
Guide on how to create a Fibonacci sequence in C++: using the for-loop to generate the Fibonacci series and using the while-loop to create the Fibonacci series.
-
Random Access Files in C++
Practical tutorial on how to use random access file function in C++ to randomly access any random file which lacks the order rather than those sequential ones.
-
PostgreSQL Dblink Extension
How to use the Postgres dblink extension to facilitate the connection to a remote PostgreSQL database and creating the dblink connection on the client machine.