mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 11:39:30 +08:00
update url
This commit is contained in:
parent
14eca348d5
commit
55648926cc
13 changed files with 29 additions and 16 deletions
|
@ -25,7 +25,7 @@ node_bundler = "esbuild"
|
||||||
[[headers]]
|
[[headers]]
|
||||||
for = "/*"
|
for = "/*"
|
||||||
[headers.values]
|
[headers.values]
|
||||||
Access-Control-Allow-Origin = "seviche.cc"
|
Access-Control-Allow-Origin = "sevic.me"
|
||||||
X-Frame-Options = "SAMEORIGIN"
|
X-Frame-Options = "SAMEORIGIN"
|
||||||
X-Content-Type-Options = "nosniff"
|
X-Content-Type-Options = "nosniff"
|
||||||
X-XSS-Protection = "1; mode=block"
|
X-XSS-Protection = "1; mode=block"
|
||||||
|
|
|
@ -110,6 +110,6 @@ export const friends: Friend[] = [
|
||||||
title: "LitoMore's Mind",
|
title: "LitoMore's Mind",
|
||||||
name: 'LitoMore',
|
name: 'LitoMore',
|
||||||
link: 'https://litomore.me',
|
link: 'https://litomore.me',
|
||||||
avatar: 'https://avatars.githubusercontent.com/u/8186898?v=4'
|
avatar: 'https://litomore.me/favicon.svg'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -8,7 +8,7 @@ export const post: PostConfig = {
|
||||||
use: ['Remark42','Webmention', 'Giscus'],
|
use: ['Remark42','Webmention', 'Giscus'],
|
||||||
style: 'boxed',
|
style: 'boxed',
|
||||||
webmention: {
|
webmention: {
|
||||||
username: 'seviche.cc',
|
username: 'sevic.me',
|
||||||
sortBy: 'created',
|
sortBy: 'created',
|
||||||
sortDir: 'down',
|
sortDir: 'down',
|
||||||
form: true,
|
form: true,
|
||||||
|
|
|
@ -2,16 +2,16 @@ import type { SiteConfig } from '$lib/types/site'
|
||||||
|
|
||||||
export const site: SiteConfig = {
|
export const site: SiteConfig = {
|
||||||
protocol: import.meta.env.URARA_SITE_PROTOCOL ?? import.meta.env.DEV ? 'http://' : 'https://',
|
protocol: import.meta.env.URARA_SITE_PROTOCOL ?? import.meta.env.DEV ? 'http://' : 'https://',
|
||||||
domain: 'seviche.cc',
|
domain: 'sevic.me',
|
||||||
title: 'Seviche.cc',
|
title: 'sevic.me',
|
||||||
subtitle: 'Random Frontend-Developer',
|
subtitle: 'Random Frontend-Developer',
|
||||||
lang: 'zh',
|
lang: 'zh',
|
||||||
description: 'Random Frontend-Developer',
|
description: 'Random Frontend-Developer',
|
||||||
author: {
|
author: {
|
||||||
name: 'Seviche CC',
|
name: 'Sevi.C',
|
||||||
avatar: '/assets/avatar.png',
|
avatar: '/assets/avatar.png',
|
||||||
status: '🖤',
|
status: '🖤',
|
||||||
bio: 'Random Frontend-Developer',
|
bio: 'Full-stack wizard.',
|
||||||
metadata: [
|
metadata: [
|
||||||
{
|
{
|
||||||
icon: 'i-mdi-github',
|
icon: 'i-mdi-github',
|
||||||
|
|
|
@ -12,7 +12,7 @@ lastmod: 2022-04-16T12:54:20.049Z
|
||||||
|
|
||||||
## 书签这回事
|
## 书签这回事
|
||||||
|
|
||||||
上回说到用 [自建网页书签 Flare](https://seviche.cc/blog/flare/) ,今天不小心把 SSH 链接弄坏了(也就是连不上了),因为搭载的服务不多,所以把整个服务器都重装了,Flare 网页书签也炸了。
|
上回说到用 [自建网页书签 Flare](https://sevic.me/blog/flare/) ,今天不小心把 SSH 链接弄坏了(也就是连不上了),因为搭载的服务不多,所以把整个服务器都重装了,Flare 网页书签也炸了。
|
||||||
|
|
||||||
其实搭建之后我没有用过(一次都没有),平时的书签管理主要靠搜索,各个浏览器之间的书签互相导入后,直接在搜索栏搜,如果是常用的网址,我用 Chorme 扩展 [eesel](https://chrome.google.com/webstore/detail/eesel-productivity-at-wor/jffaiidojfhflballoapgofphkadiono) 来解决,它可以列出最近用过的网页,按站点分类,查找起来很方便
|
其实搭建之后我没有用过(一次都没有),平时的书签管理主要靠搜索,各个浏览器之间的书签互相导入后,直接在搜索栏搜,如果是常用的网址,我用 Chorme 扩展 [eesel](https://chrome.google.com/webstore/detail/eesel-productivity-at-wor/jffaiidojfhflballoapgofphkadiono) 来解决,它可以列出最近用过的网页,按站点分类,查找起来很方便
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ export const projects: Project[] = [
|
||||||
description:
|
description:
|
||||||
'既然如何, 问题的关键究竟为何? 要想清楚,科学和人文谁更有意义,到底是一种怎么样的存在。 普列姆昌德曾经提到过,希望的灯一旦熄灭,生活刹那间变成了一片黑暗。这启发了我, 那么, 我认为, 总结的来说,',
|
'既然如何, 问题的关键究竟为何? 要想清楚,科学和人文谁更有意义,到底是一种怎么样的存在。 普列姆昌德曾经提到过,希望的灯一旦熄灭,生活刹那间变成了一片黑暗。这启发了我, 那么, 我认为, 总结的来说,',
|
||||||
img: 'https://uneorange.oss-cn-guangzhou.aliyuncs.com/202205251801454.avif',
|
img: 'https://uneorange.oss-cn-guangzhou.aliyuncs.com/202205251801454.avif',
|
||||||
link: 'https://seviche.cc'
|
link: 'https://sevic.me'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
|
@ -12,8 +12,8 @@ summary: 好像每个博客都有这么一篇博文呢
|
||||||
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| 操作系统 | macOS Ventura |
|
| 操作系统 | macOS Ventura |
|
||||||
| 浏览器 | [brave](https://brave.com/zh/), [Arc](https://arc.net/gift/588ed12e), [Firefox Developer Edition](https://www.mozilla.org/en-US/firefox/developer/) |
|
| 浏览器 | [brave](https://brave.com/zh/), [Arc](https://arc.net/gift/588ed12e), [Firefox Developer Edition](https://www.mozilla.org/en-US/firefox/developer/) |
|
||||||
| RSS | [Miniflux](https://miniflux.app/)(see also: [Miniflux · 保存文章到 Pocket 以及 RSS](https://seviche.cc/2022-03-11-miniflux-to-pocket/) ), [Readwise Reader](https://read.readwise.io/) |
|
| RSS | [Miniflux](https://miniflux.app/)(see also: [Miniflux · 保存文章到 Pocket 以及 RSS](https://sevic.me/2022-03-11-miniflux-to-pocket/) ), [Readwise Reader](https://read.readwise.io/) |
|
||||||
| 书签/稍后读 | Readwise Reader, [Cubox](https://cubox.pro/), [Linkding](https://github.com/sissbruecker/linkding), [Airtable](https://airtable.com)( see also: [Airtable · 网页剪藏](https://seviche.cc/2022-03-06-airtable/) , 浏览器自带 |
|
| 书签/稍后读 | Readwise Reader, [Cubox](https://cubox.pro/), [Linkding](https://github.com/sissbruecker/linkding), [Airtable](https://airtable.com)( see also: [Airtable · 网页剪藏](https://sevic.me/2022-03-06-airtable/) , 浏览器自带 |
|
||||||
| 笔记 | [Logseq](https://logseq.com/), [Obsidian](https://obsidian.md/), [Notion](https://www.notion.so/), [Craft](https://www.craft.do/)[^1], [Tot](https://tot.rocks/)[^2], [Airtable ](https://airtable.com)[^3], 备忘录 |
|
| 笔记 | [Logseq](https://logseq.com/), [Obsidian](https://obsidian.md/), [Notion](https://www.notion.so/), [Craft](https://www.craft.do/)[^1], [Tot](https://tot.rocks/)[^2], [Airtable ](https://airtable.com)[^3], 备忘录 |
|
||||||
| 阅读 | Zotero, Readwise Reader, Obsidian |
|
| 阅读 | Zotero, Readwise Reader, Obsidian |
|
||||||
| 社交 | [Pleroma](https://pleroma.social/), [Mastodon](https://mastodon.online/) |
|
| 社交 | [Pleroma](https://pleroma.social/), [Mastodon](https://mastodon.online/) |
|
||||||
|
|
|
@ -11,7 +11,7 @@ tags:
|
||||||
前前后后花了大概五天的时间,一天看2~3个小时不等,终于把这个 [Interactive 3D Graphics - CS291](https://www.udacity.com/course/interactive-3d-graphics--cs291)的课看完了。因为线上练习不太方便,所以基本上没有做 coding 练习,只是做了简单的 quiz。
|
前前后后花了大概五天的时间,一天看2~3个小时不等,终于把这个 [Interactive 3D Graphics - CS291](https://www.udacity.com/course/interactive-3d-graphics--cs291)的课看完了。因为线上练习不太方便,所以基本上没有做 coding 练习,只是做了简单的 quiz。
|
||||||
|
|
||||||
## 课程笔记
|
## 课程笔记
|
||||||
[CS291](https://x.seviche.cc/#/page/cs291)
|
[CS291](https://x.sevic.me/#/page/cs291)
|
||||||
|
|
||||||
不太全面的随堂笔记,基本上如果是我觉得已经完全理解的、不重要的就不会记录。
|
不太全面的随堂笔记,基本上如果是我觉得已经完全理解的、不重要的就不会记录。
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ summary: 配置 Cloudflare R2、Media Proxy、Varnish Cache、Media Cache 的简
|
||||||
>
|
>
|
||||||
> 跨源资源共享 (CORS) 是一种机制,允许从提供第一个资源的域之外的另一个域请求网页上的受限资源(例如字体)。网页可以自由嵌入跨源图像、样式表、脚本、iframe 和视频。某些“跨域”请求,特别是 Ajax 请求,默认情况下被同源安全策略禁止。[^1]
|
> 跨源资源共享 (CORS) 是一种机制,允许从提供第一个资源的域之外的另一个域请求网页上的受限资源(例如字体)。网页可以自由嵌入跨源图像、样式表、脚本、iframe 和视频。某些“跨域”请求,特别是 Ajax 请求,默认情况下被同源安全策略禁止。[^1]
|
||||||
|
|
||||||
当我们使用主域名(比如`seviche.cc`来访问子域名`m.seviche.cc` 上面的内容时,就会产生跨域问题,可以通过 CORS 来解决这个问题,在这里可以很方便地设置,滑动到下方 **CORS Policy** 的部分,点击右边按钮 `Add CROS policy` 添加:
|
当我们使用主域名(比如`sevic.me`来访问子域名`m.sevic.me` 上面的内容时,就会产生跨域问题,可以通过 CORS 来解决这个问题,在这里可以很方便地设置,滑动到下方 **CORS Policy** 的部分,点击右边按钮 `Add CROS policy` 添加:
|
||||||

|

|
||||||
设置里默认添加了一个`http://localhost:3000`的 URL,可以删掉,然后在`AllowedOrigins` 下面添加 Akkoma 的链接,比如`https://example.com`,以及在`AllowedMethods` 里加上 `POST`、`PUT`、`DELETE`, 如果下方没有任何报错就可以点右下角的 `Save` 保存,这部分就配置好了,但先不要关闭 Cloudflare 的页面。
|
设置里默认添加了一个`http://localhost:3000`的 URL,可以删掉,然后在`AllowedOrigins` 下面添加 Akkoma 的链接,比如`https://example.com`,以及在`AllowedMethods` 里加上 `POST`、`PUT`、`DELETE`, 如果下方没有任何报错就可以点右下角的 `Save` 保存,这部分就配置好了,但先不要关闭 Cloudflare 的页面。
|
||||||

|

|
||||||
|
|
|
@ -122,4 +122,4 @@ git cancel
|
||||||
- [github skills](https://skills.github.com/)
|
- [github skills](https://skills.github.com/)
|
||||||
- [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
|
- [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
|
||||||
|
|
||||||
借此机会,我对之前的文章:[Git · 常用操作笔记](https://seviche.cc/2022-05-25-git/) 中的命令表格进行了更新。
|
借此机会,我对之前的文章:[Git · 常用操作笔记](https://sevic.me/2022-05-25-git/) 中的命令表格进行了更新。
|
13
urara/2024-12-25/+page.md
Normal file
13
urara/2024-12-25/+page.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: 我认为的职业素养
|
||||||
|
created: 2024-12-25
|
||||||
|
summary: Set a line for myself
|
||||||
|
---
|
||||||
|
|
||||||
|
- 不泄露客户的隐私
|
||||||
|
- 不给用户取外号
|
||||||
|
- 不在背地取笑用户的无知
|
||||||
|
- 未经允许,不查看用户的数据
|
||||||
|
- 不在办公场合发表性别歧视言论,虽然我觉得哪里都不应该发布这样的言论
|
||||||
|
- bi
|
||||||
|
这么简单的时期,很多人却做不到。
|
|
@ -125,7 +125,7 @@ docker-compose up -d
|
||||||
|
|
||||||
### 6.SSL 证书和其他书签
|
### 6.SSL 证书和其他书签
|
||||||
|
|
||||||
安装证书,详情参考这篇:[用 docker 安装 Halo 博客并用 Nginx 反代](https://halo.seviche.cc/archives/halo-in-docker)
|
安装证书,详情参考这篇:[用 docker 安装 Halo 博客并用 Nginx 反代](https://halo.sevic.me/archives/halo-in-docker)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
certbot --nginx -d example.com -d www.example.com
|
certbot --nginx -d example.com -d www.example.com
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"headers": [
|
"headers": [
|
||||||
{
|
{
|
||||||
"key": "Access-Control-Allow-Origin",
|
"key": "Access-Control-Allow-Origin",
|
||||||
"value": "https://seviche.cc"
|
"value": "https://sevic.me"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "X-Frame-Options",
|
"key": "X-Frame-Options",
|
||||||
|
|
Loading…
Reference in a new issue