Rabbit Blog

As you walk the path, let your heart set sail.

OrbStack: Run Docker containers and Linux VMs fast on macOS

OrbStack: Run Docker containers and Linux VMs fast on macOS OrbStack is a tool that allows you to run Docker containers and Linux VMs on macOS with low resource usage, high efficiency, and fast speed. Compared to traditional Docker Desktop and virtual machine software, OrbStack has obvious advantages in startup speed, network speed, and resource usage. Fast startup OrbStack has a very fast startup speed, taking only about 2 seconds to complete.

Key Invalidation When Connecting to Jumpserver

Key Invalidation When Connecting to Jumpserver After upgrading to Sonoma last year, I found that when connecting to Jumpserver via iTerm2, I was prompted to enter a password, and the RSA key became invalid. However, it worked fine on Terminal and other devices. Connecting to other servers via iTerm2 also worked without requiring a password. Today, I noticed that the software version on Terminal is OpenSSH_9.6p1, while on iTerm2 it is OpenSSH_9.

Exploring Authorization Libraries in Blazor

ASP.NET vs. Casbin

Exploring Authorization Libraries in Blazor: ASP.NET vs. Casbin Introduction: In the realm of web development, authorization is a critical aspect of ensuring secure access to resources within applications. When building web applications using Blazor, developers often need to choose an authorization library that best suits their project’s requirements. In this blog post, we will explore and compare two popular authorization libraries for Blazor projects: ASP.NET’s built-in authorization features and Casbin, an independent authorization library.

Using Moq for Mocking in C#

Using Moq for Mocking in C# Mocking is an essential technique in software development, especially in unit testing, where dependencies need to be replaced with test doubles to isolate the unit under test. Moq is a popular mocking library for C# that provides a fluent interface for creating mock objects. In this guide, we’ll explore the basics of using Moq to create mock objects. Installation First, ensure you have the Moq package installed in your project.

Step-by-Step Guide to Calling Google Indexing API to Publish URL Notifications with C#

Step-by-Step Guide to Calling Google Indexing API to Publish URL Notifications with C# Google Indexing API is a powerful tool that allows website owners to notify Google about changes to their website’s content. This article will guide you through the process of using C# language and Google API client library to call Google Indexing API for publishing URL notifications. Step One: Preparation First, we need to prepare the following: Install Google API Client Library: Install the Google.