[note] Fixing Git Installation Issues in apache/airflow:2.10.2 Docker Image

๐Ÿ“Œ Introduction

The article discusses the issue of permission errors when attempting to install packages from GitHub while using the apache/airflow:2.10.2 Docker image. It presents a solution that involves temporarily switching to the root user to install โ€˜gitโ€™ and then reverting to the airflow user for further installations.

Read more

[note] Enhancing Code Clarity with TypedDict

๐Ÿ“Œ Introduction

This article discusses the benefits of using TypedDict in Python for enhancing code clarity when storing complex data. It highlights how TypedDict helps developers by providing suggestions through their IDE, while also noting its limitations regarding strict type enforcement.

Read more

[tutorial] Using Ollama with OpenCommit for Local Commit Message Generation

๐Ÿ“Œ Introduction

This article covers using Ollama with OpenCommit for generating commit messages locally. It includes an overview of running Ollama in a Docker container, instructions for using the Ollama CLI, and how to combine Ollama with OpenCommit for generating commit messages.

Read more

[note] Installation of Golang (PATH)

๐Ÿ“Œ Introduction

This article provides a step-by-step guide on how to install Go on macOS and configure the systemโ€™s PATH variable to include Go binaries.

Read more

[tutorial] How to use psutil to monitor CPU and memory usage in python

๐Ÿ“Œ Introduction

This article introduces psutil, an open-source Python package that provides system information about CPU, memory, disks, and networks. It covers the installation of psutil and demonstrates useful functions for monitoring CPU and memory usage, as well as how to integrate it into Python code using decorators.

Read more

[tutorial] Build your own python package

๐Ÿ“Œ Introduction

Building your own Python package is beneficial for maintaining large projects, as it helps manage code that is otherwise scattered across directories.

Read more

[note] Installing GitHub Copilot CLI and Usage Guide

๐Ÿ“Œ Introduction

This article discusses how to install and use the GitHub Copilot CLI. It covers the installation process using npm, setting execution policies on Windows, and gives an example of how to use the CLI to get help on certain git commands.

Read more