HammerSpoon
配置的整体如下,通过不同的 Hyper key 在键盘上设置了两层功能,软件控制以及窗口管理。 ├── Spoons │ ├── Emojis.spoon │ ├── SpoonInstall.spoon │ └── TextClipboardHistory.spoon ├── conf.moon ├── control.moon ├── headphones.moon ├...
配置的整体如下,通过不同的 Hyper key 在键盘上设置了两层功能,软件控制以及窗口管理。 ├── Spoons │ ├── Emojis.spoon │ ├── SpoonInstall.spoon │ └── TextClipboardHistory.spoon ├── conf.moon ├── control.moon ├── headphones.moon ├...
其实提高时间利用率,就是两点,事件所需时间的准确评估,另外一个就是牛逼的执行力。
两军问题(英语:Two Generals’ Problem)是计算机领域中的一个思想实验。两军问题显示,通过不可靠的通信通道交换信息并达成共识是难以实现的。在该...
Hardware HHKB Logitech MX Master 3 for Mac MacBook Pro (15-inch, 2017) DELL U2417H Bose QC 35 NFAUDIO 二单元娄氏动铁 NF2u Sony A7M3 iPhone 11 Pro Kindle Paper White Software Git Git Skills Design Tools Figma Excalidraw Pinboard Workflow HammerSpoon Hugo Karabiner-Elements Vanilla Emacs with Purcell Beancount Latex Anki Editor VSCode Terminal Squirrel 输入法词库扩充 - 肥猫百万...
Mysql 无法更新表 查询是否有锁表。 SHOW OPEN TABLES WHERE In_use > 0; 查询是否有正在执行的事务 SELECT * FROM INFORMATION_SCHEMA.INNODB_TRX; Sort Chinese text fields alphabetically by first letter UTF8 default Proofing set is Utf8_general_ci, it is not in Chinese. You need to force MySQL to sort by Chinese. select * FROM MyTable ORDER...
Sankey diagram 使用软件:Figma Plugin: Sankey Connect 展现数据流动的利器 案例:工作流描述 初始的思路是按照流程图来画,用 Excalidraw 插件画起来很快,但不够明晰。工作流也是处理数...
这里用 setTimeout() 模仿异步请求。 const callbackFn = (firstName, callback) => { setTimeout(() => { if (!firstName) return callback(new Error("no first name passed in!")); // failed const fullName = `${firstName} Doe`; return callback(fullName); // succeed }, 2000); }; callbackFn("John", console.log); callbackFn(null, console.log); Promise 实现如下 const promiseFn = (firstName) => { return new Promise((resolve, reject) => { setTimeout(() => { if (!firstName)...
Introduction Emacs outshines all other editing software in approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes everything else vanish. – Neal Stephenson, In the Beginning was the Command Line (1998) Install Emacs With Homebrew First, Doom’s dependencies: brew install git ripgrep brew install coreutils fd xcode-selected --install emacs-mac. It offers good integration...
Plugin Scale Scale any frame, it’s contents, and all effects to any defined width or height. Sankey Connect Sankey Diagram Connect.
删除以往的提交记录 git checkout --orphan latest_branch git add -A git commit -am "commit message" git branch -D main git branch -m main git push -f origin main 发现上次提交的内容有误,需要再次修改,但不想重复提交,而是合并到上一次提...