上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 58 下一页
摘要: 有时候由于配置的失误,导致构建了好久的镜像没能推送到云或者保存到本地。而如果重新构建,则可能又要全部重来。其实这时候我们可以导出 buildx 中的缓存到本地文件,再将本地文件导入为镜像。这样可以节省不必要的等待时间。 # 抓取构建缓存中的镜像并为其创建一个新的标签 docker buildx im 阅读全文
posted @ 2024-05-01 06:07 Undefined443 阅读(105) 评论(0) 推荐(0)
摘要: 构建多平台镜像的方法分为两种:一种是在不同平台的机器上分别构建并推送对应平台的镜像,然后通过 Docker Manifest 将两个镜像标签合并为一个。另一种是通过 Docker buildx 在一台机器上构建并推送两个平台的镜像。 使用 Manifest 工具 此方法需要你先在对应架构的机器上分别 阅读全文
posted @ 2024-05-01 03:14 Undefined443 阅读(324) 评论(0) 推荐(0)
摘要: 邮箱和姓名 git config --global user.name "username" git config --global user.email "email@example.com" 默认编辑器 git config --global core.editor "vim" 远程库 git 阅读全文
posted @ 2024-05-01 03:07 Undefined443 阅读(21) 评论(0) 推荐(0)
摘要: 单行风格(传统) 传统的 sourses.list 文件使用单行风格配置,下面是两条单行风格的配置项: deb http://archive.ubuntu.com/ubuntu jammy main restricted deb [arch=amd64 signed-by=/usr/share/ke 阅读全文
posted @ 2024-04-30 00:59 Undefined443 阅读(567) 评论(0) 推荐(0)
摘要: TablesGenerator.com 普通表格 Body: \begin{table}[h] % h: here, t: top, b: bottom, p: page \begin{center} % 一个字母代表一列 \begin{tabular}{|c|cccc|} % c: center, 阅读全文
posted @ 2024-04-28 17:33 Undefined443 阅读(191) 评论(0) 推荐(0)
摘要: 首先将矢量图保存为 PDF 格式。 使用 pdfcrop 工具裁剪 PDF 页面空白:pdfcrop <input.pdf> [output.pdf] 在 .tex 文件中使用 graphicx 包像导入普通图片一样导入 PDF 图片 阅读全文
posted @ 2024-04-28 11:12 Undefined443 阅读(180) 评论(0) 推荐(0)
摘要: PDF, PNG, JPG Preamble: \usepackage{graphicx} Body: \begin{figure}[htbp] % h: here, t: top, b: bottom, p: page \centering % 居中 \includegraphics[width= 阅读全文
posted @ 2024-04-28 09:23 Undefined443 阅读(120) 评论(0) 推荐(0)
摘要: 在安装了 Parallels 之后,发现 Mac 没声音,打开声音设置一看音频输出设备被设为了 Parallels Access Sound。把输出设备调回 MacBook 扬声器就有声音了。 但是音频输出设备经常被自动切换回 Parallels Access Sound。于是我决定移除这个设备。 阅读全文
posted @ 2024-04-27 11:26 Undefined443 阅读(115) 评论(0) 推荐(0)
摘要: 在 Linux 系统中,网络接口的命名规则已经经历了几次重要变化,特别是从传统的以 eth 和 wlan 开头的名称,转变到更现代、更具描述性的命名方式 enp2s0,wlp3s0: 传统命名约定 在早期的 Linux 发布版本中,网络接口通常遵循如下命名约定: 以太网接口:eth0、eth1 等, 阅读全文
posted @ 2024-04-26 16:43 Undefined443 阅读(348) 评论(0) 推荐(0)
摘要: 根据自己的喜好给常见的几个中文字体的打分: 字体选项 字体名 得分 adobe Adobe 宋体 Std 5 fandol FandolSong 0 founder 方正书宋_GBK 10 hanyi 汉仪宋体 6 sinotype 华文宋体 3 win 中易宋体 9 fandol 缺少偏僻字体,故 阅读全文
posted @ 2024-04-25 12:05 Undefined443 阅读(337) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 58 下一页