Durchsuchen nach
Schlagwort: Informatik

Bash Script für Verändern der DPI eines Bildes

Bash Script für Verändern der DPI eines Bildes

Funktioniert unter Fedora 42 und AlmaLinux 9.7: Das ist hier eine Stapelverarbeitung wie man früher gesagt hat für viele Bilder auf einem Schlag. Es verändert die DPI Anzahl und die Pixelgröße, damit es beim Druck stimmig herauskommt. Das Script in einem Textdokument mit der Endung .sh speichern und mit chmod +x ausführbar machen also chmod +x <dateiname>.sh Danach kann man es mit bash <scriptname>.sh verwenden.

Calculation of a Triangle with two Unknowns with your Head and with Python

Calculation of a Triangle with two Unknowns with your Head and with Python

You have a triangle, where you only know one site and the angle. This problem comes during a test at the Tesla company of Elon Musk. This is only an example and this is nothing when you want to build a house. When you want to build a house, then you need one solution and not so many. The setup: The Mathematical Approach: We start with the Pythagorean theorem: a2 + b2 = c2 We have to subtract b2, then…

Weiterlesen Weiterlesen

Vokabeltrainer / Vokabelbox Deutsch – Spanisch

Vokabeltrainer / Vokabelbox Deutsch – Spanisch

Ich nenne es Vokalbox. Die älteren werden noch die Karteikarte kennen. Klar, die ist es auch noch weiterhin im Handel und anscheinend ist sie noch gefragt. Aber was gibt es Besseres, als das auf dem PC zu haben? Natürlich gibt es gefühlt Vokalprogramme wie Sand am Meer und wahrscheinlich habe ich für mich die langweiligere Variante selber erstellt. Genau selber erstellt. Ich kann jetzt meinen Code beliebig verändern. Könnt ihr das mit den gekauften Programmen auch? Wahrscheinlich nicht, denn der…

Weiterlesen Weiterlesen

How to do some admin works with MariaDB and Python

How to do some admin works with MariaDB and Python

The challenge for every administrator, especially database administrators, naturally lies in keeping track of what their own system is doing. I’m not a database administrator, meaning I don’t work full-time in this field 40 hours a week. But even for the hobbyist database administrator using MariaDB, some of this information is quite useful. But I’ve been interested in databases for many years. I’m fascinated by data storage, because we encounter countless databases every day, even if we’re not aware of…

Weiterlesen Weiterlesen

What you can animate with Python for your physics learning

What you can animate with Python for your physics learning

Here is the video to the is script here You want to see more? How to Run This Simulation To get the Stoppenberg (is the name of a quarter of the town in Essen here in the West-Germany – we have a lot of hills here) Physics Sim running on your local machine, follow these three simple steps: 1. Install the Prerequisites First, ensure you have Python installed. Then, open your terminal (Fedora) or Command Prompt (Windows) and install the…

Weiterlesen Weiterlesen