Quick update on creating your SAP BTP architecture diagrams with code

In this blog post, I will share a quick update on the SAP icons part of the Diagrams fork repo. The sneak preview of the SAP BTP Solution Diagram icons, that were part of an SAP TechEd 2023 virtual session (XP286v), are now included in the Diagrams fork that you can use to create your SAP BTP architecture diagrams with code. Note: This blog post is related to Creating architecture diagrams with code - https://blogs.sap.com/2022/06/29/creating-architecture-diagrams-with-code/.

Read More

Steampipe plugin for SAP BTP

I’ve been recently playing around with Steampipe to query different cloud services I use. This got me thinking, it will be very cool if I could query my SAP Business Technology Platform (SAP BTP) account with Steampipe.

Read More

TIL - Bitwarden CLI usage in scripts

To automate some SAP BTP scripts, I’ve been using the great generate-password-grant-type script (created by my friend and colleague @qmacro) to retrieve an access token. Unfortunately, or fortunately, authenticating with some accounts requires 2FA. Meaning that you need to append an OTP when specifying the account’s password in the password field. This can be cumbersome when developing scripts, as you need to set this OTP. Bitwarden CLI to the rescue!

Read More

A backup strategy

In this short blog post, I’ll share what I’ve been doing to backup my data and hopefully keep it safe in case of any disasters.

Read More

TIL - How to get Ubuntu codename from Linux distro based on Ubuntu

I’ve been playing a bit with Elementary OS… it is a nice, simple Linux distro based on Ubuntu. Which means that you you can follow the instructions for Ubuntu whenever you need to install any software in Elementary OS. That said, some installation instructions require specifying the Ubuntu codename, to be able to retrieve the right binary from internet, e.g. Installing Docker Engine. A command commonly used to retrieve the codename of your distro is lsb_release -cs.

Read More

TIL - Create a custom Quartz filter in ColorSync utility to reduce PDF file size on a Mac

I had a very large PDF document (18.9MB), which contained 24 large images, and I needed the file to be less than 5MB as I need to upload it on a website where the maximum file size is 5MB. Using Preview on Mac, it is possible to Export a file and select the format as PDF and Quartz filter: Reduced file size. The problem with this approach is that the image quality suffers greatly and the images in the PDF might end up not being that readable. From within Preview, it is not possible to modify the settings used by the Quartz filter. Here is where the ColorSync utility comes to the rescue :-).

Read More

Adding and trusting a Certificate Authority (CA) in Fedora

When running Citrix on Fedora, I was getting an error message similar to the following: “SSL Error 61: You have not chosen to trust ‘Certificate Authority’”. Basically, the CA (certificate authority) cert was missing in my operating system. To fix this, we need to do the following:

Read More

Updating an image used within k8s deployment

There are times when we update an image used in a deployment and we want our k8s deployment to use the latest image. We can achieve this in two ways, doing a rolling restart of the deployment or by specifying the deployment to run an image with a specific tag. Below the imperative commands that allow us to achieve this:

Read More