Skip to content

Commit

Permalink
update at 2023-10-07
Browse files Browse the repository at this point in the history
  • Loading branch information
EINDEX committed Oct 7, 2023
1 parent ddb8de5 commit e8424a5
Show file tree
Hide file tree
Showing 41 changed files with 97 additions and 73 deletions.
2 changes: 1 addition & 1 deletion src/content/posts/en/build-blog-in-free-tier.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Build Blog in Free Tier
date: "2023-01-03T10:11:30Z"
date: 2023-01-03T10:11:30Z
description: ""
draft: true
tags: []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Improving Your Code Review Process With Semgrep
date: "2022-12-13T20:55:03+08:00"
date: 2022-12-13T20:55:03+08:00
description: "A tool to automate code analysis and enforce security best practices. Helps developers write better code faster."
draft: false
cover: https://img.eindex.me/img/0ec861d94c82a9e7fe57880e0f25a2dd.png
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Code Review with Semgrep Custom Rules
date: "2022-12-14T14:14:56+08:00"
date: 2022-12-14T14:14:56+08:00
description: "Use Semgrep for code review to detect issues and improve code quality."
draft: false
template: posts/page.html
Expand Down
4 changes: 2 additions & 2 deletions src/content/posts/en/webmentions.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Joining the Webmentions Community: A Beginner's Guide"
date: "2022-11-06T17:44:50+08:00"
updated: "2022-12-05T23:48:50+08:00"
date: 2022-11-06T17:44:50+08:00
updated: 2022-12-05T23:48:50+08:00
description: " A protocol to notify webpages about links, likes, or comments. Enables better communication on the internet."
tags:
[
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/1984-after-reading.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "1984"
date: "2019-09-02T23:28:58+08:00"
date: 2019-09-02T23:28:58+08:00
author:
- George Orwell

Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/algorithm/kmp.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "KMP 算法"
date: "2018-05-11T14:32:26+08:00"
date: 2018-05-11T14:32:26+08:00
draft: false
template: "posts/page.html"
tags: [KMP, Python]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/algorithm/liner-in-python.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "基本线性数据结构的Python实现"
date: "2017-10-05T14:33:39+08:00"
date: 2017-10-05T14:33:39+08:00
draft: false
template: "posts/page.html"
tags: [Python, Data structure, Linear]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/algorithm/sort-in-python.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "基本排序算法的Python实现"
date: "2017-10-05T14:34:54+08:00"
date: 2017-10-05T14:34:54+08:00
draft: false
template: "posts/page.html"
tags: [Python, Sort]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/algorithm/tree-in-python.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Tree in Python"
date: "2018-04-08T14:30:44+08:00"
date: 2018-04-08T14:30:44+08:00
draft: false

template: "posts/page.html"
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/archlinux-install-guide.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "小白也能上手的 ArchLinux 安装教程"
date: "2017-10-05T14:24:21+08:00"
date: 2017-10-05T14:24:21+08:00
draft: false
template: "posts/page.html"
tags: [ArchLinux]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/beancount-introduce.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "复式记账工具 Beancount"
date: "2019-11-30T00:00:00+08:00"
date: 2019-11-30T00:00:00+08:00
draft: false
template: "posts/page.html"
tags: [Beancount]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/editor-distence.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "编辑距离"
date: "2018-05-11T14:21:13+08:00"
date: 2018-05-11T14:21:13+08:00
draft: true
template: "posts/page.html"
tags: [Editor Distence, Algorithm]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/introspection.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "反躬自问"
date: "2022-05-02T17:13:36+08:00"
date: 2022-05-02T17:13:36+08:00
draft: false
latex: false
template: "posts/page.html"
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/inverted-index.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "倒排索引"
date: "2019-08-27T12:31:56+08:00"
date: 2019-08-27T12:31:56+08:00
draft: false
template: "posts/page.html"
tags: [Index, Search Engine]
Expand Down
4 changes: 2 additions & 2 deletions src/content/posts/zh/my-homelab-introduce.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "My HomeLab"
date: "2022-05-15T23:39:46+08:00"
updated: "2023-01-03T17:40:23+08:00"
date: 2022-05-15T23:39:46+08:00
updated: 2023-01-03T17:40:23+08:00
draft: false
latex: false
tags: [K3S, Proxmox VE, Self-Hosted, Docker]
Expand Down
42 changes: 33 additions & 9 deletions src/content/posts/zh/newsletters/0.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "#0 新的开始"
date: "2023-06-01"
date: 2023-06-01
draft: false
---

Expand All @@ -12,7 +12,7 @@ draft: false

### 左耳朵耗子离世

最冲击我的可能就是 [左耳朵耗子](https://coolshell.cn/) 的离世了。我是在毕业之后才开始看他的博客的,我觉得对我影响最大的系列就是程序员练级攻略了,也经常会推荐给公司的其他同事看,毕竟他戏称是我司 Thoughtwokrs (2023 年 6月 1 日) 的黑粉,其实他的博客中可以学到很多东西。
最冲击我的可能就是 [左耳朵耗子](https://coolshell.cn/) 的离世了。我是在毕业之后才开始看他的博客的,我觉得对我影响最大的系列就是程序员练级攻略了,也经常会推荐给公司的其他同事看,毕竟他戏称是我司 Thoughtwokrs (2023 年 6 月 1 日) 的黑粉,其实他的博客中可以学到很多东西。

在他离世之后,我看了很多相关于他的缅怀文章,比方说认真,追求完美,工作狂,等等。我以前也有一切这方面的问题,时不时就会觉得心悸,在经过了一次轻度抑郁症之后,我解放了自己,放弃了过于理想化的的生活。现在坚持一个原则就是自己第一,家庭第二,工作第三,多储蓄少借贷。极大的降低了我的精神内耗情况。人也过的充实了不少。

Expand All @@ -22,11 +22,29 @@ draft: false

塞尔达传说王国之泪的发售了,很难想象任天堂是如何在这个追求快餐化游戏,疫情刚结束的经济影响以及 NS 的孱弱机能的情况下作出这样一款极其富有创造力,自由的世界。

王国之泪让我觉得旷野之息只是一个 Demo,除了主线的Boss迷宫比较拉胯以外,其他的地方我挑不出毛病,从 5 月 12 日 23 点发售到 22 日我就已经玩了 130 小时,才完成全神庙和全树根。还有很多洞窟,迷你挑战和可恶的呀哈哈等着我探索。
王国之泪让我觉得旷野之息只是一个 Demo,除了主线的 Boss 迷宫比较拉胯以外,其他的地方我挑不出毛病,从 5 月 12 日 23 点发售到 22 日我就已经玩了 130 小时,才完成全神庙和全树根。还有很多洞窟,迷你挑战和可恶的呀哈哈等着我探索。

这段时间除了上班就是游戏和睡觉。我也很开心能在海拉鲁度假这么久,王国之泪已然在我心中取得第一名,超过了缺氧(900h)、荒野之息(80h)、火焰纹章系列(100h), Minecraft。

<blockquote class="twitter-tweet"><p lang="en" dir="ltr"><a href="https://twitter.com/hashtag/TearsOfTheKingdom?src=hash&amp;ref_src=twsrc%5Etfw">#TearsOfTheKingdom</a> <a href="https://twitter.com/hashtag/Zelda?src=hash&amp;ref_src=twsrc%5Etfw">#Zelda</a> finally!!! <a href="https://t.co/tBwkbO0gnT">pic.twitter.com/tBwkbO0gnT</a></p>&mdash; EINDEX (@eindex_li) <a href="https://twitter.com/eindex_li/status/1660663950848163841?ref_src=twsrc%5Etfw">May 22, 2023</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<blockquote class="twitter-tweet">
<p lang="en" dir="ltr">
<a href="https://twitter.com/hashtag/TearsOfTheKingdom?src=hash&amp;ref_src=twsrc%5Etfw">
#TearsOfTheKingdom
</a>{" "}
<a href="https://twitter.com/hashtag/Zelda?src=hash&amp;ref_src=twsrc%5Etfw">
#Zelda
</a>{" "}
finally!!! <a href="https://t.co/tBwkbO0gnT">pic.twitter.com/tBwkbO0gnT</a>
</p>
&mdash; EINDEX (@eindex_li){" "}
<a href="https://twitter.com/eindex_li/status/1660663950848163841?ref_src=twsrc%5Etfw">
May 22, 2023
</a>
</blockquote> <script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>

期待王国之泪的 DLC 能让我再次去海拉鲁度假,最好是能增加一些左纳乌设备,或者能做几个更有趣的大迷宫,顺带优化一下 UI 交互,增加一下蓝图容量。

Expand All @@ -43,12 +61,12 @@ draft: false
3. 增加一个 new tab 的页面或者是固定页面,让用户可以在这个页面上写 query 查看笔记本中的内容,查看/完成 TODO 等等。
4. 考虑一下如何利用 Chrome v114 给插件开放的侧边栏功能,[link](https://developer.chrome.com/docs/extensions/reference/sidePanel/)

### Blog on Federation
### Blog on Federation

现在的前端界面可能是我这辈子写的最好看的 UI 了,接下来主要是想实验一下 ActivePub API,让静态博客和 Federation 融合。现在在 Fedrese 里也能看得到 [@eindex@eindex.me](https://mastodon.social/@eindex@eindex.me),是利用 [Bridgy Fed](https://fed.brid.gy/) 实现的,但我个人对 Federation 很感兴趣,想研究一下协议的实现。

还在家里的 Homelab 上跑了一个 [Mastodon](https://social.eindex.me/) 实例,用来做实验。
其次是想把 Thoughts 模块改造成类似于 Twitter 的短文发布平台,同时支持 ActivePub API, 应该还是蛮有趣的。
其次是想把 Thoughts 模块改造成类似于 Twitter 的短文发布平台,同时支持 ActivePub API, 应该还是蛮有趣的。

Federation + WebMentions 这可能就是我心中的 Web 3 形态了。

Expand All @@ -62,13 +80,19 @@ Federation + WebMentions 这可能就是我心中的 Web 3 形态了。

受到此行为的影响,我 yubikey 里的 GPG key 需要更新了。允悲。


### Automatic review with Semgrep

做了在公司内部做了一次公开分享,虽然分享的不咋地,有些紧张,英语口语也退步一大截,但毕竟是做了分享还是挂出来丢一波人,哈哈。

<iframe class="aspect-video w-full rounded-lg mb-2" src="https://www.youtube.com/embed/LRy9SZnCfhM" title="Automatic review with Semgrep" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe
class="aspect-video w-full rounded-lg mb-2"
src="https://www.youtube.com/embed/LRy9SZnCfhM"
title="Automatic review with Semgrep"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
></iframe>

## End

希望我下个月初能够继续更新 Newsletter,如果更不了,就拉到。

2 changes: 1 addition & 1 deletion src/content/posts/zh/one-hundred-line-async-crawler.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "一百行代码实现异步爬虫"
date: "2019-09-07T12:17:25+08:00"
date: 2019-09-07T12:17:25+08:00
draft: false
template: "posts/page.html"
tags: [Python, Crawler, Async]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/pipenv-autoenv.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Pipenv + Autoenv 更友善的工作环境"
date: "2018-09-05T14:22:34+08:00"
date: 2018-09-05T14:22:34+08:00
draft: false
template: "posts/page.html"
tags: [Python, Environment, Pipenv, Autoenv]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/review/2021-ending.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "2021 Ending"
date: "2021-12-29T14:08:01+08:00"
date: 2021-12-29T14:08:01+08:00
draft: false
latex: false
template: "posts/page.html"
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/review/2022-ending.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "2022 Ending"
date: "2023-01-03T09:52:29+08:00"
date: 2023-01-03T09:52:29+08:00
draft: false
latex: false
template: "posts/page.html"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 用 Semgrep 改进你的代码审查流程
date: "2022-12-13T20:55:03+08:00"
date: 2022-12-13T20:55:03+08:00
description: "用于自动执行代码分析和实施安全最佳实践的工具,帮助开发人员更快地编写更好的代码。"
draft: false
cover: https://img.eindex.me/img/0ec861d94c82a9e7fe57880e0f25a2dd.png
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/thoughtworks-one-month.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Thoughtworks 一月"
date: "2017-10-05T14:34:54+08:00"
date: 2017-10-05T14:34:54+08:00
draft: false
template: "posts/page.html"
tags: [Thoughtworks]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/tornado-auto-etag.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Tornado Auto Etag 机制"
date: "2019-04-24T14:20:03+08:00"
date: 2019-04-24T14:20:03+08:00
draft: false
template: "posts/page.html"
tags: ["Python", "Cache", "ETag"]
Expand Down
2 changes: 1 addition & 1 deletion src/content/posts/zh/way-to-financial-independence.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 我的财务自由之路
date: "2022-08-25"
date: 2022-08-25
tags:
- financial-independence
- financial-management
Expand Down
4 changes: 2 additions & 2 deletions src/content/posts/zh/webmentions.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "加入 Webmentions 社区: 新手指导"
date: "2022-11-06T17:44:50+08:00"
updated: "2022-12-05T23:48:50+08:00"
date: 2022-11-06T17:44:50+08:00
updated: 2022-12-05T23:48:50+08:00
description: "了解如何加入 Webmentions 社区,提高你的博客与其他网站及其用户的互动性和参与度。"
tags:
[
Expand Down
6 changes: 3 additions & 3 deletions src/content/thoughts/en/140.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
date: "2023-03-20T13:58:55.000Z"
updated: "2023-03-20T13:58:55.000Z"
tags: ["Astro","NextJS"]
date: 2023-03-20T13:58:55.000Z
updated: 2023-03-20T13:58:55.000Z
tags: ["Astro", "NextJS"]
draft: false
---

Expand Down
4 changes: 2 additions & 2 deletions src/content/thoughts/en/143.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: "2023-03-22T08:44:47.000Z"
updated: "2023-03-22T08:44:57.000Z"
date: 2023-03-22T08:44:47.000Z
updated: 2023-03-22T08:44:57.000Z
tags: []
draft: false
---
Expand Down
4 changes: 2 additions & 2 deletions src/content/thoughts/en/149.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: "2023-03-23T08:43:25.000Z"
updated: "2023-03-23T08:49:13.000Z"
date: 2023-03-23T08:43:25.000Z
updated: 2023-03-23T08:49:13.000Z
tags: []
draft: false
---
Expand Down
6 changes: 3 additions & 3 deletions src/content/thoughts/en/180.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
date: "2023-04-13T06:32:48.000Z"
updated: "2023-04-13T06:32:48.000Z"
date: 2023-04-13T06:32:48.000Z
updated: 2023-04-13T06:32:48.000Z
tags: []
draft: false
---

[(reply)In Praise of Top Down Programming](https://www.i-programmer.info/professional-programmer/i-programmer/3864-in-praise-of-top-down-.html)
I like top down too, always using this method to problem solving and programming, that can easy start from 0 to 1, but it may leading to problem which not have any solution yet, but already put effort on above level, that will making a issue.

So my suctions are flow the top down design, found the MVP scope, spike all leafs, start with most hard to archive one.
So my suctions are flow the top down design, found the MVP scope, spike all leafs, start with most hard to archive one.
That way can making me avoid wast time.
4 changes: 2 additions & 2 deletions src/content/thoughts/en/203.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: "2023-05-18T08:19:43.000Z"
updated: "2023-06-08T04:17:12.000Z"
date: 2023-05-18T08:19:43.000Z
updated: 2023-06-08T04:17:12.000Z
tags: []
draft: false
---
Expand Down
6 changes: 3 additions & 3 deletions src/content/thoughts/en/214.mdx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
date: "2023-06-08T03:33:44.000Z"
updated: "2023-06-08T04:50:04.000Z"
date: 2023-06-08T03:33:44.000Z
updated: 2023-06-08T04:50:04.000Z
tags: ["SecurityTips"]
draft: false
---

Today was adding security.txt to my blog system.
Security.txt belongs to [RFC 9116: A File Format to Aid in Security Vulnerability Disclosure](https://www.rfc-editor.org/rfc/rfc9116.html#name-introduction)
Which is welcome write hacker to connect when security vulnerability happens.
Which is welcome write hacker to connect when security vulnerability happens.

The simple commit, [here](https://github.com/EINDEX/Blog/commit/5a328136a00322aeeebcc3021b8ce4d6fb247919). generate by [Security.txt](https://securitytxt.org/), I'm not sign the it yet, cause I plan to renew my gpg key to domain email.

Expand Down
4 changes: 2 additions & 2 deletions src/content/thoughts/en/27.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: "2022-12-05T13:05:25.000Z"
updated: "2022-12-05T13:05:25.000Z"
date: 2022-12-05T13:05:25.000Z
updated: 2022-12-05T13:05:25.000Z
tags: ["memos"]
draft: false
---
Expand Down
6 changes: 3 additions & 3 deletions src/content/thoughts/en/30.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
date: "2022-12-14T04:22:55.000Z"
updated: "2022-12-14T04:22:55.000Z"
date: 2022-12-14T04:22:55.000Z
updated: 2022-12-14T04:22:55.000Z
tags: []
draft: false
---

This tool can help you do the Diagram as code for cloud system architectures.[mingrammer/diagrams](https://github.com/mingrammer/diagrams)
This tool can help you do the Diagram as code for cloud system architectures.[mingrammer/diagrams](https://github.com/mingrammer/diagrams)
4 changes: 2 additions & 2 deletions src/content/thoughts/en/31.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: "2022-12-19T06:14:50.000Z"
updated: "2022-12-19T06:14:50.000Z"
date: 2022-12-19T06:14:50.000Z
updated: 2022-12-19T06:14:50.000Z
tags: ["flyio", "meilisearch", "Umami"]
draft: false
---
Expand Down
4 changes: 2 additions & 2 deletions src/content/thoughts/zh/139.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date: "2023-03-20T13:58:49.000Z"
updated: "2023-03-20T13:59:12.000Z"
date: 2023-03-20T13:58:49.000Z
updated: 2023-03-20T13:59:12.000Z
tags: ["Astro", "Memos", "MDX", "NextJS"]
draft: false
---
Expand Down
Loading

0 comments on commit e8424a5

Please sign in to comment.