#gnulinux

gunnar@diasp.org

Linux user makes tea

How can we have stopwatch magic in the terminal for making a tea with 3 min. infusion time? Or put it in other words: Let's use the terminal as stopwatch instead of some browser extension or whatnot.

Ingredients:
- water
- tea
- figlet
- espeak
- lolcat

Let's start with a simple stopwatch feature by using sleep. For a notification after 3 minutes:

sleep 180s; echo "Time is up!"

We could also use the tool timeout.

timeout 180s cat -; echo "Time is up!"

Let's have bigger characters for the notification (using figlet):

sleep 180s; figlet "Time is up!"

Ok. Let's also have some colors using lolcat.

sleep 180s; figlet "Time is up!" | lolcat

And some animations for the notification please:

sleep 180s; figlet "Time is up!" | lolcat -a -s 1000

Good. But what if the terminal is in the background? We also need voice notification.

sleep 180s; espeak "Time is up!"; figlet "Time is up!" | lolcat -a -s 1000

Hmm, it sounds still bad but let's have a female voice:

sleep 180s; espeak  -ven-us+f5 -s140 "Time is up!"; figlet "Time is up!" | lolcat -a -s 1000

Putting the frequently required time on an alias can be helpful. Or showing a countdown timer with some extra commands. Beautiful features of the CLI-world...

Addendum:
Let's check the weather in Gnu (remember: Gnu is not Unix, so you can replace Gnu with your location):

curl -4 wttr.in/gnu && curl -4 v2.wttr.in/gnu

Some more CLI asesomeness:

https://github.com/chubin/awesome-console-services

#cli #wttrin #wttr.in #tea #timer #linux #bsd #figlet #lolcat #gnulinux #stopwatch #timeout #espeak #terminal

linuxmao.org@diaspora-fr.org

Éditorial de septembre 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

C’est dans les années 2000 que débutèrent de sérieuses restrictions concernant l’abattage de certaines essences d’arbres. L’industrie des instruments de musique en pâtit naturellement mais sut s’adapter, tant bien que mal.

Cependant, c’est autour de 2050, alors que les forêts avaient presque entièrement disparu, que les interdictions de fabrication d’objets en bois se multiplièrent, engendrant toutes sortes de trafics.

Les riches amateurs de menuiserie, d’ébénisterie voire de lutherie s’adressèrent alors à des chasseurs de bois anciens, de vrais mercenaires dont les méthodes se firent de plus en plus agressives et violentes tant les montants en jeu devinrent astronomiques.

Les musiciens qui avaient conservé leurs anciens instruments se firent dépouiller les uns après les autres. Pianos, violons, guitares changèrent de mains et peu importaient les moyens de se les approprier. On déplora même nombre de décès, les chasseurs ne reculant devant aucune atrocité.

Les bois, une fois débités, servaient de placages pour les demeures des quelques milliardaires qui pouvaient s’offrir les services de ces chasseurs de primes.

Le même scénario se reproduisit vers 2070 pour tout ce qui concernait les instruments à vent et les cuivres. Au tournant du siècle, ce furent les plastiques puis les composants électronique qui firent l’objet de ces horribles pratiques.

Les musiciens dépouillés, privés de leur raison de vivre, se regroupèrent en unités de combat, connues sous le nom de Légions Mozart.

Au terme de combats sans merci, les Légions obtinrent, autour de 2120, la capitulation des milices de desperados, purent récupérer les matières premières des objets spoliés. Ils obligèrent les vaincus et leurs commanditaires à se former à la lutherie, à l’électronique, à la facture d’instruments divers, au terme de traités inaliénables.

C’est ainsi que les anciens rois de la finance, de l’industrie, de l’espace, de l’internet, mêlés aux pires bandits que les décennies précédentes avaient pu connaître, se retrouvèrent à assembler de magnifiques instruments, vêtus de blouses grises, le crayon sur l’oreille, une cigarette mal roulée au coin des lèvres, de mauvaises lunettes sur le bout du nez, au sein d’ateliers poussiéreux, baignant dans les senteurs de colle et de vernis.

C’est en 2128 que ces derniers fondèrent le Syndicat de…

Mais c’est une autre histoire !

Bonne rentrée à toutes et tous, ne vous éloignez quand même pas trop de vos instruments...

linuxmao.org@diaspora-fr.org

