Send an e-mail via Powershell script using Send-MailMessage

$password = ConvertTo-SecureString 'YourSmtpAccountPassword' -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential ('YourSmtpUsername', $password)
$smtpServer = "smtp.yourdomain.com"
$smtpPort = 587
 
$from = "sender@yourdomain.com"
$to = "recipient@yourdomain.com"
$subject = "Your e-mail subject"
$body = "Your e-mail text"
 
Send-MailMessage -SmtpServer $smtpServer -Port $smtpPort -UseSsl -From $from -To $to -Subject $subject -Body $body -Credential (Get-Credential $credential)

In order to run that as a powershell script you may need to run (at least) “Set-ExecutionPolicy RemoteSigned” in a privileged powershell. The script is configured to use a secure connection to your SMTP server (SSL/TLS) on port 587.

wiki.js podman script

Recently I wanted to test wiki.js on my CentOS 8 Stream VM and ran into all kinds of problems. I found a helping script at https://books.clusterapps.com/books/containers/page/pod-scripts but it needed some refinement and correction.

Remember, this is for quick testing only. Especically the chmod 777 is something you do not want to do on a production system.

export DATA=$PWD
export PASSWD=zo03gaeCi1
mkdir -p $DATA/wiki/pgdata 
mkdir -p $DATA/wiki/data
chown -R 1000:1000 wiki
chmod -R 777 wiki
podman pod create --name wiki -p 3001:3000
podman run -d --pod wiki --name wiki_db -e POSTGRES_PASSWORD=$PASSWD -e POSTGRES_USER=wiki -e POSTGRES_DB=wiki -v $DATA/wiki/pgdata:/var/lib/postgresql/data:Z docker.io/library/postgres
podman run -d --pod wiki --name wiki_srv -e DB_TYPE=postgres -e DB_HOST=wiki -e DB_PORT=5432 -e DB_USER=wiki -e DB_PASS=$PASSWD -e DB_NAME=wiki -v $DATA/wiki/data:/wiki/data:Z ghcr.io/requarks/wiki:2

The pod is created permanently (so the data you have entered for testing will not be lost after stopping / quitting / rebooting). After you are done with testing you can stop it with:

podman pod stop wiki

Aaaand if you want to do more testing you can start it up again with:

podman pod start wiki

Dinge die ich (seit 2017) tue, während mein Elektroauto lädt

(only in german – sorry)

  1. Schlafen
  2. Pilze suchen
  3. Kaffee trinken
  4. Bungalow kehren
  5. Wäsche abhängen
  6. Abendessen
  7. Schifffahrtplan studieren
  8. Diese Liste schreiben
  9. Durch die Außenbezirke von Moers spazieren
  10. Bei Aldi einkaufen
  11. Eine Runde schwimmen gehen
  12. Ein Stück Torte bei Franz Mehlhose essen
  13. Den Gebetsteppich ausbreiten und in Richtung Mekka beten (mache nicht ich, habe ich beobachtet)
  14. Architects hören
  15. Podman Scripts bauen für wiki.js
  16. Mit dem Hund spazieren gehen
  17. Nietzsche lesen

Emil Bulls – The Life Acoustic (2006)

When a former nu metal and now kind of metal band goes acoustic things can get sideways pretty quick.

But 2006 (freakin 15 years ago 🤪) brought us The Life Acoustic from Emil Bulls and it was and still is a masterpiece. Pretty much every song is a singalone without being corny. That it was recorded live at a concert in Pullach / Germany really helps the songs to burn in. And while the acoustic songs are alltogether covers of their electrified originals (despite Green Machine, which is a cover of the famous Kyuss song) you may have a hard time guessing the song if you only hear the music. But you‘ll definitely recognize the song when the chorus starts.

Sinnlos im Weltraum

(only in german – sorry)

Update: Der Download Mirror hat sich geändert und ist jetzt zu finden unter: http://siw.juxtapose.de/siw

Ich bin schon seit einiger (langer) Zeit großer Fan von Sinnlos im Weltraum. Laut Wikipedia ist:

Sinnlos im Weltraum (kurz: SiW) ist ein Fandub und eine nicht kommerzielle Parodie auf Raumschiff Enterprise: Das Nächste Jahrhundert (mit Ausnahme der Folge Segelohr, die auf dem Fragment einer alten Raumschiff-Enterprise-Folge basiert). Als Grundlage diente originales Filmmaterial, das von insgesamt sieben Freunden in Siegerländer Umgangssprache und Siegerländer Dialekt (Sejerlänner Platt) neusynchronisiert wurde,[1] sodass die Folgen neue Handlungen bekamen und die Charaktere mitunter in ihr totales Gegenteil verkehrt wurden. Besonders deutlich äußert sich diese Diskrepanz gegenüber dem Original in der verwendeten Wortwahl und Ausdrucksweise. Die Beteiligten von SiW „dürfen […] sich vielleicht als Urväter der Filmgattung »Fansynchro« bezeichnen – auf deutschem Boden jedenfalls“.[2]

Daher habe ich mich entschieden wieder einen Mirror zum Download der DVD Version aufzusetzen. Unter http://siw.juxtapose.de/siw findet ihr beide DVD´s von Sinnlos im Weltraum zum Download. Darauf enthalten sind alle Folgen.

Viel Spaß damit!

>>> Zum Download

XBOX 360 Wireless Receiver not working after update to Windows 10 2004 Build 19041.610

After updating to the latest Windows 10 version my XBOX 360 wireless receiver was not recognized anymore and shown as “unknown device” in the device manager.

To fix this you´ll need to modify the “xusb21.inf” file that comes with the driver package as explained in this video:

You might have some trouble with enabling the testsigning for the now modified driver, especially if you are runnig Windows 10 Home. To fix this reboot your PC with this command "shutdown.exe /r /o /f /t 00".

Your pc will then boot into the advanced Windows options and there you can deactivate the driver signing for the next restart. Then you can install the unsigned driver, reboot the machine and enjoy your wireless controller working again.