18 May 2024

I'm a big fan of FreeBSD. But previously I only played with it occasionally in VMs and haven't deep dived into it. Recently I decided to run FreeBSD on a real machine. This post describes how I install and configure FreeBSD on a Mini PC (SER5 Max).

Read more →
29 October 2023

将默认 Shell 从 zsh 切换到 Nushell 一个多月了,用下来非常顺手,一句话形容 Nushell 就是:将现代编程语言与 Shell 融合得浑然天成。

Read more →
11 June 2023

近期申请了一台 Mack Book Pro M1 工作机,为了方便以后换机器配置环境的麻烦,装了个 nixo 虚拟机。期间遇到一些小问题,但整体还是很满意的。写个文档记录一下如何在 arm64 nixos 上构建 x86-64 的 Docker 镜像。

Read more →
31 July 2022

I used Tmux a lot in the past. On macOS I run Tmux in Alacritty. Recently I've replaced Alacritty + Tmux with Kitty. Having used Kitty for about a month, I find it's pretty awesome and can seamlessly switch to it with nearly the same set of keybindings as Tmux.

Read more →
22 December 2019

Docker 容器作为虚拟化技术的一种,其轻量级的优点同时也带来了一些缺点:不彻底的隔离性给安全带来了隐患,裁减镜像增加了运维调试难度。本文以 tidb-docker-compose 为例,谈谈在 Docker 容器出现问题时,如何进行调试排查。

Read more →