Éditorial d'août 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Vous me direz : t’es un croulant, t’es plus branché, tu dates, mon pote !

Et vous aurez raison.

Je râle devant l’écran du séquenceur.

Mes doigts me démangent. Taper un forte sur le clavier du piano, placer un grand moulinet de médiator sur cette guitare rythmique, faire claquer un slap sur la corde ré de ma basse, accentuer un coup de caisse claire d’un fla bien sec mais je n’ai au bout de mes doigts qu’une petite souris d’ordinateur et, sous les yeux, des cases colorées qui forment, sur l’écran, un grand quadrillage abstrait dans lequel j’ai du mal à trouver mes repères, à y imprimer l’humeur du moment.

Vous me direz : mon pote, si tu devais vraiment produire ta musique ainsi, il te faudrait déjà sélectionner quelques zicos pour t’accompagner et, ensuite, disposer d’un camion de matériel pour monter un studio analogique, comme autrefois. Sans parler des temps de répétitions, de prises de son puis de mixage.

Et vous aurez raison.

Alors que, disposant sous linux de tous ces merveilleux outils, si j’étais suffisamment bon, j’aurais rêvé cette nuit d’une mélodie, j’aurais passé la matinée à bien écrire mes séquences, j’aurais passé l’après-midi à automatiser et mixer l’ensemble et, en début de soirée, j’aurais mis en ligne mon œuvrette. Qui sait si dès le lendemain je n’aurais pas connu la gloire ?

Je vous envie votre maîtrise, du coin de votre bureau, de la chaîne de production de votre musique, d’en connaître les outils, les paramètres et les interactions. Je vous envie votre culture numérique qui vous procure un référentiel vous autorisant toutes les audaces sonores, qui vous libère et vous offre des voies inexplorées, les vôtres.

Je vous envie votre modernité, moi qui reste coincé dans les analogies. Je compte sur vous pour les bandes-son du futur, moi, je déclare forfait. Maudit séquenceur !

lorenzoancora@pod.mttv.it

New version 250422.19 of the Free Software Database is online

Free Software Database - new Public Beta 250422.19

New version 250422.19 is online. [Browse the full ChangeLog]

Onion network (Tor)
- Tor Browser will now display a button directly in the address bar to notify the visitors that a dedicated Tor hidden service is available. Clicking this button will visit the same page on the Tor network;
- The integrated "Browse with Tor Browser" functionality follows the official styling guidelines of the Tor project to mimic the look & feel of the Tor Project.

Search engine
- The Homepage loads much faster than before;
- The search engine now shows the number of available resources for each category in the Filter menu and a grand count;
- The search engine results page is now compatible with smaller displays (like those of smartphones and tablets) and sports dedicated icons for each main category and a Legend button;
- The search button in the navigation bar is now composite and compatible with smaller displays (like those of smartphones and tablets);
- Karma is now expressed as a percentage, from 0% (bad quality) to 100% (good quality).
[...]

Visit the Free Software Database


Tags: #website #webapp #webapplication #libre-software #freesoftware #free-software #foss #opensource #database #linux #gnu-linux #gnulinux #windows #osx #hacking #freesoftware #libresoftware #website #searchengine

canoodle@nerdpol.ch

