A handy tip for entering long and/or complicated commands at the Linux command prompt (when using the bash shell) from a Mastodon user

Saw this tip on Mastodon from user Stephan (@durchaus@mastodon.social) and thought it worth passing along:

When you are about to write a long and complicated command in bash, then hit CTRL+x CTRL+e to enter an editor window in which you can write the command with your default editor. The command will be executed immediately after the file is saved and the editor is closed.

(Link to post)

I never knew you could do this. And it was only a year or two ago that I found about about CTRL+r which lets you do a text search for commands in your history (so you don’t need to keep pressing the up arrow). Then again I am not a big command line user, but when I do need to use it, tips like these can be quite helpful IF I can remember them when I need them!

Thanks to Stephan for sharing this tip!

Reducing Raspberry Pi 5’s power consumption by 140x

Sorry to clickbait with that title… but it’s actually true. I can help you improve power use by 140x—for power off power consumption, at least.

By default, the Raspberry Pi 5 (like the Pi 4 before it) leaves the SoC powered up (just in a shutdown state) when you shut down the Pi.

Because of this, a Pi 5 will still sit there consuming 1.2-1.6W when completely shut down, even without anything plugged in except power.

Source: Reducing Raspberry Pi 5’s power consumption by 140x | Jeff Geerling

Live Migrating from Raspberry Pi OS bullseye to Debian bookworm

I’ve been getting annoyed with Raspberry Pi OS (Raspbian) for years now. It’s a fork of Debian, but manages to omit some of the most useful things. So I’ve decided to migrate all of my Pis to run pure Debian.

Source: Live Migrating from Raspberry Pi OS bullseye to Debian bookworm | The Changelog

GPS Raspberry Pi NTP Server

This post details how to create a stratum-1 NTP Server using a Raspberry Pi utilizing GPS and PPS, and get time within 100 nanoseconds of real time, directly from the atomic clocks located in the GPS satellites above your head. The best part about this guide is that this will work with no internet. After initial setup, you could disconnect it from the internet and they would work. All of the other guides out there that I have found do not include the configuration necessary for this.

Source: GPS Raspberry Pi NTP Server (NetworkProfile.org)

Whishper – Open-source, local-first audio transcription and subtitling suite with a simple web UI.

Whishper Open-source, local-first audio transcription and subtitling suite with a simple web UI.

Features

Open Source – Whishper is 100% Open Source software.

Self-Hosted – Thanks to open-source technologies, Whishper can run 100% offline. Your data never leaves your computer.

Transcribe – Transcribe any media to text. Thanks to faster-whisper, transcriptions are lightning fast.

Translate – Whishper allows you to translate your transcriptions to and from more than 60 languages thanks to Argos Translate and LibreTranslate.

Subtitles – Download the transcriptions in many formats (json, txt, vtt, srt).

Subtitle editor – Easily edit your subtitles right in the Web-UI.

Whishper is a web application that runs inside a Docker container. This means that you can install it on any machine that supports Docker.

Source: Whishper

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez