Share permission between Apache/httpd and common user
Posted on
|
Post modified
Table of Contents
Minds and Artists
Posted on
|
Post modified
|
In
Life
有三句话,一直以来印象比较深:
Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
Bad artists copy. Good artists steal.
Good artists copy. Great artists steal.
在 Emacs 中利用正则表达式处理换行
Posted on
|
Post modified
将 Emacs 的文本中的两个换行替换为一行,用于将某些文本中具有空行的内容全都去掉,临时处理一些文本便于进一步处理的情况。步骤如下:
Philosophy in Haskell
Posted on
|
Post modified
Table of Contents
1. Human-centric
Using a value before defining it
Persist and reload prompt in gptel-mode
Posted on
|
Post modified
Table of Contents
1. 生成 prompt 并保存
M-x gptel
,选择默认的后端*Claude*
;M-x gptel-menu
, set system message for this buffer , Pick crowdsourced prompt 选择 prompt generator ;Act as an clojure developer who uses Emacs.
C-c RET
;M-x gptel-menu
, set system message for this buffer, 粘贴刚才获得的结果;C-x C-w
保存为文件,下次可以继续打开并使用之前的语境。
2. 加载已保存的 prompt 并恢复对话
可以参考之前的博客
3. 流程参考
2024 年读书观影记录
Posted on
|
Post modified
Compute Replacement String in Emacs
Posted on
|
Post modified
Compute Replacement String ,顾名思义,在替换字符串时候可以带有一些计算,做一些常见的转换。
Emacs Ledger-mode Reconcilation
Posted on
|
Post modified
Table of Contents
1. What: Double-entry Accounting
Double-entry Accounting 也即复式记账:
- 每一笔经济业务同时记录于借方和贷方,同时记录也即 double-entry ;
- 准确和完整反映财务状况;
- 很多工具支持,例如 hledger, ledger, GNU Cash 等, Emacs 的 ledger-mode 也对其有很好支持。
2. Why: 复式记账流程中的 Reconcile
Why
才是复式记账系统或者说核心。讨论 Why 从复制记账系统的流程说起,Reconcile 在复式记账中的流程处于什么位置呢?
对账的目的是确保账簿记录与实际情况相符,如银行对账单等。对账后如发现差异,需要进行调整分录。
以下步骤是复式记账的基本流程:
Shortcuts Shares Large Amounts of Data
Posted on
|
Post modified
Table of Contents
1. Failure & Fixup
在使用 Shortcuts App 归档 Apple Notes App 的笔记时,遇到 This actions is trying to share 21 Notes items, which is not allowed.
You can allow this in Preferences.
的错误。