Skip to content

Commit

Permalink
modify to my blog
Browse files Browse the repository at this point in the history
  • Loading branch information
TosakaUCW committed Aug 12, 2020
1 parent c911906 commit 4301657
Show file tree
Hide file tree
Showing 255 changed files with 1,771 additions and 25,077 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/baidu-push.yml
Expand Up @@ -39,6 +39,6 @@ jobs:
with open('public/sitemap.xml', 'r') as sitemap:
pattern = re.compile(r'(?<=<loc>).+?(?=</loc>)')
result = pattern.findall(sitemap.read())
req = requests.post('http://data.zz.baidu.com/urls?site=https://ouuan.github.io&token=${{ secrets.BAIDU_PUSH_TOKEN }}', '\n'.join(result))
req = requests.post('http://data.zz.baidu.com/urls?site=https://TosakaUCW.github.io&token=${{ secrets.BAIDU_PUSH_TOKEN }}', '\n'.join(result))
print(req.text)
END
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
external_repository: ouuan/ouuan.github.io
external_repository: TosakaUCW/TosakaUCW.github.io
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./public
publish_branch: master
Expand Down
18 changes: 18 additions & 0 deletions .travis.yml
@@ -0,0 +1,18 @@
sudo: false
language: go
git:
depth: 1
install: go get -v github.com/gohugoio/hugo
script: hugo
deploy:
provider: pages
skip_cleanup: true
github_token: $token
on:
branch: master
local_dir: public
repo: TosakaUCW/TosakaUCW.github.io
# fqdn: <custom-domain-if-needed>
target_branch: master
email: tosakaucw0@gmail.com
name: TosakaUCW
12 changes: 0 additions & 12 deletions README.md

This file was deleted.

23 changes: 11 additions & 12 deletions config.toml
@@ -1,8 +1,8 @@
newContentEditor = "code"
baseURL = "https://ouuan.github.io"
baseURL = "https://TosakaUCW.github.io"
languageCode = "en"
defaultContentLanguage = "zh-cn" # en / zh-cn / ... (This field determines which i18n file to use)
title = "ouuan的博客"
title = "TosakaUCW的博客"
preserveTaxonomyNames = true
enableRobotsTXT = true
enableEmoji = true
Expand All @@ -21,7 +21,7 @@ googleAnalytics = "UA-157787819-1" # UA-XXXXXXXX-X
copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓

[author] # essential # 必需
name = "ouuan"
name = "TosakaUCW"

[sitemap] # essential # 必需
changefreq = "weekly"
Expand Down Expand Up @@ -71,12 +71,12 @@ copyright = "" # default: author.name ↓ # 默认为下面配
since = "2018" # Site creation time # 站点建立时间
# use public git repo url to link lastmod git commit, enableGitInfo should be true.
# 指定 git 仓库地址,可以生成指向最近更新的 git commit 的链接,需要将 enableGitInfo 设置成 true.
gitRepo = "https://github.com/ouuan/hugo-blog"
gitRepo = "https://github.com/TosakaUCW/hugo-blog"

# site info (optional) # 站点信息(可选,不需要的可以直接注释掉)
# logoTitle = "Even" # default: the title value # 默认值: 上面设置的title值
keywords = ["ouuan", "blog", "OI"]
description = "ouuan的博客"
keywords = ["TosakaUCW", "blog", "OI"]
description = "TosakaUCW的博客"

# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值
archivePaginate = 25
Expand All @@ -88,7 +88,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
dateFormatToUse = "2006-01-02"

# show word count and read time ? # 是否显示字数统计与阅读时间
moreMeta = false
moreMeta = true

# Syntax highlighting by highlight.js
highlightInClient = true
Expand Down Expand Up @@ -152,7 +152,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
clientSecret = "" # Your client secret

[params.utterances] # https://utteranc.es/
owner = "ouuan" # Your GitHub ID
owner = "TosakaUCW" # Your GitHub ID
repo = "blog-comments" # The repo to store comments

