mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#bash

21 Beiträge18 Beteiligte4 Beiträge heute
dewomser<p><a href="https://social.tchncs.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.tchncs.de/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> <a href="https://social.tchncs.de/tags/Einzeiler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Einzeiler</span></a><br>Webseite nach einem Wort durchsuchen und dann nach Trefferzahl sortiert auflisten. Beispiel ist die Suchseite der Stadt Worms<br><a href="https://gist.github.com/dewomser/9f44d50dd1515abb894f828827b04a26" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/dewomser/9f44d</span><span class="invisible">50dd1515abb894f828827b04a26</span></a></p>
AskUbuntu<p>How to get bash shell by default? <a href="https://ubuntu.social/tags/commandline" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commandline</span></a> <a href="https://ubuntu.social/tags/server" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>server</span></a> <a href="https://ubuntu.social/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://ubuntu.social/tags/environmentvariables" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>environmentvariables</span></a></p><p><a href="https://askubuntu.com/q/1554111/612" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">askubuntu.com/q/1554111/612</span><span class="invisible"></span></a></p>
Reilly Spitzfaden (they/them)<p>Figured out a nice terminal timer!</p><p>I find timers incredibly irritating, especially when they keep ringing until you turn them off, which is the case for most of them. I also prefer my tea steeped for an exact period of time. </p><p>I figured out how to get a timer in my terminal that rings only once, and I added it to my “grimoire” collection of useful scripts I recently started: </p><p><a href="https://reillyspitzfaden.com/code/#grimoire" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">reillyspitzfaden.com/code/#gri</span><span class="invisible">moire</span></a> </p><p><a href="https://hachyderm.io/tags/Zsh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Zsh</span></a> <a href="https://hachyderm.io/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> <a href="https://hachyderm.io/tags/Terminal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Terminal</span></a> <a href="https://hachyderm.io/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a></p>
screwlisp<p><a href="https://gamerplus.org/tags/lispyGopherClimate" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lispyGopherClimate</span></a> <a href="https://anonradio.net:8443/anonradio" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">anonradio.net:8443/anonradio</span><span class="invisible"></span></a> <a href="https://gamerplus.org/tags/LIVE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LIVE</span></a> <a href="https://gamerplus.org/tags/ttrpg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ttrpg</span></a> <a href="https://gamerplus.org/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a> <a href="https://gamerplus.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://gamerplus.org/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> </p><p><a href="https://www.chroniclesofember.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">chroniclesofember.com/</span><span class="invisible"></span></a></p>
deadprogram<p>Skynet: LLMs controlling real robots and drones with Bash</p><p>You guessed it: my newest miniproject is out!</p><p>Post: <a href="https://www.hackster.io/deadprogram/skynet-llms-controlling-real-robots-and-drones-with-bash-ae617f" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hackster.io/deadprogram/skynet</span><span class="invisible">-llms-controlling-real-robots-and-drones-with-bash-ae617f</span></a></p><p>Repo: <a href="https://github.com/hybridgroup/skynet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/hybridgroup/skynet</span><span class="invisible"></span></a></p><p><a href="https://social.tinygo.org/tags/robots" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>robots</span></a> <a href="https://social.tinygo.org/tags/drones" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>drones</span></a> <a href="https://social.tinygo.org/tags/llm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>llm</span></a> <a href="https://social.tinygo.org/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://social.tinygo.org/tags/docker" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docker</span></a> <a href="https://social.tinygo.org/tags/skynet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>skynet</span></a></p>
hairylarry<p>Tonight at 7:00 PM Central or whatever time and time of day that is for you, my friend <span class="h-card" translate="no"><a href="https://gamerplus.org/@Larian" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Larian</span></a></span> will be talking about his RPG, The Chronicles Of Ember, and how he uses bash to automate the paper generation required of a <a href="https://gamerplus.org/tags/ttrpg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ttrpg</span></a> </p><p><a href="https://gamerplus.org/tags/lisp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lisp</span></a> <a href="https://gamerplus.org/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a></p>
Andre123 :tux: :gnu:<p>DT - Distro Tube è una canale su linux che seguo. Di recente ha iniziato a fare una sorta di rubrica che ha chiamato "Video Man Page"</p><p>Video che spiegano un comando alla volta in maniera approfondita (tipo il man appunto).</p><p>Ne linko uno, sul suo canale ne trovate parecchi se vi interessa.</p><p><a href="https://piped.casasnow.noho.st/watch?v=T-4Q7i6mNeM" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">piped.casasnow.noho.st/watch?v</span><span class="invisible">=T-4Q7i6mNeM</span></a></p><p><a href="https://snowfan.masto.host/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://snowfan.masto.host/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> <a href="https://snowfan.masto.host/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a></p>
Free Software Foundation<p>The newest <a href="https://hostux.social/tags/GNU" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GNU</span></a> spotlight with Amin Bandali is here! Featuring seventeen new GNU releases: <a href="https://hostux.social/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a>, <a href="https://hostux.social/tags/Cflow" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cflow</span></a>, and more: <a href="https://www.fsf.org/blogs/community/2025-july-gnu-spotlight" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">fsf.org/blogs/community/2025-j</span><span class="invisible">uly-gnu-spotlight</span></a></p>
dewomser<p><a href="https://social.tchncs.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.tchncs.de/tags/Bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bash</span></a> </p><p>Zeitverzögert nach <a href="https://social.tchncs.de/tags/Mastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Mastodon</span></a> posten. Für revolutionäre Ideen mitten in der Nacht wenn da aber niemand wach ist.</p><p>read -i "Stunden " later ; (sleep $later"h" &amp;&amp; toot post " So kann man die Welt retten")&amp;</p><p>Mit <a href="https://social.tchncs.de/tags/toot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>toot</span></a> von der Kommandozeile tröten<br><a href="https://toot.bezdomni.net/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">toot.bezdomni.net/</span><span class="invisible"></span></a></p>
Teklynk<p>Free Script: I use this script on a few NGINX servers that are behind Cloudflare. I use it to restrict access and to only allow access from a Cloudflare IP addresses. This means that clients must hit cloudflare's proxied DNS first before accessing your website, reventing clients from accessing your server via the host/server IP. The script downloads a list of Cloudflare IP addresses, generates a allow list file, restarts NGINX, creates firewall rules using UFW, restarts UFW. I run the script as a cron job on a weekly schedule.</p><p><a href="https://paste.teklynk.com/503be331" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">paste.teklynk.com/503be331</span><span class="invisible"></span></a></p><p><a href="https://social.linux.pizza/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://social.linux.pizza/tags/cloudflare" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cloudflare</span></a> <a href="https://social.linux.pizza/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> <a href="https://social.linux.pizza/tags/selfhosting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>selfhosting</span></a> <a href="https://social.linux.pizza/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://social.linux.pizza/tags/freescriptfriday" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>freescriptfriday</span></a></p>
Francesco Yoshi Gobbo :linux:<p>created a simple <a href="https://qoto.org/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> script to automate my conversions into <a href="https://qoto.org/tags/webp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webp</span></a> .<br>You are welcome to use it/reference it ^^</p><p>I use it to compress pictures that go into my <a href="https://qoto.org/tags/Obsidian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Obsidian</span></a> Vault :3</p><p>Do you like this format? people hate it, but I find it quite good instead ^^</p><p><a href="https://github.com/FraYoshi/fura-utils/commit/41024d6915652267cf1e4c2bf8e326626d3216ce" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/FraYoshi/fura-utils</span><span class="invisible">/commit/41024d6915652267cf1e4c2bf8e326626d3216ce</span></a></p>