Telekom - Internet & Telefonie Anschluss aka SpeedLink 5501 Zyxel "plötzlich" defekt - service schlecht & inkompetenz

  • Pro:
    • schneller Techniker vor Ort wenn man Business Kunde ist
  • Con:
    • katastrophaler kompetenz & service
      • egal ob am Telefon oder vor Ort
        • beim ersten Anruf bei der Nicht-Business Hotline, tatsächlich schnell jemand erreicht mit dem Hinweis: Er sei der falsche, da nur für Privat-Kunden, hat dann doch wenigstens bestätigen können, dass der Anschluss noch nicht gekündigt wurde (wird bald erfolgen X-D)
        • die Business-Hotline wollte mich direkt einen Web-Chat (Bot) delegieren - beim zweiten Anruf mit Eingabe der Rufnummer hies es nur noch: sagt der AB-Bot: Sprechen Sie mit ihrem Berater (aber wer ist unser berater? X-D)
    • c.a. 2015 wurde uns von der Telekom ein SpeedLink 5501 aka ZYXEL irgendwas verbaut
      • dieses Gerät macht KEINE Automatischen Firmware Updates wie eine Fritzbox und weisst deswegen vermutlich über die Jahre GRAVIERENDE Sicherheitsprobleme auf
    • seit 2 Tagen möchte sich der ZYXEL nicht mehr mit dem VDSL 100000 der Telekom verbinden, einfach so?
      • (kann gut sein, dass ALLE SpeedLink 5501 Zyxel von aussen das Gerät “defektiert” / gehackt wurde, )
    • Technische INKOMPETENZ:
      • entgegen der Aussage sowohl der Hotline als auch des Vor-Ort-Techniker funktioniert die Fritzbox 6890 LTE SEHR WOHL am Telekom VDSL Anschluss
        • auf Werkseinstellungen, Fritzbox funktioniert am VDSL Anschluss der Telekom (#wtf!?)
      • entgegen der Aussage beider Telekom-Techniker zieht sich die Fritzbox LEIDER nicht die VDSL-Zugangsdaten automatisch
        • hab dann doch noch irgendwo die Zugangsdaten gefunden…
        • Internet geht jetzt wieder
        • Telefonie funktioniert leider immer noch nicht… wen soll ich anrufen? X-D
      • Telekom arbeitet mit immer mal wieder wechselnden Hardware Herstellern zusammen, aber nicht mit AVM (FritzBox)
        • egal wie schlecht die Qualität dieser Hardware ist
    • dem Aktien Kurs getriebenen Konzern Telekom sind die Kunden, die seit JAHRZEHNTEN schlecht anbunden sind, einfach egal
      • ganz ehrlich: Ist das Kunst oder kann das weg?
        • sind jetzt privat bei Starlink und bisher sehr zufrieden - die Telekom konnte uns nicht mal die volle Bandbreite von VDSL 1000 liefern (seit JAHRZEHNTEN)

#linux #gnu #gnulinux #opensource #administration #sysops #telekom #katastrophe #avm #fritz

Originally posted at: https://dwaves.de/2022/07/20/telekom-internet-telefonie-anschluss-aka-speedlink-5501-zyxel-plotzlich-defekt-service-schlecht-inkompetenz/

canoodle@nerdpol.ch
canoodle@nerdpol.ch

GNU Linux Debian 11 - How to setup Brother QL 600 LabelPrinter

it’s a two part process:

1. install the drivers

(thanks all involved great work 🙂

<span style="color: #00ffff;">su - root
apt update
apt install printer-driver-ptouch
</span>

2. install the printer via cups web browser interface

http://localhost:631/

or:

https://localhost:631/

-> Administration -> Add Printer

select the driver for QL-650TD

click on “Add Printer”

stick with the default options.

3. (optional but recommended) get some templates for LibreOffice:

https://download.brother.com/welcome/dlfp100385/officetemplate.tar.gz

4. HAPPY LABELING 🙂

(print some nice sentences… and make ’em stick… e.g. to a traffic light post… )

for example:

it can do pictures fairly fast…

“fascinating” isn’t it?

#linux #gnu #gnulinux #opensource #administration #sysops #debian #print #label #labels #printing #cups #brother

Originally posted at: https://dwaves.de/2022/07/13/gnu-linux-debian-11-how-to-setup-brother-ql-600-labelprinter/

canoodle@nerdpol.ch

GNU Linux Debian 11 - How to setup Brother QL 600 LabelPrinter

it’s a two part process:

1. install the drivers

(thanks all involved great work 🙂

<span style="color: #00ffff;">su - root
apt update
apt install printer-driver-ptouch
</span>

2. install the printer via cups web browser interface

http://localhost:631/

or:

https://localhost:631/

-> Administration -> Add Printer

select the driver for QL-650TD

click on “Add Printer”

stick with the default options.

3. (optional but recommended) get some templates for LibreOffice:

https://download.brother.com/welcome/dlfp100385/officetemplate.tar.gz

4. HAPPY LABELING 🙂

#linux #gnu #gnulinux #opensource #administration #sysops #debian #print #label #labels #printing #cups #brother

Originally posted at: https://dwaves.de/2022/07/13/gnu-linux-debian-11-how-to-setup-brother-ql-600-labelprinter/

canoodle@nerdpol.ch

First Pictures taken by James Webb telescope arrive on Earth

finally… all that wait is over… here come the first images of the $10 Billion telescope of almost 17 years of build time… (first design 1999, redesigned in 2005)

planned / expected mission time 10 / 20 years

GIMP color enhanced and sharpened version of https://webbtelescope.org/contents/media/images/2022/038/01G7JGTH21B5GN9VCYAHBXKSD1

https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-reveals-cosmic-cliffs-glittering-landscape-of-star-birth

Carina Nebula: GIMP color enhanced version of https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-reveals-cosmic-cliffs-glittering-landscape-of-star-birth

Hubble vs JWST - Carina Nebula https://www.youtube.com/watch?v=ridiA7-i_XU

Hubble vs JWST – Carina Nebula https://www.youtube.com/watch?v=ridiA7-i_XU

JWST combined the capabilities of the telescope’s two cameras to create a never-before-seen view of a star-forming region in the Carina Nebula. Captured in infrared light by the Near-Infrared Camera (NIRCam) and Mid-Infrared Instrument (MIRI), this combined image reveals previously invisible areas of star birth.<br /> What looks much like craggy mountains on a moonlit evening is actually the edge of a nearby, young, star-forming region known as NGC 3324. Called the Cosmic Cliffs, this rim of a gigantic, gaseous cavity is roughly 7,600 light-years away. https://webbtelescope.org/contents/media/images/2022/031/01G781KB7TTZM1YTP855D46C1S

JWST combined the capabilities of the telescope’s two cameras to create a never-before-seen view of a star-forming region in the Carina Nebula. Captured in infrared light by the Near-Infrared Camera (NIRCam) and Mid-Infrared Instrument (MIRI), this combined image reveals previously invisible areas of star birth.

What looks much like craggy mountains on a moonlit evening is actually the edge of a nearby, young, star-forming region known as NGC 3324. Called the Cosmic Cliffs, this rim of a gigantic, gaseous cavity is roughly 7,600 light-years away. https://webbtelescope.org/contents/media/images/2022/031/01G781KB7TTZM1YTP855D46C1S

original here: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A, full res jpg (27MBytes) here https://dwaves.de/images/JamesWebbTelescope/2022-07-JamesWebb_Telescope_STScI-01G7DAXJYYTYXCFSB8VQRK5X2F.gimp-color-enhanced.jpg

original here: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A, (150MB TIFF), full res jpg (27MBytes) here https://dwaves.de/images/JamesWebbTelescope/2022-07-JamesWebb_Telescope_STScI-01G7DAXJYYTYXCFSB8VQRK5X2F.gimp-color-enhanced.jpg

The bright star at the center of NGC 3132, while prominent when viewed by NASA’s Webb Telescope in near-infrared light, plays a supporting role in sculpting the surrounding nebula. A second star, barely visible at lower left along one of the bright star’s diffraction spikes, is the nebula’s source. It has ejected at least eight layers of gas and dust over thousands of years. https://webbtelescope.org/contents/media/images/2022/033/01G70BGTSYBHS69T7K3N3ASSEB

https://webbtelescope.org/contents/media/images/2022/034/01G7DBCJA1M1SSGKDMH7F5XMBE

more pictures here: https://webbtelescope.org/news/first-images/gallery (<- for whatever reason also Hubble photos are in this gallery? (a bit confusing isn’t it?))

“James Webb Space Telescope hit by micrometeoroid”

Several thousand scientists, engineers, and technicians spanning 15 countries have contributed to the build, test and integration of the JWST.[142] (src: Wiki)

“fly save!”

#linux #gnu #gnulinux #opensource #administration #sysops #space #cosmos #telescope #star #stars #galaxy #universe

Originally posted at: https://dwaves.de/2022/07/12/first-pictures-taken-by-james-webb-telescope-arrive-on-earth/

canoodle@nerdpol.ch

First Pictures taken by James Webb telescope arrive on Earth

finally… all that wait is over… here come the first images of the $10 Billion telescope of almost 17 years of build time… (first design 1999, redesigned in 2005)

planned / expected mission time 10 / 20 years

GIMP color enhanced and sharpened version of https://webbtelescope.org/contents/media/images/2022/038/01G7JGTH21B5GN9VCYAHBXKSD1

https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-reveals-cosmic-cliffs-glittering-landscape-of-star-birth

GIMP color enhanced version of https://www.nasa.gov/image-feature/goddard/2022/nasa-s-webb-reveals-cosmic-cliffs-glittering-landscape-of-star-birth

original here: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A, full res jpg (27MBytes) here https://dwaves.de/images/JamesWebbTelescope/2022-07-JamesWebb_Telescope_STScI-01G7DAXJYYTYXCFSB8VQRK5X2F.gimp-color-enhanced.jpg

original here: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A, (150MB TIFF), full res jpg (27MBytes) here https://dwaves.de/images/JamesWebbTelescope/2022-07-JamesWebb_Telescope_STScI-01G7DAXJYYTYXCFSB8VQRK5X2F.gimp-color-enhanced.jpg

The bright star at the center of NGC 3132, while prominent when viewed by NASA’s Webb Telescope in near-infrared light, plays a supporting role in sculpting the surrounding nebula. A second star, barely visible at lower left along one of the bright star’s diffraction spikes, is the nebula’s source. It has ejected at least eight layers of gas and dust over thousands of years. https://webbtelescope.org/contents/media/images/2022/033/01G70BGTSYBHS69T7K3N3ASSEB

https://webbtelescope.org/contents/media/images/2022/034/01G7DBCJA1M1SSGKDMH7F5XMBE

more pictures here: https://webbtelescope.org/news/first-images/gallery (<- for whatever reason also Hubble photos are in this gallery? (a bit confusing isn’t it?))

“James Webb Space Telescope hit by micrometeoroid”

Several thousand scientists, engineers, and technicians spanning 15 countries have contributed to the build, test and integration of the JWST.[142] (src: Wiki)

“fly save!”

#linux #gnu #gnulinux #opensource #administration #sysops #space #cosmos #telescope #star #stars #galaxy #universe

Originally posted at: https://dwaves.de/2022/07/12/first-pictures-taken-by-james-webb-telescope-arrive-on-earth/

canoodle@nerdpol.ch
canoodle@nerdpol.ch
canoodle@nerdpol.ch

GNU Linux bash - the ultimate (LTE) modem debugging one-liner

currently wrestling with a LTE modem, that used to work under Ubuntu, but refuses to work under Debian 11.

<span style="color: #00ffff;">while true; do echo "=== show modem status:"; mmcli -m 1|grep -e model -e primary -e state -e signal; echo -e "\n=== show routing table:"; route -n; echo -e "\n=== show arp table:"; arp -an; echo -e "\n=== ping a host 3x times:"; ip -c a; ping -c3 1.1.1.1; sleep 1; clear; done</span>


# info about the system
<span style="color: #00ffff;">lsb_release -d</span>
Description:    Debian GNU/Linux 11 (bullseye)

<span style="color: #00ffff;">uname -a</span>
Linux tuxedo 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux

<span style="color: #00ffff;">lsusb</span>
Bus 003 Device 005: ID 12d1:15bb Huawei Technologies Co., Ltd. ME936 LTE/HSDPA+ 4G modem

# sample output

=== show modem status:
           |                model: ME936
           |         primary port: ttyUSB0
           |                state: connected
           |          power state: on
           |       signal quality: 22% (recent)

=== show routing table:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         37.80.230.59    0.0.0.0         UG    700    0        0 wwx022c80139263
37.0.0.0        0.0.0.0         255.0.0.0       U     700    0        0 wwx022c80139263
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wwx022c80139263

=== show arp table:
? (37.80.230.59) at  on wwx022c80139263

=== ping a host 3x times:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wwx022c80139263: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 02:2c:80:13:92:63 brd ff:ff:ff:ff:ff:ff
    inet 37.80.230.58/8 brd 37.255.255.255 scope global noprefixroute wwx022c80139263
       valid_lft forever preferred_lft forever
3: wlp52s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 36:20:ec:72:3f:66 brd ff:ff:ff:ff:ff:ff permaddr 70:9c:d1:62:10:9c
5: enxa0cec851d79b: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether a0:ce:c8:51:d7:9b brd ff:ff:ff:ff:ff:ff
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
From 37.80.230.58 icmp_seq=1 Destination Host Unreachable
From 37.80.230.58 icmp_seq=2 Destination Host Unreachable
From 37.80.230.58 icmp_seq=3 Destination Host Unreachable

--- 1.1.1.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2046ms

#linux #gnu #gnulinux #opensource #administration #sysops #lte #modem #debugging #debug #bash

Originally posted at: https://dwaves.de/2022/07/12/gnu-linux-bash-the-ultimate-lte-modem-debugging-one-liner/