--- title: "今日之事(What I Did Today)" date: 2024-02-16T23:38:52+08:00 categories: - 技术 - AI Workflow genres: - 人工智能探索 - Tutorial tags: - GPT-4 - Hugo - Github Action draft: false ---

前言(Introduction)

今天是一个充实的一天。我完成了以下任务:

Today was a productive day. I accomplished the following tasks:

任务(Tasks)

  • 任务(Task) 1: 尝试了一段时间seafile,但没有成功。非常沮丧焦虑。

  • 想起来服务器崩盘的最大损失除了博客之外,尽然还有这些年来积攒的照片。我得在本地找找才行了。

  • 税表下来了,用turbotax报了税。但在支付的时候,银行将新开的信用卡封掉了。这算是我的错吧,在国外使用信用卡需要预先在网站上登记一下使用国家。

  • 把hugo的网站开发环境迁移到本地了。使用hugo, vscode, github, asciidoctor. 这是第一个adoc文章,试试效果。

如何为hugo配置ascciidoc环境(windows)

  1. 安装hugo

  2. 安装vscode

  3. 安装ruby

  4. 安装asciidoctor以及相关插件

    --- gem install asciidoctor gem install asciidoctor-plugin gem install asciidoctor-pdf gem install asciidoctor-diagram gem install asciidoctor-mathematical gem install asciidoctor-html5s gem install asciidoctor-revealjs gem install asciidoctor-epub3 gem install asciidoctor-extensions-lab gem install asciidoctor-extensions ---\

  5. 调整hugo配置文件

    --- #try asciidoc markup: asciidocext: extensions: ["asciidoctor-html5s", "asciidoctor-diagram"] workingFolderCurrent: true attributes: :imagesdir: /pics source-highlighter: "rouge" rouge-style: "github" rouge-css: "style" icons: "font" ref-less: "https://less.works/[LeSS]" security: exec: allow: ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$'] ---
    Linux下的配置

安装hugo

安装ruby

+

--- sudo apt-get install ruby, ruby-dev apt-get install build-essential gem install asciidoctor gem install asciidoctor-plugin gem install asciidoctor-pdf gem install asciidoctor-diagram gem install asciidoctor-mathematical gem install asciidoctor-html5s gem install asciidoctor-revealjs gem install asciidoctor-epub3 gem install asciidoctor-extensions-lab gem install asciidoctor-extensions ---\

Conclusion

总的来说,今天是一个成功的一天,项目取得了重大进展。(对了,这句话是copilot帮我写的。)

Overall, it was a successful day with significant progress made on the project.