透過 Btrfs 打快照
還記得第一次了解到 COW (Copy On Write) 類型檔案系統的時候, 不禁感嘆能夠給數據打快照的特性. 根本不需要有任何數據顧慮, 打個記憶點就不用再擔心數據會丟失, 隨時可以回滾到快照時候的狀態, 也沒有任何冗長的數據拷貝過程, 實在是方便又好用. 對於剛剛接觸 Btrfs 甚至 COW 檔案系統的人可能多少會有點不知道從哪裡上手, 這裡就簡單記錄一下 Btrfs 打快照和恢覆快照的簡要流程.
3033 articles · Fresh posts aggregated from independent blogs across the directory.
還記得第一次了解到 COW (Copy On Write) 類型檔案系統的時候, 不禁感嘆能夠給數據打快照的特性. 根本不需要有任何數據顧慮, 打個記憶點就不用再擔心數據會丟失, 隨時可以回滾到快照時候的狀態, 也沒有任何冗長的數據拷貝過程, 實在是方便又好用. 對於剛剛接觸 Btrfs 甚至 COW 檔案系統的人可能多少會有點不知道從哪裡上手, 這裡就簡單記錄一下 Btrfs 打快照和恢覆快照的簡要流程.

官方链接 官网: 点我进入 产品介绍(与官网同步): 点我进入 ❤ 若有意向入手可通过上述官方链...
上一篇文章中我們探討了 Nginx 在面向各種不同的反向代理應用場景時的最佳實踐, 承接下來, 在這裡我們不妨聊一聊 Nginx 如何用來索引資料. 其本身的 autoindex 和額外的 fancyindex 模塊讓我們幾乎不需要花費什麼力氣就能實現一個簡單好用的資料索引站點, 但具體應該怎麼配置? 實現過程中又有哪些細節需要注意? 怎麼限制對被索引資料的訪問? 又該怎麼確保傳輸安全呢?

背景 以前一直使用 Chrome 浏览器,特点是简洁、纯粹、好用,没有国内浏览器带的臃肿无用的功能,也没有广告,后来因为同步问题( Chrome 同步必需科学上网不方便)投入了 Edge 浏览器的怀抱。 功能介绍 标签自动休眠:如果你也同时打开很多标签,那么你肯定需要这个功能,能帮助你休眠长时间未操作过的标签页面,大幅度降低内存使用。 自动休眠 自动休眠功能我选择的是 “Auto Tab Discard” 扩展,安装和使用都比较简单,不需要繁琐就能使用。 安装 通过 Firefox Add-Ons 扩展商店直接搜…
這其實是一篇早就被我歸檔的舊文章中的一部分, 歸檔起來主要是考慮到 Nginx 的官方文檔非常詳實, 關於每個部分都給出了細致的說明和解釋. 但近來, 收到了一些私信和郵件聯絡希望我把包括這篇文章在內的一部分歸檔文章放回來, 或許是這類總結和討論性質的文章便於在日常工作使用的高頻場景下快速解決問題吧? 那麼, 不妨就在這裡借舊文章中的部分內容探討一下 Nginx 反向代理場景中常見的問題.
This year, the React team unveiled something they've been quietly researching for years: an official way to run React components exclusively on the server. This is a significant paradigm shift, and it's caused a whole lot of confusion in the React community.…
PVE 7.4 换源 cp /etc/apt/sources.list /etc/apt/sources.list.bak sed -i 's|^deb http://ftp.debian.org|deb https://mirrors.ustc.edu.cn|g' /etc/apt/sources.list sed -i 's|^deb http://security.debian.org|deb https://mirrors.ustc.edu.cn/debian-security|g' /etc/apt/s…

最近看到好多人推荐开通新加坡华侨银行 OCBC,这是我目前为止看到唯一一个,使用全部大陆身份信息就可以安全开通且没啥后顾之忧的境外银行卡,之前尝试开通 Wise,获得了一张英国 Visa 卡,但没有英国境外地址一直让我担忧被风控,而 ZA Bank 需要肉身去香港才能开通,因为它要求你提供出境记录,而且本质还是一张虚拟卡。
Reference, context, and preference-based metrics, self-consistency, and catching hallucinations.
Oscar Wilde once said: “Consistency is the last refuge of the unimaginative.” When it comes to ideas, I agree — allow your mind to be changed. When it comes to process, I disagree. Style emerges from consistency, and having a style opens your imagination. You…

这篇文章仅献给没有 Windows 良好使用习惯的小白。 谁是小白?当你的 Windows 系统越用越卡、C 盘占用越用越大、PC开机慢、软件各种弹窗、经常蓝屏死机但重装系统后又正常如初、使用软件各种卡顿。 那么你既是小白。 并无贬低的意思,因为人都是从小白过来的。身边越来越多的朋友无法保持良好的 Windows 使用习惯,进而导致电脑出现上述问题以及其他由于不良习惯而导致的问题。但是在互联网上并未找到合适的适合小白的良好习惯的使用教程。 此篇文章仅是我这么多年来使用 Windows 的个人经验,可能并不全面,如…
ubuntu 26.04 安装 Ghost Ghost 6 现在支持原生中文搜索,可以设置付费阅读及订阅。适合侧重创作的作者,后台写作体验也不错。 安装需要的程序, sudo apt-get install nodejs npm nginx mysql-server sudo npm install ghost-cli@latest -g 添加用户,此次以 blog 为例。 adduser blog usermod -aG sudo blog su - blog 设置 Mysql sudo mysql ALTER…

Hi readers, Over the years, I’ve shared lessons and tips from writing a professional blog — previously 10 years of professional blogging – what I’ve learned. Recently, I’ve had some major changes in my workflow, and wanted to share more. Pre-AI blogging workf…

There’s been a big wave of Creator Economy startups over the past few years, as the rise of social media platforms has empowered content creators to become a focal point for consumer engagement. This wave of startups promised creators that they could help the…
If you want to progress faster, write concise explanations. Explain ideas in simple terms, strongly and clearly, so that they can be rebutted, remixed, reworked — or built upon. Concise explanations spread faster because they are easier to read and understand…

A simple question The last few years have been crazy, and no wonder there’s a ton of folks thinking about making job changes right now. I know this since I’ve been getting the calls. Often the conversations open with a laundry list of different companies, rol…
There is a parasite, I see it everywhere. It consumes your health and wealth. It preys on ignorance and is easy to catch. It’s so common you may not even notice you have it. The parasite has a simple and attractive proposition: let me take care of this hard t…