How git stores revisions
2025年1月29日In this article, I will inspect the internals of git by experiments. I will create repositories, make commits, and use git plumbing commands to reveal […]
In this article, I will inspect the internals of git by experiments. I will create repositories, make commits, and use git plumbing commands to reveal […]
Subversion Subversion (svn) uses a technique called “skip-deltas”. In the FSFS back end, each revision of a file is represented as a delta […]
In Firefox, go to about:config, add key browser.urlbar.update2.engineAliasRefresh to true. Otherwise you can’t manually add search engines or ru […]
Unfortunately Stackoverflow is not greenhorn-friendly. Questions asked by newbies are almost always downvoted. Just follow http://www.myoddweb.com/201 […]
Prior to Visual Studio 2017, the MSVC C++ compiler did not have any mechanism to specify C++ language version. In those days, the compiler only suppor […]
2010年我使用了半年以上的德沃夏克Dvorak键盘布局。当时测试了快蹄qwerty布局和Dvorak的打字速度,发现训练半年后Dvorak的速度还是qwerty的三分之二。 主要原因有三: 1. Dvorak的按键操作精密,手背的筋有抽筋的感觉。 2. 非标准布局的支持问题:学校电脑、公司电脑、手 […]
搜索哪些文件含有指定字符串 Get-ChildItem ..\scripts\*azz* |Select-String 571 867161.xml:301:<t id=”571″>[author]\033Y黑客联盟 \033B-%s\033X[/author][text colwid […]
ShareX ShareX是个很知名的工具。但它功能太多,比如更改DNS,备份文件等。 ShareX 16.1.0的安装包体积为40MB。 全新啓動的内存占用為43MB,使用圖像編輯器后,内存占用為120MB。内存不會釋放。 Greenshot 核心功能,包括截图和图片标记,和ShareX基本一样。 […]
跨电脑文件夹同步工具有很多。我以前一直用Resilio Sync,最近嘗試了Syncthing。本文對Syncthing做一個總結和經驗分享。 推荐用Syncthing吗? 不推荐。Syncthing不是工业级的软件,缺少强壯性、安全性,这或许可以通过精心的调教来达到,但非常麻烦。而且Syncthi […]
我办公室电脑要存储一些资料,这些资料是我平时在家也要用的,因此需要备份(同步)到家电脑。这是一个双向同步。 该资料文件夹会产生一些不需要同步的临时文件。 我在办公室,会用Windows远程连接访问家电脑,以防需要访问同步文件夹以外的文件。坏处是家电脑要一直开着,多用一点电。 我的文件管理器是Dire […]