Melt's Blog

An Emacser


  • Home

  • Archives

  • Tags

Minds and Artists

Posted on 2025-05-05 00:00 | Post modified | In Life
Words count in article 267 | Reading time 1

有三句话,一直以来印象比较深:

Great minds discuss ideas. Average minds discuss events. Small minds discuss people.

Read more »

在 Emacs 中利用正则表达式处理换行

Posted on 2025-04-15 00:00 | Post modified
Words count in article 93 | Reading time 0

将 Emacs 的文本中的两个换行替换为一行,用于将某些文本中具有空行的内容全都去掉,临时处理一些文本便于进一步处理的情况。步骤如下:

Read more »

Philosophy in Haskell

Posted on 2025-02-17 00:00 | Post modified
Words count in article 219 | Reading time 1

Table of Contents

  • 1. Human-centric

1. Human-centric

Using a value before defining it

Read more »

Persist and reload prompt in gptel-mode

Posted on 2025-01-04 00:00 | Post modified
Words count in article 158 | Reading time 0

Table of Contents

  • 1. 生成 prompt 并保存
  • 2. 加载已保存的 prompt 并恢复对话
  • 3. 流程参考

1. 生成 prompt 并保存

  1. M-x gptel ,选择默认的后端 *Claude* ;
  2. M-x gptel-menu , set system message for this buffer , Pick crowdsourced prompt 选择 prompt generator ;
  3. Act as an clojure developer who uses Emacs. C-c RET ;
  4. M-x gptel-menu , set system message for this buffer, 粘贴刚才获得的结果;
  5. C-x C-w 保存为文件,下次可以继续打开并使用之前的语境。

2. 加载已保存的 prompt 并恢复对话

可以参考之前的博客

3. 流程参考

总体流程

Read more »

2024 年读书观影记录

Posted on 2025-01-01 00:00 | Post modified
Words count in article 564 | Reading time 2

Table of Contents

  • 1. Books
  • 2. Films
Read more »

Compute Replacement String in Emacs

Posted on 2024-11-15 00:00 | Post modified
Words count in article 156 | Reading time 0

Compute Replacement String ,顾名思义,在替换字符串时候可以带有一些计算,做一些常见的转换。

Read more »

Emacs Ledger-mode Reconcilation

Posted on 2024-11-10 00:00 | Post modified
Words count in article 569 | Reading time 2

Table of Contents

  • 1. What: Double-entry Accounting
  • 2. Why: 复式记账流程中的 Reconcile
  • 3. How: Reconcile in Ledger-mode
  • 4. Attachment   ARCHIVE

1. What: Double-entry Accounting

Double-entry Accounting 也即复式记账:

  1. 每一笔经济业务同时记录于借方和贷方,同时记录也即 double-entry ;
  2. 准确和完整反映财务状况;
  3. 很多工具支持,例如 hledger, ledger, GNU Cash 等, Emacs 的 ledger-mode 也对其有很好支持。

2. Why: 复式记账流程中的 Reconcile

Why 才是复式记账系统或者说核心。讨论 Why 从复制记账系统的流程说起,Reconcile 在复式记账中的流程处于什么位置呢? 对账的目的是确保账簿记录与实际情况相符,如银行对账单等。对账后如发现差异,需要进行调整分录。 以下步骤是复式记账的基本流程:

Read more »

Shortcuts Shares Large Amounts of Data

Posted on 2024-11-08 00:00 | Post modified
Words count in article 231 | Reading time 1

Table of Contents

  • 1. Failure & Fixup
  • 2. Improvement

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. 的错误。

Read more »

Going Home for National Day

Posted on 2024-10-19 00:00 | Post modified
Words count in article 139 | Reading time 0

Table of Contents

  • 1. 夕阳 9/31
  • 2. 不知名的甲虫 9/31
  • 3. 小狗 10/1
  • 4. 打球 10/1
  • 5. 钓鱼 10/1
  • 6. 旧书 10/1
  • 7. War3 10/3
  • 8. 回上海 10/5
Read more »

Deploy A Wordpress Site on Docker

Posted on 2024-10-13 00:00 | Post modified
Words count in article 202 | Reading time 1

Table of Contents

  • 1. Docker 部署
  • 2. Cloudflare Tunnel 设置

1. Docker 部署

利用这个 docker-compose.yml 可以搭建一个本地 20080 端口的 wordpress 服务。

Read more »
1 2 … 7
Melt

Melt

Questions create realities.

66 posts
5 categories
19 tags
RSS
GitHub
© 2021 - 2025 Melt
Powered by Jekyll
Theme - NexT.Muse