Durchsuchen nach
Schlagwort: PDF

Linux Bash: Little start script for my pc here

Linux Bash: Little start script for my pc here

I wrote a little script for moving and deleting files in the download folder The RSS files are for the RSS. Sometimes you click on the RSS feed icon and on some website the file extension will download, and it will not open the .xml website where you copy the URL into your RSS feed program. In my settings, I’m aware of doing it, that the PDF files will be downloaded onto my pc. I don’t want to see it…

Weiterlesen Weiterlesen

Linux: Convert a png file into a pdf file

Linux: Convert a png file into a pdf file

Important: I have only tested with png files. Other important notes: You have to install the programs tesseract and pandoc for this script. What is tesseract? A commercial quality OCR engine originally developed at HP between 1985 and 1995. In 1995, this engine was among the top 3 evaluated by UNLV. It was open-sourced by HP and UNLV in 2005. The website of tesseract. What is pandoc? This package provides a command-line executable that uses the pandoc library to convert…

Weiterlesen Weiterlesen

Linux Bash: How to convert many png to pdf

Linux Bash: How to convert many png to pdf

These are the top reasons why PDF is the better choice: Everything in one place: Instead of many individual files, the recipient receives just ONE single file. They open it and have all the images right in front of them, page by page. It’s super convenient and neat! Simply browse: In the PDF, you can simply scroll or flip through the pages, just like in a digital magazine. The order is always retained. Professional impression: A PDF simply looks cleaner…

Weiterlesen Weiterlesen

Python 3.13 How to check how many pages a PDF file has

Python 3.13 How to check how many pages a PDF file has

In order to do this, you need the Python module PyPDF2. You install it with pip3 install PyPDF2 Then it is important for this code here, you have the version PyPDF2 Version 3.0.1 If not then you have to update the module because the programmer of the tool has changed a command within the module In the foreign version the command PdfFileReader was the correct command but now in version 3.0.1 the command PdfReader is the correct one, otherwise this…

Weiterlesen Weiterlesen

In Düsseldorf und Teilen von Ratingen

In Düsseldorf und Teilen von Ratingen

Ich bin heute mit dem ÖPNV und dem Rad nach Düsseldorf gefahren. Hat nicht wer gesagt, der ÖPNV würde funktionieren? Also ich habe heute an einem Samstag nur Verspätungen wieder gesehen. Als erstes bin ich mit der RB32 von Abellio von Essen-Altenessen nach Duisburg HBF gefahren. Das ging noch, aber dann wollte ich in den RE5 von National Express umsteigen. 10.42 Uhr und 15 Minuten Verspätung. Also bin ich auf Gleis 3 mit dem RE2 gefahren. Abfahrt 10.36 Uhr und…

Weiterlesen Weiterlesen