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…
WeiterlesenIntegrating the BSEC in CircuitPython (A work in progress)
A short post about using a static C library inside CircuitPython and a progress report on wrapping the BSEC library in particular.
WeiterlesenUpdating Variant Images in Shopify using CSV
Shopify has a possibility to update fields using a CSV file. This is useful if you want to update a lot of images. Shopify will download these images from a remote server if necessary, so you can provide URLs of your choice. You only need to provide the values you want to update, along with…
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…
Weiterlesen