Jun
Jun
Signed-off-by: Ye Sijun Fixes: https://github.com/junnplus/lsp-setup.nvim/issues/28
## Description [nerdctl](https://github.com/containerd/nerdctl/) is a Docker-compatible CLI for [containerd](https://containerd.io/) and it has many new features like rootless mode, compose integration, work with buildkit, and [so on](https://github.com/containerd/nerdctl/#features-present-in-nerdctl-but-not-present-in-docker). PS. I am one...
Signed-off-by: Ye Sijun Keep same with delete namespace https://github.com/containerd/containerd/blob/main/services/namespaces/local.go#L201-L211
Signed-off-by: Ye Sijun Event subscribe should filter namespace based on context.
I need to set synchronization options for different filetypes, is there a way to set them globally?
### Description nerdctl ``` $ sudo nerdctl network create test-br 61c84410830227bcdb72d9c2bb08aec945d85f5c69d35600bfcb24168464a404 $ sudo nerdctl run --net test-br alpine ip addr 2: eth0@if968: mtu 1500 qdisc noqueue state UP link/ether 0e:ad:43:ab:24:2d...
https://github.com/containerd/nerdctl/runs/7464047904?check_suite_focus=true#step:7:894 ``` === CONT TestCopyToContainer cp_linux_test.go:49: assertion failed: error is not nil: expected "1000\n", got "" --- FAIL: TestCopyToContainer (2.16s) --- FAIL: TestCopyToContainer/SRC_PATH_specifies_a_file (1.25s) --- PASS: TestCopyToContainer/SRC_PATH_specifies_a_file/DEST_PATH_does_not_exist (0.46s) --- PASS:...
终端下的工作流
因为大部分编码工作都是在终端下进行的,简单写一篇文章分享下自己的终端下的工作流。 Mac 下使用的终端是 iTerm2,配置了打开一个 iTerm2 窗口会自动执行 `workup` 命令列出可选的工作空间。这里需要解释一下,我的一个工作空间是一个特定的目录,大多数场景是指一个 Git 仓库。 `workup` 命令结合了 tmux + fzf 命令支持: - 快速搜索工作空间 - 进去已有工作空间 - 新建一个新的工作空间(输入一个不存在的工作空间之后回车即可) 一个工作空间是由一个 tmux session 加若干个 tmux window/pane 组成,这样就可以通过管理 iTerm2...
Mysql 的主從複製原理見下圖  `Replication` 是一個異步的複製過程,所謂異步,是指系統更新到 Master 的內容並一定會及時的反映到 Slave 上。 ### Slave 的 I/O 線程和 SQL 線程 Slave 上會同時有兩個線程在工作, I/O 線程從 Master 得到數據(`Binary Log` 文件),放到被稱爲 `Relay Log` 文件中進行記錄。另一方面,SQL 線程則將 `Relay Log`...
> Python中字符串对象和整数对象一样,都是不可变对象`immutable`。 Python2中的字符串有两种:普通字符串(`8-bit strings`)和Unicode字符串(`unicode strings`),分别对应着`str`(`PyStringObject`)和`unicode`(`PyUnicodeObject`)两个字符串对象,都是抽象类型`basestring`的子类: ```python >>> str.__base__ >>> unicode.__base__ ``` > basestring() This abstract type is the superclass for str and unicode. It cannot be called or instantiated, but...