[params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
Expand All @@ -170,7 +170,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
appKey = '你的appKey'
notify = false # mail notifier , https://github.com/xCss/Valine/wiki
verify = false # Verification code
avatar = 'mm'
avatar = 'mm'
placeholder = '说点什么吧...'
visitor = false

Expand All @@ -194,9 +194,8 @@ copyright = "" # default: author.name ↓ # 默认为下面配
alipay = "/path/to/your/alipay-qr-code.png" # 支付宝二维码

[params.social] # 社交链接
a-email = "mailto:ouuansteve@gmail.com"
b-github = "https://github.com/ouuan"
c-bilibili = "https://space.bilibili.com/11067182"
a-email = "mailto:tosakaucw0@gmail.com"
b-github = "https://github.com/TosakaUCW"

# See https://gohugo.io/about/hugo-and-gdpr/
[privacy]
Expand Down
82 changes: 5 additions & 77 deletions content/about/index.md
Expand Up @@ -7,17 +7,15 @@ date = 2018-12-05T13:40:21+08:00

OJ 账号:

- [CF](https://codeforces.com/profile/ouuan)
- [洛谷](https://www.luogu.com.cn/user/49742)
- [UOJ](https://uoj.ac/user/profile/ouuan)
- [LOJ](https://loj.ac/user/9706)
- [CF](https://codeforces.com/profile/TosakaUCW)
- [洛谷](https://www.luogu.com.cn/user/87319)

---

Contribution(s):

[![GitHub contributions](https://img.shields.io/badge/dynamic/json?url=https://github-contributions.now.sh/api/v1/ouuan&label=github&query=$.years.0.total&color=success&suffix=@this%20year)](https://github.com/ouuan)
[![CF contribution](https://img.shields.io/badge/dynamic/json?url=https://codeforces.com/api/user.info?handles=ouuan&label=codeforces&query=$.result.0.contribution&color=success)](https://codeforces.com/profile/ouuan)
[![GitHub contributions](https://img.shields.io/badge/dynamic/json?url=https://github-contributions.now.sh/api/v1/TosakaUCW&label=github&query=$.years.0.total&color=success&suffix=@this%20year)](https://github.com/TosakaUCW)
[![CF contribution](https://img.shields.io/badge/dynamic/json?url=https://codeforces.com/api/user.info?handles=TosakaUCW&label=codeforces&query=$.result.0.contribution&color=success)](https://codeforces.com/profile/TosakaUCW)

---

Expand All @@ -29,7 +27,7 @@ Contribution(s):

Q: 博客里的 XX 功能是怎么做到的啊?

A: 本博客所有代码 [开源](https://github.com/ouuan/hugo-blog),请先自己找,还可以参考 [从 Hexo 到 Hugo](/post/from-hexo-to-hugo/#process),找不到可以在评论区问。
A: 本博客源码来自于 ouuan [博客地址](https://ouuan.github.io/),所有代码 [开源](https://github.com/ouuan/hugo-blog),请先自己找,还可以参考 [从 Hexo 到 Hugo](/post/from-hexo-to-hugo/#process),找不到可以在评论区问。

Q: 为什么大部分题解里的题意简述数据范围不全,甚至不太看得懂?

Expand All @@ -38,73 +36,3 @@ A: 因为这是题解不是题面,题意简述的目的是让人尽快知道
Q: 为什么我没看见评论区?

A: utterance 的加载是一件玄学的事情,有时加载速度会非常慢。如果实在加载不出来,可以直接在 [issues](https://github.com/ouuan/blog-comments/issues) 里留言。如果新开 issue 需要注意一下 issue 标题的格式(可以在博客页面 F12 然后 Ctrl + F 搜索 `</title>`,在 `<title>``</title>` 之间就是标题)(在 chrome 中还可以收藏博客,把默认的标题复制下来)。

---

GPG key: `863A0F9FA8127FA4`

---

头像不是我自己画的。

---

现在 [百度 ouuan](https://www.baidu.com/s?wd=ouuan) 不需要加引号更不需要 `-(欧元)` 了!

---

模拟赛结束后必须改题,没有可以推迟学的知识点,没有长的代码,要学会向他人请教,实在看不懂题解对着标程也要敲一遍,只要不复制就行。

---

我不想和他人争抢保送的名额,但我现阶段的梦想,是提高国家集训队第 50 名的水平。

---

ouuan,HB 现役 OIer。最喜欢的番剧/漫画是 [3月のライオン](https://www.bilibili.com/bangumi/media/md5523/),同时还是 [μ's](https://zh.moegirl.org/zh-hans/LoveLive!)er,[CL](https://www.bilibili.com/bangumi/media/md1177/)er,[海子姐](https://space.bilibili.com/434334701)单推,偶尔[做做视频](https://space.bilibili.com/11067182),沉迷 [contribute](https://github.com/ouuan),经常思考社会问题,却看不清自己的未来。

初三:

NOIP2017 普及组一等 $230$(HB $rank$ $4$)

NOIP2017 提高组二等 $160$(HB $rank$ $43$)

HBSX2018 非正式选手 $180$(HB $rank$ $4$)

高一:

NOIP2018 提高组一等 $489$(CN $rank$ $329$)

THUWC2019 没约 invisible(CN 垫底)

WC2019 <font color="silver">Ag</font> $99$(CN $rank$ $119$)

HBSX2019 被爆踩 $247$(HB $rank$ $4$)

CTS2019 <font color = "silver">Ag</font> $156$(CN $rank$ $126$)

APIO2019 <font color = "#B87333">Cu</font> $113$(CN $rank$ $256$)

THUSC2019 三等 invisible(CN $rank$ $?$)

Codeforces Round #564 出题人之一 & 主要组织者

2019.6.13 CF Contribution 134(CN $rank$ $1$)

NOI2019 <font color = "#B87333">Cu</font> $376$(CN $rank$ $178$)

高二:

CSP-S2019 一等 $433$ (CN $rank$ $238$)

THUWC2019-2 一等 invisible (一等里垫底)

NOI Online Round 1 $180$ (垫底)

NOI Online Round 2 $300$

NOI Online Round 3 $200$ (垫底)

HBSX2020 $295$ (HB $rank$ $7$)

つづく
18 changes: 7 additions & 11 deletions content/links/index.md
@@ -1,21 +1,17 @@
+++
title = "链接"
date = 2020-02-06T22:53:11+08:00
date = 2020-08-13T22:53:11+08:00
+++

## 友情链接

- [EternalAlexander](https://EternalAlexander.github.io/)
- [ustze](http://www.ustze.cn/)
- [xht37](https://www.xht37.com/)
- [PinkRabbit](https://www.cnblogs.com/PinkRabbit/)
- [lk](https://qaq-am.com/)
- [Sooke](https://www.luogu.com.cn/blog/Sooke/)
- [wxw](https://www.cnblogs.com/LJC00118/)
- [fAKe](https://arthas.org/)
- [ganmouren](https://ganmouren.github.io/)
- [scy](https://shencys.github.io/)
- [sxYuGao](https://sxyugao.top/)
- [Robin](https://mr-robin.top/)
- [memset0](https://memset0.cn/)
- [AprilGrimoire](http://aprilgrimoire.tk/)
- [zbw](https://zbww.cf/)
- [StudyingFather](https://studyingfather.com/)
- [markjuruo](https://markjuruo.github.io/)

## 一些网站

Expand Down

0 comments on commit 4301657

Please sign in to comment.