1 lien privé
Rename Using the Perl Rename Utility
The following command replaces the occurrence of file in the filename to photo.
rename 's/file/photos/' *
Use the following command for changing lowercase filenames to uppercase. Switch the substitution pattern for converting to lowercase.
rename 'y/a-z/A-Z/' # converts to uppercase
rename 'y/A-Z/a-z/' # converts to lowercase
sigtop is a utility to export messages, attachments and other data from Signal Desktop.
For example, the following two commands export all messages to the messages directory and all attachments to the attachments directory:
sigtop export-messages messages
sigtop export-attachments attachments
First install Go (version 1.18 or later) and a C compiler. On systems other than OpenBSD, you also need to install libsecret and pkg-config.
On Ubuntu 22.04 or later, you can run the following command to install the required packages:
sudo apt install gcc golang libsecret-1-dev pkg-config
Then, to install sigtop, run:
go install github.com/tbvdm/sigtop@master
This command installs a sigtop binary in ~/go/bin. You can choose another installation directory by setting the GOBIN environment variable. For example, to install sigtop in ~/bin, run:
GOBIN=~/bin go install github.com/tbvdm/sigtop@master
If you prefer, you can install sigtop without libsecret support by specifying the no_libsecret build tag:
go install -tags no_libsecret github.com/tbvdm/sigtop@master
Linux is a powerful and versatile operating system that can handle a wide range of tasks. One of those tasks is adding text to images, which can be useful for creating graphics, designing logos, or simply adding captions to photos. In this article, we’ll show you how to add text to images using Linux command line tools.
To do this, you’ll use the convert command from ImageMagick. The basic syntax for adding text is:
convert input_image -pointsize 20 -fill white -annotate +100+100 'Your Text Here' output_image
Let’s break this down:
`input_image` is the name of your input image file.
`-pointsize` is the size of the font you want to use.
`-fill` is the color of the text.
`-annotate` is the position of the text. The +100+100 values indicate the X and Y coordinates of the text relative to the top left corner of the image.
`output_image` is the name of the output image file.
Here’s an example command:
convert myimage.png -pointsize 24 -fill white -annotate +50+50 'Hello World' output.png
This command adds the text “Hello World” to the image myimage.png in white 24-point font, positioned 50 pixels from the top left corner of the image. The output image is saved as output.png.
Step 4: Adjust Text Properties
You can adjust the font, color, and position of your text by modifying the command parameters. For example, you can use a different font by adding the -font parameter, like this:
convert input_image -pointsize 20 -font Times-Roman -fill white -annotate +100+100 'Your Text Here' output_image
You can also adjust the opacity of the text using the -alpha parameter. A value of Opaque will make the text fully opaque, while a value of Transparent will make it fully transparent. You can use values between 0 and 1 to create a semi-transparent effect.
Step 5: Save Your Image
Once you’re happy with your text, you can save your image using the -quality parameter. This determines the compression level of the image, with higher values producing better quality images but larger file sizes.
For example:
convert input_image -pointsize 20 -fill white -annotate +100+100 'Your Text Here' -quality 90 output_image.jpg
This command adds text to the input image and saves the output as a JPEG file with a quality of 90.
Step 6: Batch Processing
If you need to add text to multiple images, you can use a batch processing script to automate the process. For example, you can create a shell script that loops through a directory of images and adds text to each one.
Here’s an example script that adds the same text to all images in a directory:
/#!/bin/bash
for file in *.png
do
convert "$file" -pointsize 24 -fill white -annotate +50+50 'Hello World' "${file%.png}_text.png"
done
This script loops through all PNG files in the current directory, adds the text “Hello World” to each one, and saves the output as a new file with “_text” appended to the original file name.
Proton Pass has a whole suite of security tools hiding just beneath the surface that massively boost your account and online security.
Cliquez ici pour savoir qui sont les Muses, filles de Zeus et de Mnémosyme, la Mémoire, qui protègent les arts et les sciences dans la mythologie grecque et romaine.
Votre connexion internet est lente, saccadée ? Pour comprendre d'où vient le problème et pouvoir y remédier, faites un test débit free !
Ce post explique comment configurer les accès à distance d'un Synology avec une Freebox sans faire une demande IPv4 Full Stack. Je déconseille d'ailleurs cette demande sachant que la fin de la technologie IPv4 est proche...
Découvrez comment changer facilement le DNS de votre Freebox et résoudre les problèmes DNS Free. Un guide complet pour une connexion optimale.
Comment changer les DNS de votre Freebox Révolution, Mini 4K, One, Pop ou Delta (Server V6)
https://www.choisir.com/box-internet/articles/189381/changer-les-dns-des-differentes-freebox
vous rendre sur la page du Freebox Os ;
vous connecter en remplissant le champ d’identification ainsi que celui du mot de passe ;
cliquer sur l’icône « Paramètres de la Freebox » ;
aller dans la catégorie « Mode avancé » ;
cliquer sur « DHCP ».
Lorsque vous arrivez sur la page de réglage du serveur DHCP, vous pouvez constater que vous disposez de 5 champs DNS. Vous pouvez déplacer les valeurs situées dans les champs DNS 1 et DNS 2 (IP Free) dans les champs DNS 4 et DNS 5. Puis, insérer les adresses IP de 3 serveurs DNS, que vous aurez choisis au préalable, dans les champs DNS 1, DNS 2 et DNS 3. Pour finir, vous pouvez cliquer sur le bouton « OK ».
Pour que les modifications soient prises en compte par l’ensemble de vos appareils, ceux-ci doivent être déconnectés puis reconnectés au réseau afin de redémarrer un bail DHCP. Pour ce faire, vous pouvez :
soit redémarrer votre Freebox ;
soit déconnecter et reconnecter le Wi-Fi ;
soit débrancher et rebrancher le câble Ethernet.
Changer les serveurs DNS de votre Freebox directement sur celle-ci permettra à tous vos équipements connectés de profiter de la modification rapidement. Ces informations seront partagées aux appareils auxquels votre Freebox attribue une adresse IP en réseau local.
In this article, we will look at how to find a process name by its process identification number (PID) with the help of commands such as ps, top, and pidof.
Sortie de Fedora Linux 42, la réponse à la grande question sur le Libre, Linux et tout le reste ?
https://linuxfr.org/news/sortie-de-fedora-linux-42-la-reponse-a-la-grande-question-sur-le-libre-linux-et-tout-le-reste
Le service client RED vous répond et vous accompagne pour toutes vos demandes. Une question sur une offre mobile ou internet ? Que vous soyez client ou future client RED SFR, trouvez l'assistance dont vous avez besoin.
Imho all the benefits of modified Windows versions are homeopathic. They may lead to single digit improvements in synthetical benchmarks out of the box (if that). As soon as you add your Software and a single auto-starting Epic Launcher or what ever, those benefits fanish into nothingness. If you have a Browser open while gaming, it will consume an order of magnitude more performance than any of those mods can save you.
With that said, i'm all for "minimizing" Windows. I just do it myself with builtin tools. Install Windows 11, set all the telemetry to "no" or "minimal", Update completely, Install all your Drivers. After that, Unpin and Uninstall everything from the startmenu that you don't want or need. Then, install winget. With winget list you can see what's installed and winget uninstall somepackage you can get rid of most of the stuff. That way i throw out the XBox stuff, Music player, Feedbackhub etc. All the things not directly uninstallable through the startmenu.
That's it. Minimal Windows 11. Don't f*ck around with services you don't know and don't write BS into the registry where you don't know what it does. At best it does nothing, at worst it makes your PC Crap itself on Updates.
You can now go and configure Windows Update to hold back updates as long as possible if you want through the settings. But the path to a working, fast and stable system is to keep it up to date and not install all the random crap software you don't need anyways. If you REALLY need to play with some stuff, spin up a Windows VM and test software in there. Keeps your base system clean and working well.
And after all of this, stop worrying about wether some random service whos name you can't pronounce is making fortnite run 0.64 FPS slower. The only thing that will make your stuff run noticably faster is faster hardware.
Comment importer une clé publique OpenPGP dans Thunderbird ?
https://kb.mailfence.com/fr/kb/importer-cle-publique-openpgp-dans-thunderbird/
How to Encrypt Emails with OpenPGP in Thunderbird
https://www.linuxbabe.com/security/encrypt-emails-gpg-thunderbird
Tous les accessoires du Robot Magimix CS5200XL (vidéo)
https://j00tube.com/watch?v=76f-d6jgaDo
OK, so you have a GrapheneOS device, or are thinking of using one. Great first step. But just as important, is how do we get apps!? Without Google Play Store or Apple Store, we have to find an alternative app store of some sort to begin customizing our phones to what we need them to…
Vous pouvez choisir qui peut voir votre position et pendant combien de temps dans Google Maps. Le partage de position fonctionne même lorsque Vos trajets est désactivé.
This tutorial series will teach you how to use GPG (Gnu Privacy Guard) in the Linux terminal, so you will be able to send encrypted email messages and digitally sign documents.
A Practical Guide to GPG Part 2: Public Key Management
https://www.linuxbabe.com/security/gpg-guide-public-key-management
A Practical GPG Guide Part 3: Encrypt and Decrypt Files
https://www.linuxbabe.com/security/gpg-encrypt-and-decrypt-message
How to configure GPG in the Thunderbird email client
https://www.linuxbabe.com/security/encrypt-emails-gpg-thunderbird
A Practical Guide to GPG Part 5: Digital Signature
https://www.linuxbabe.com/security/gpg-digital-signature
How to Verify PGP Signature of Downloaded Software on Linux
https://www.linuxbabe.com/security/verify-pgp-signature-software-downloads-linux
In this guide, we’ll walk you through various methods to compare text files in Linux, from basic command-line tools to advanced visual diff tools.
Introduction
Dans cet article, écrit le 31 mars 2025, je vais parler de quelques concepts de sauvegarde.
This comprehensive guide walks you through the process of installing and trying out various Linux kernels in Linux Mint. Whether you're looking to improve performance, compatibility, or just curious about the latest features, this article provides all the information you need to safely explore different kernels.