This blog post provides an example of obtaining an IBM Cloud access token using the IBM Cloud IAM REST API and Spring Boot. It includes a Java RestClient implementation for getting the access token and a REST endpoint invocation in a sample application.
Get started with Spring Boot Java application development using Maven, add Swagger UI and an initial basic authentication
This blog post provides a customized extract of the "Spring Boot Quickstart" to start a Spring Boot Java application using Maven, Swagger UI, and initial basic authentication without source code changes. It covers creating a "Hello World" WebService, adding a Swagger UI server, implementing initial basic authentication, and additional resources.
CheatSheet: How to set up Java and Maven on macOS
This blog post provides a list of links to resources for setting up a Java development environment on MacOS.
Getting started with Text Generation Inference (TGI) using a container to serve your LLM model
This blog post outlines a bash automation for setting up and testing Text Generation Inference (TGI) using a container. It provides instructions for creating a Python test client, starting the TGI server, and troubleshooting common issues. The post emphasizes the benefits of using containers and references the Hugging Face and Nvidia technologies.
CheatSheet: How to add users to your watsonx project?
This cheat sheet provides a two-step guide for adding users to your watsonx project in IBM Cloud.
CheatSheet: Configure the Block Storage usage in Virtual Server Instances on IBM Cloud
This post introduces the use of Block Storage in Virtual Server Instances, particularly in relation to GPUs. It covers the process of mounting and configuring block storage, along with creating, formatting, and mounting the disk. It also provides steps for permanently mounting the storage and attaching existing block storage to a new virtual service instance machine.
CheatSheet: How to set up remote development with VS Code using SSH?
The blog post provides a short guide on accessing source code remotely with SSH using VS Code. It covers which of the Visual Studio Code extensions you should install, SSH configuration, connecting to the host, and using VS Code for remote development. The post also includes helpful tips and an example SSH configuration for a Raspberry Pi.
CheatSheet: How to ensure you use the right Python environment in VS Code interpreter settings?
This post covers to ensure you set the virtual environment for Python in VS Code using venv. It details creating and activating a Python venv, and ensuring it’s used in VS Code environments. The steps include opening the VS Code command palette, selecting an interpreter, and navigating to the pyvenv.cfg file.
Unleash your creativity and design a custom visualization for the Shelly 3EM device with Grafana
The blog post details an example implementation of a connection server using Shelly 3EM, IBM Cloud Cloudant, and Grafana. It aims to store historical data for visualizing electricity consumption. The project involves detailed architecture, environment setup, Python, FastAPI, Podman, and more usage. The setup covers Raspberry Pi, Podman Compose, and IBM Cloud Code Engine environments, with prerequisites and detailed configurations. The approach allows users to monitor and visualize power consumption efficiently and cost-effectively using Grafana.
CheatSheet: Run a PostgreSQL container with Podman and podman-compose
This brief article provides a step-by-step guide for setting up and running a PostgreSQL database container locally using Podman Desktop and podman-compose. It covers installation, configuration, and execution, along with additional notes on maintenance and troubleshooting.
