When browsing a PHP documentation, an example at the bottom of the
Complex (curly) syntax
section explaining a usage of a
scope resolution operator
(::) within a curly syntax for strings in PHP caught my eye. Let's look
// Show all errors.
I was presented with a task to quickly prepare a bare-metal Linux machine
to run Tesseract OCR for optical character recognition task. The criterion
was to to the recognition as fast as possible. In my tests, the Tesseract 5
was far more precise than Tesseract 4, no matter what o…
I needed to create a validation rule in Laravel that would accept either of
the two inputs, but not both and at least one had to be supplied. In other
words, I had to apply the XOR logic operation on them:
The search results did offer many solutions but I d…
For a long time (a year and a half) I could not start the MS Teams for
linux as an applicaiton from AUR, as a package
teams. I had this error
presented to me all the time.
This version of Teams only supports work or school accounts managed by an organization.
As with anything Mi…
Many times, especially with customizable software stacks, there are aspects
or features of the software that we wish they were done differently.
Fortunately, when using open-source software, configuring said software to
do our bidding could be within a few (hundred) keystrokes. T…
I had to work with many scanned PDF documents that were saved in a very
un-optimal way, each one having up to tens of MBs. This was not suitable
for sending via email and also unnecessary. I saw an option on my
girlfriend's Mac to optimize PDF. The result was that her document
for restoring Gitea from dump did not work for me. Roughly, the following
command for the original rootful Docker image could look like this:
/app/gitea/gitea dump --file gitea-dump.zip -c /data/gitea/conf/app.ini --skip-lfs-data --skip-reposit…