Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Bash printf Function: 7 Examples for Linux

    If you've been using the Bash shell for a decent amount of time, you probably know how to print strings in the Linux terminal using the echo command. The printf command, however, makes printing text with specific formatting much easier.

    Today we'll learn how to make use of the printf function in order to enhance our Bash scripting skills.

  • Replacing String in Bash | FOSS Linux

    Bash is a UNIX shell-compatible command process whose main task is to manipulate strings conducted in a shell environment. Programmers are at times called upon to work on different files. They can add, delete, and replace parts or the whole file to fit their work. This calls upon the knowledge of replacing string in bash. Data storage can be temporary or permanent, depending on the nature of the data. File string is essential when replacing file contents.

  • On the road to Jakarta EE 9 with Open Liberty betas – IBM Developer

    With the release of Jakarta EE 8, enterprise Java technology joined the open source community. Despite the massive scale of this undertaking, which involved scores of projects, tests, meetings, presentations, and deliberations, the transition was a huge success, providing Java developers worldwide with an open source platform for cloud-native enterprise applications.

    However, the next challenge for Jakarta EE was already on deck. Although Jakarta EE 8 was fully compatible with its Java EE 8 predecessor, for the Jakarta EE 9 release, all the specification package prefixes had to be changed from javax to jakarta. For a cloud-native Java runtime, such as Open Liberty, the challenge is to ensure that this change results in as little disruption as possible for application developers.

  • Daniel Stenberg: curl 7.76.0 adds rustls

    I’m happy to announce that we yet again completed a full eight week release cycle and as customary, we end it with a fresh release. Enjoy!

  • Jussi Pakkanen: Never use environment variables for configuration

    Suppose you need to create a function for adding two numbers together in plain C. How would you write it? What sort of an API would it have?

  • 3 reasons I use the Git cherry-pick command

    Finding your way around a version control system can be tricky. It can be massively overwhelming for a newbie, but being well-versed with the terminology and the basics of a version control system like Git is one of the baby steps to start contributing to open source.

    Being familiar with Git can also help you out of sticky situations in your open source journey. Git is powerful and makes you feel in control—there is not a single way in which you cannot revert to a working version.

  • Qt 6.0.3 Released

    We have released Qt 6.0.3 today. As a patch release the Qt 6.0.3 does not add any new functionality but provides bug fixes and other improvements.

  • Qt 6.0.3 Released With Another ~40 Bug Fixes - Phoronix

    While Qt 6.1 is aiming to release around the end of April, for now the Qt 6.0 series continues marching forward and is out today with the Qt 6.0.3 point release providing another few dozen bug fixes.

  • JavaScript Map – How to Use the JS .map() Function (Array Method)
  • A JavaScript Tutorial

    The overview notes that "JavaScript is now used by an incredible number of high-profile applications, showing that deeper knowledge of this technology is an important skill for any web or mobile developer.” This tutorial explores the various building blocks of the language to help you get started.

  • 5 Best emacs plugins for web development – Linux Hint

    Since you are here, you are already using Emacs for text editing, possibly for email, and certainly for coding tasks. When you start doing serious web development, you want as many advantages as are possible. Here are some tools that will make your experience coding for the web using Emacs.

    As the saying goes, Emacs is an operating system lacking a decent editor. You can set things up so that Emacs runs the entire workflow for you, including git, compiling, and many more things.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.