Skip to content

Commit

Permalink
feat(blog): refine posts
Browse files Browse the repository at this point in the history
Signed-off-by: Alomerry Wu <[email protected]>
  • Loading branch information
alomerry committed Dec 26, 2023
1 parent ef3db2f commit 5b9ca5c
Show file tree
Hide file tree
Showing 13 changed files with 99 additions and 77 deletions.
21 changes: 0 additions & 21 deletions blog/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion blog/pages/chat-zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: 和 Alomerry Wu 聊聊天!
display: 聊聊天!
image: https://antfu.me/og-chat.png
---

[English](/chat)
Expand Down
5 changes: 2 additions & 3 deletions blog/pages/index.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
---
title: Alomerry Wu
description: TODO
image: https://antfu.me/og.png
plum: true
---

[中文](./index_zh.md)

Hey, I am Alomerry Wu, a backend developer.

Working at [Temu](https://www.temu.com/).<br>
Creator of [Vitest](https://github.com/vitest-dev/vitest), [Slidev](https://github.com/slidevjs/slidev), [VueUse](https://github.com/vueuse/vueuse), [UnoCSS](https://github.com/antfu/unocss), [Elk](https://github.com/elk-zone/elk), [Type Challenges](https://github.com/type-challenges/type-challenges) and [others](/projects).<br>
Core team member of [Vue](https://vuejs.org/), [Nuxt](http://nuxtjs.org/) and [Vite](http://vitejs.dev/).<br>

Dreaming up ideas and making them come true is where my passion lies. You can find my [full projects list here](/projects). I also do some generative-art, compform, interactivity experiments on [100.antfu.me](https://100.antfu.me/).

Outside of programming, I enjoy doing photography and traveling. Some of my photos can be found on [Instagram](https://www.instagram.com/antfu7). If you happen to be in the same city I live (currently in Paris), maybe we can hang out and take some photos or code together.

<div flex-auto />
Expand Down
27 changes: 27 additions & 0 deletions blog/pages/index_zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: 清欢
description: TODO
plum: true
---

Hey, I am Alomerry Wu, a backend developer.

Working at [Temu](https://www.temu.com/).<br>
Creator of [Vitest](https://github.com/vitest-dev/vitest), [Slidev](https://github.com/slidevjs/slidev), [VueUse](https://github.com/vueuse/vueuse), [UnoCSS](https://github.com/antfu/unocss), [Elk](https://github.com/elk-zone/elk), [Type Challenges](https://github.com/type-challenges/type-challenges) and [others](/projects).<br>
Core team member of [Vue](https://vuejs.org/), [Nuxt](http://nuxtjs.org/) and [Vite](http://vitejs.dev/).<br>

Outside of programming, I enjoy doing photography and traveling. Some of my photos can be found on [Instagram](https://www.instagram.com/antfu7). If you happen to be in the same city I live (currently in Paris), maybe we can hang out and take some photos or code together.

<div flex-auto />

---

Find me on

<p flex="~ gap-3 wrap" class="mt--2!">
<a href="https://github.com/alomerry" target="_blank"><span op75 i-simple-icons-github /> GitHub</a>
<a href="https://space.bilibili.com/1" target="_blank"><span op75 i-simple-icons-bilibili /> 哔哩哔哩</a>
<a href="https://www.zhihu.com/people/1" target="_blank"><span op75 i-simple-icons-zhihu /> 知乎</a>
</p>

If you enjoy my works, consider sponsoring me on [<span i-carbon-favorite /> GitHub Sponsor](https://github.com/sponsors/alomerry) or [<span i-carbon-lightning /> 爱发电](https://afdian.net/a/21xxx3) to keep them sustainable.
13 changes: 10 additions & 3 deletions blog/pages/pinned/about/site.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ cards:
[Alomerry Wu](https://github.com/alomerry)


## 2023.11 切换 antfu.me

## vuepress-themo-hope

import code

[`download-import`](download-import.js) 会在构建时将 `@[code](@_codes/${repo}/${file})` 转换成 `https://gitee.com/alomerry/${repo}/raw/${branch}/${file}` 后下载到 `src/_codes` 下对应的位置,并将 `@_codes` 修改成相对位置

## 2020-至今 使用 vuepress@next

https://waline.js.org/reference/server/env.html#%E6%98%BE%E7%A4%BA

::: tip 2023.04 更新
Expand All @@ -54,9 +64,6 @@ guniar 维护不够及时,vuepress next 更新比较频繁,无法使用新

:::


## 2020-至今 使用 vuepress@next

### gunir

#### 静态文件 Push 前上传到 OSS 中
Expand Down
File renamed without changes.
File renamed without changes.
45 changes: 45 additions & 0 deletions blog/pages/posts/2023~[cloud-native]-tekton&argocd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
date: 2023-12-22T16:00:00.000+00:00
title: Tekton Pipeline
lang: zh
duration: 10min
tocAlwaysOn: true
---

- 安装 k8s
- 安装 tekton-pipeline、tekton-dashboard
- 配置 ingress 暴露 tekton

### Tasks

- [git-clone](https://hub.tekton.dev/tekton/task/rsync)
- [rsync](https://hub.tekton.dev/tekton/task/rsync)
- build-mix


- https://juejin.cn/post/7142758521988186143


### argocd

- https://devops-blog.virtualtech.jp/entry/20220509/1652081784
- https://www.cnblogs.com/xunweidezui/p/17180195.html
- https://kubeoperator.io/docs/user_manual/argocd/#argo-cd_2

- https://www.zhang21.cn/argo-cd/
- https://www.lixueduan.com/posts/page/10/
- https://icloudnative.io/posts/getting-started-with-argocd/#argo-cd-%E6%A0%B8%E5%BF%83%E6%A6%82%E5%BF%B5
- https://www.infvie.com/ops-notes/tekton-argocd-gitops.html
- https://ccops.cc/DevOps/ArgoCD/
- https://docs.youdianzhishi.com/k8s/devops/gitops/argocd/#%E5%88%9B%E5%BB%BA%E5%BA%94%E7%94%A8
- https://cit965.netlify.app/docs/argocd/argo%E4%BB%8B%E7%BB%8D/
- https://cvvz.fun/post/k8s-network-service/

- https://www.jokerbai.com/archives/shi-yong-argocd-jin-xing-chi-xu-bu-shu
- https://dev.to/nulldutra/disabling-tls-in-argocd-server-4jij
- https://juejin.cn/post/7175549621396045881

### frps

- https://blog.lautumn.cn/linux/2022/02/16/proxy-frp
- https://zhuanlan.zhihu.com/p/371234742
Empty file.
5 changes: 5 additions & 0 deletions blog/pages/posts/todo~mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,8 @@ no-port-forwarding,no-agent-forwarding,no-X11-forwarding,command="echo 'Please l
brew install dust https://github.com/bootandy/dust

brew install duf https://github.com/muesli/duf

## macos14 清除 dns

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

1 change: 0 additions & 1 deletion blog/scripts/og-template.svg

This file was deleted.

20 changes: 10 additions & 10 deletions blog/scripts/rss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import MarkdownIt from 'markdown-it'
import type { FeedOptions, Item } from 'feed'
import { Feed } from 'feed'

const DOMAIN = 'https://antfu.me'
const DOMAIN = 'https://blog.alomerry.com'
const AUTHOR = {
name: 'Alomerry Wu',
email: '[email protected]',
email: '[email protected]',
link: DOMAIN,
}
const markdown = MarkdownIt({
Expand All @@ -28,13 +28,13 @@ async function buildBlogRSS() {
const options = {
title: 'Alomerry Wu',
description: 'Alomerry Wu\' Blog',
id: 'https://antfu.me/',
link: 'https://antfu.me/',
copyright: '2018 © Alomerry Wu',
id: 'https://blog.alomerry.com/',
link: 'https://blog.alomerry.com/',
copyright: '2019 © Alomerry Wu',
feedLinks: {
json: 'https://antfu.me/feed.json',
atom: 'https://antfu.me/feed.atom',
rss: 'https://antfu.me/feed.xml',
json: 'https://blog.alomerry.com/feed.json',
atom: 'https://blog.alomerry.com/feed.atom',
rss: 'https://blog.alomerry.com/feed.xml',
},
}
const posts: any[] = (
Expand Down Expand Up @@ -71,8 +71,8 @@ async function buildBlogRSS() {

async function writeFeed(name: string, options: FeedOptions, items: Item[]) {
options.author = AUTHOR
options.image = 'https://antfu.me/avatar.png'
options.favicon = 'https://antfu.me/logo.png'
options.image = 'https://blog.alomerry.com/avatar.png'
options.favicon = 'https://blog.alomerry.com/logo.png'

const feed = new Feed(options)

Expand Down
38 changes: 0 additions & 38 deletions blog/scripts/stars-rank.ts

This file was deleted.

0 comments on commit 5b9ca5c

Please sign in to comment.