Melt's Blog

An Emacser


  • Home

  • Archives

  • Tags

大教堂与集市读后感

Posted on 2024-03-25 00:00 | Post modified
Words count in article 366 | Reading time 1

读完《大教堂与集市》,深切地觉得未来属于开源软件。

Read more »

Automation in Home assistant

Posted on 2024-03-23 00:00 | Post modified
Words count in article 258 | Reading time 1

Table of Contents

  • 1. Core concepts in HA
  • 2. Trigger and entity

1. Core concepts in HA

Home assistant1 有三个核心概念: Automation, Scene, Script.

  • Automation: All automations are made up of a trigger and an action
  • Scene: A scene entity is an entity that can restore the state of a group of entities
  • Script: The script integration allows users to specify a sequence of actions to be executed by Home Assistant
Read more »

Briefly guide on how to use GPTel

Posted on 2024-03-07 00:00 | Post modified
Words count in article 389 | Reading time 1

Table of Contents

  • 1. Prequisitions
  • 2. Installation
  • 3. How to use
  • 4. Session

1. Prequisitions

首先需要有正常访问 OpenAl GPT API,或其他后端 Gemini API 的条件。 API 可以随便换,只要 API 可正常访问。

2. Installation

在 Emacs 中安装 GPTel 插件,并使用如下示例配置:

Read more »

骑行到黄浦江

Posted on 2024-03-04 00:00 | Post modified
Words count in article 101 | Reading time 0

Table of Contents

  • 1. 一路上
  • 2. 黄浦江
Read more »

浅说正向代理和反向代理和应用

Posted on 2024-03-02 00:00 | Post modified
Words count in article 865 | Reading time 4

Table of Contents

  • 1. Preface
  • 2. Retrospection
  • 3. Forward proxy
  • 4. Reverse proxy
  • 5. Forward proxy via SSH

1. Preface

在 macos 上的 Clash-X 有点不好用,并且界面崩坏。如果使用命令行的 clash 就没有如此烦恼,于是就是安装 brew install clash 。但 homebrew 中无 clash-premium ,无法使用 clash-premium 的 RULE-SET 指令,也尝试在网络设置中直接设置网络 proxy 为本地服务器,不过在 terminal 和 Emacs 中有不少使用形如 127.0.0.1:proxy-port 的代理配置,若直接根据机器修改配置将会对配置文件维护带来麻烦。

Read more »

闲游长江

Posted on 2024-02-15 00:00 | Post modified
Words count in article 388 | Reading time 1

Table of Contents

  • 1. 老家
  • 2. 公路
  • 3. 长江
  • 4. 378Q
Read more »

读完《高敏感是种天赋》

Posted on 2024-01-20 00:00 | Post modified
Words count in article 326 | Reading time 1

今天看完了一本一直想看的书,名字是 高敏感是种天赋 。 书名虽带有「天赋」二字,看完给我的感受是,内容整体上更多在介绍高敏感人会是什么样子,并未突出天赋。 甚至书中还不断提到,高敏感人士的回避、低自尊性实际上在主流上看来是一种劣势。 也有提到高敏感人士对与共情、创造有更多的体验,这些算是好处,但也算不上是天赋吧。

Read more »

一些与「三国」相关

Posted on 2024-01-16 00:00 | Post modified
Words count in article 172 | Reading time 0

Table of Contents

  • 1. 游戏
  • 2. 影视
  • 3. 音乐
  • 4. 考据
    • 4.1. 地图
    • 4.2. 巡礼
Read more »

Use SSH Service via Cloudflare

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

Table of Contents

  • 1. Preface
  • 2. Cloudflare tunnel
  • 3. SSH client connect

1. Preface

一直以来有在公网使用 SSH 服务的需求,之前有使用过公网服务器来进行 SSH 转发,但若公网服务器或域名被网关封锁就也无能为力了,幸好还有 Cloudflare 的动态代理,为人津津乐道的还是它的免费。为什么对普通用户这么友好的服务在大陆没有呢?这个问题就很好所以答案不重要。

2. Cloudflare tunnel

Cloudflare 官网有详细的教程指导如何借助 Cloudflare Zero Trust 来为 Secure Shell Protocol (SSH) 提供穿透 ,这里选择 Connect to SSH server with cloudflared access 的方式,步骤如下:

Read more »

2023 读书观影记录

Posted on 2023-12-31 00:00 | Post modified
Words count in article 877 | Reading time 4

Table of Contents

  • 1. 书籍
  • 2. 电影
Read more »
1 2 3 4 … 7
Melt

Melt

Questions create realities.

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