PPT 模板
· ☕ 1 min read · ✍️ dotleo
PPT 不知道如何做?被催 PPT 而焦虑? 都说PPT重点是观点和逻辑,但这非一日之功(懂道理、爱思考,多练习),速成怎能没有模板和素材的助力,一大堆PP

Favorite Mac Applications
· ☕ 1 min read · ✍️ dotleo

I like to find all kinds of software to try them, so I found a lot of interesting software to share here, and I hope someone can share with me the software he finds powerful.


IO 模型详解
· ☕ 14 min read · ✍️ dotleo

系统调用

当系统运行时,第一个启动的程序就是 kernel ,它的作用就是各个硬件工作的调度器。为了保证硬件操作规范及 kernel 的稳定性等原因,Linux 将分为了内核空间和用户空间,普通的应用程序是运行在用户空间,无法访问内核空间中的指令等,当然也就无法直接操作硬件。当进程需要访问硬件设备(比如读取磁盘文件、接受网络数据等)时,必须由用户空间(或者叫用户态、用户模式)切换到内核空间,这是通过 系统调用 实现。strace 可以跟踪到一个进程产生的系统调用,包括参数、返回值及执行消耗时间等。


[Reproduce] Tmux Cheatsheet
· ☕ 1 min read · ✍️ dotleo
start new: tmux start new with session name: tmux new -s myname attach: tmux a # (or at, or attach) attach to named: tmux a -t myname list sessions: tmux ls kill session: tmux kill-session -t myname In tmux, hit the prefix ctrl+b and then: Sessions :new<CR> new session s list sessions $ name session Windows (tabs) c new window , name window w list windows f find window & kill window .

Big Sur 使用 Jitouch
· ☕ 1 min read · ✍️ dotleo
没有 Jitouch 的 Mac 没有灵魂,试过多个触摸板增强工具,还是 Jitouch 最舒服,但作为一个很多年不维护的软件,在 Big Sur 上还是需要一些操作才可以稳定运行。 Jitouch 安装 建议还

通过 Hugo 和 GitHub Pages 免费搭建博客
· ☕ 4 min read · ✍️ dotleo
hugo 安装 Mac 安装 hugo 命令如下: brew install hugo 运行如下命令验证: hugo version 创建一个新的站点 可以先创建一个文件夹,然后 cd 到该文件夹,运行 hugo new site .;也可以直接运行 hugo new

Vim 自动切换中英文
· ☕ 1 min read · ✍️ dotleo
使用 vim 最大的痛点就是使用时中英文切换的问题,但插件可以帮我们自动切换,进入 normal 模式则自动切换为英文,进入 insert 模式恢复之前的输入法。 目前了解有 3 种