bash-preexec emulates zsh's preexec and precmd commands in bash. It's used by a number of projects, including Ghostty, and the latest release includes a few improvements I made earlier this year while working on Ghostty's bash shell integration.

github.com/rcaloras/bash-preex

Shout out @jparise for most of the recent contributions, and  @akinomyoga for continuing to support this project with reviews and direction.
What's Changed

Use POSIX syntax for Bash detection by @...
GitHubRelease Black Toad · rcaloras/bash-preexecShout out @jparise for most of the recent contributions, and @akinomyoga for continuing to support this project with reviews and direction. What's Changed Use POSIX syntax for Bash detection by @...
Fortgeführter Thread

#Linux #Bash #Pipe
_ und so kann man sich den sprechenden Drachen aus dem Rss-Feed der Stadt Worms basteln. Es gibt die ersten 5 Rss-Einträge als Option mit Text ,Link und ASCII-Art
Nach dem Auswählen wird das Bild aus dem Text erstellt und dann durch cowsay gepipet . Nicht sehr kompliziert für Bash
Nimm das -> …advanced.sh

gist.github.com/dewomser/cea71

RSS-Feed der Stadt Worms als Drachen-Bubble. GitHub Gist: instantly share code, notes, and snippets.
GistRSS-Feed der Stadt Worms als Drachen-BubbleRSS-Feed der Stadt Worms als Drachen-Bubble. GitHub Gist: instantly share code, notes, and snippets.

#Linux #Bash
Bei einer Youtube-Query werden in der URL alle Leerzeichen durch + ersetzt.

Das Array was z.B. von Mpris (Media-Metatags) zurück gibt, enthält an 5. Position einen String mit Leerzeichen

a[5]="dem Nikolaus sein Haus"
lolo="${a[5]//\ /+}"
echo $lolo

dem+Nikolaus+sein+Haus

Da hab ich das benutzt:
github.com/dewomser/Toot_music

Send Media Metadata to Mastodon as a toot. Contribute to dewomser/Toot_music_is_playing development by creating an account on GitHub.
GitHubGitHub - dewomser/Toot_music_is_playing: Send Media Metadata to Mastodon as a tootSend Media Metadata to Mastodon as a toot. Contribute to dewomser/Toot_music_is_playing development by creating an account on GitHub.