Programming Leftovers
-
Cross build and packaging
Introduction Let’s start by clarifying what we mean by cross-building and cross-packaging. Cross-compilation is the process of compiling source code on one platform, called the host, in order to generate an executable binary for a different target platform. The emphasis here is on the word “different”. The target platform may have a different CPU architecture, such as when we work on an x86 computer and want to build software for a Raspberry Pi board with an ARM CPU.
-
Advanced Bash Scripting Techniques for Linux Administrators
Bash is a powerful scripting language that is widely used in Linux and Unix environments for automation and system administration. With Bash scripting, system administrators can automate repetitive tasks, manage servers, and perform complex operations. However, mastering Bash scripting requires more than just basic knowledge of syntax and variables.
-
Keyboard Shortcuts in Nano
Nano is a popular text editor used on Unix-based operating systems like Linux.
-
20 Common JavaScript Interview Questions and Answers
JavaScript is one of the most popular programming languages in the world. As a result, it is also one of the most frequently asked topics in technical interviews.
-
AWK: String functions
Awk is a powerful text processing tool that is commonly used for manipulating and analyzing data in Unix and Linux environments. One of the key features of awk is its ability to manipulate strings using a wide variety of built-in functions.
-
Support distro name change from EasyOS in woofQ
I posted to the forum about changing the name of "EasyOS" and "Easy" to something else, such as "WaryOS" and "Wary":
https://forum.puppylinux.com/viewtopic.php?p=83290#p83290
There is fundamental problem with implementing that though, as the text "EasyOS" and "Easy" is hard-coded in woofQ, right from creation of EasyOS in early 2017.
I thought about replacing all occurrences of those text strings with variables, and wherever there is $(gettext " ... EasyOS ...") replace with something like $(eval_gettext " ... \${NEWDISTRONAME} ...")
However, that is very complicated to implement, a huge amount of work and likelihood of something going wrong.