How to create desktop shortcuts in Linux

Desktop shortcuts creation in Linux

Many people find it useful to organize some of their most frequented applications as shortcuts on their desktop. This allows for quick launching of programs or custom shortcuts. Although most Linux systems rely on a sidebar app launcher or start menu, desktop shortcut launchers can allow you to open applications or websites super fast, since they live right on your desktop and make the targets only a click away.

Read more

article-main

Ansible Vault Tutorial

In previous tutorials we discussed Ansible, a great tool we can use for automation and provisioning. We talked about basic Ansible concepts, we saw some of the most used Ansible modules, how to manage variables and how to perform basic loops in playbooks; now it’s time to see how to protect sensitive information which sometimes may be needed to accomplish some tasks. In order to protect sensitive information when using Ansible, we encrypt them with Ansible Vault.

Read more

How to extract a number from a string using Bash example

How to extract a number from a string using Bash example

The purpose of this tutorial is to show how to extract a number from a string using Bash – that is, either in a Bash script or from the Linux command line. It is common to use Bash as a utility to process strings or other textual data, so it is well equipped for the task of separating numbers out of a string. There are numerous ways to achieve this; see some of the examples below to get started.

Read more

article-main

How to manage git repositories with Python

Neither Python nor Git need presentations: the former is one of the most used general-purpose programming language; the latter is probably the most used version control system in the world, created by Linus Torvalds himself. Normally, we interact with git repositories using the git binary; when we need to work with them using Python, instead, we can use the GitPython library.

Read more

C++ : Understanding pointers

C++ : Understanding pointers

This tutorial is intended for all programing enthusiasts on all levels that wish to understand pointers in the C++ language. All code presented here is not compiler-specific, and all examples will be written in plain ANSI C++. Debates about pointers can stretch for miles, and you would need to go really far to master it all.

Read more

Eclipse IDE for C/C++ Developers on Ubuntu 22.04 Jammy Jellyfish

Eclipse IDE for C/C++ Developers installation on Ubuntu 22.04

Eclipse is a free C and C++ IDE that can be installed on Ubuntu 22.04 Jammy Jellyfish. In this tutorial, we will take you through the step by step instructions to install the Eclipse C/C++ IDE on Ubuntu 22.04 Jammy Jellyfish as well as the Java prerequisites, via command line. Then, you can use the application to import your current C and C++ projects or develop new ones.

Read more

Show Bash script usage

Show Bash script usage

Is it best practice to include usage in every Bash script that you create. This gives the user an idea of what options the script is expecting, so they can use it as intended. It also gives the script some error checking ability to make sure that the user has supplied arguments in the expected way.

Read more