Posts by Maximilian Batz
How to manage a security breach on your server
Modern servers frequently run a multitude of software applications. In our case, we use Docker on the server to run multiple services. One of these services, Gitlab, had a security issue (gitlab workhorse more specifically). Which led to a trojan infection. (In our case, the binaries were called “wate” in case this matters to someone…
WeiterlesenSplitting envoy envoy.yaml configuration into multiple files (Docker only)
I am handling four different ports / cases with Envoy: IPv6 http IPv4 http IPv6 https IPv4 https For IPv6 and IPv4 the configuration is the same, whereas for http there is a different configuration than for https. To realize this, I have split my envoy configuration into several snippets, and add them together during…
WeiterlesenHow to restore images for a Shopify product you’ve overwritten accidentally by CSV file
Problem: (wrong handling of CSV files) Yesterday I wanted to bulk-edit products in Shopify, and to change the vendor. I used LibreOffice to select just the rows with the vendor in it, updated it, and uploaded only these updated rows as a new CSV to Shopify. The result was that Shopify dropped many variants, and…
Weiterlesenraspi-config nonint do_i2c 1 hangs “forever”
While developing PiCockpit, and trying to allow the user to turn I2C off from the webinterface, I have run into crashes and problems. I am using raspi-config in non-interactive mode (I’ve written about this before) to control I2C from the PiCockpit client. While debugging the issue, I noted that – if something was busy accessing…
WeiterlesenHow to enable bluetooth headphones on Windows 8.1
To follow this guide, your device should already be paired. (Windows + C > Settings > Change Computer Settings) Open system control panel, and choose the Sound control panel Your headphones should show up in the control panel. Mine are the Soundcore Life Q30 Stereo. (Note you can choose between headset and headphones here.) be…
WeiterlesenEnabling and checking I2C on the Raspberry Pi using the command line for your own scripts
Most people know that you can enable the I2C port using raspi-config. raspi-config also offers a non-interactive mode, where you can drive it’s functionality using command line parameters to it. Reading the current state of the I2C port on the Raspberry Pi Here is how to read the current state of the I2C port: sudo…
WeiterlesenRaspberry Pi single board computer market share of total PC market in 2020
For a report I’m preparing for a bank, today I’ve calculated the market share of the Raspberry Pi single board computers (all models) in the worldwide PC market in 2020. Here it is: 2,69 % (at 7.4 Million shipped Raspberry Pi units in 2020) Here is how I came up with this figure: Calculated the…
WeiterlesenTurn off the Adafruit Capacitive Touch PiTFT Plus Display (#2423) on power-off
Using a device tree overlay it is easy to turn off the Adafruit display backlight once the Pi goes into power-off state. Simply add the following line to the end of /boot/config.txt dtoverlay=gpio-poweroff,gpiopin=18,active_low=”y” This will drive this particular pin #18 (which is responsible for the backlight on the Adafruit PiTFT display) low on shutdown, and…
WeiterlesenLite version of PCCB
The PCCB is a carrier board for the Raspberry Pi Compute Module 1 – 3 B+. We are able to remove any parts of the full PCCB you do not need, thereby cutting your BOM cost & time to market significantly: For this particular customers only the following features remained: 10 / 100 Mbit/s LAN…
Weiterlesen