100 Commits

Author SHA1 Message Date
c7cabd991a Update 2 files
- /_posts/2024-11-02-trojan.md
- /_posts/2019-02-01-history.md
2025-04-10 01:19:10 +00:00
9382acdabd Update 2 files
- /_posts/2019-02-01-history.md
- /_posts/2024-11-02-trojan.md
2025-04-09 17:31:38 +00:00
78d65eae30 Update 4 files
- /css/gitalk.css
- /assets/css/style.scss
- /_layouts/default.html
- /_layouts/post.html
2025-04-09 14:26:40 +00:00
7a450f5ec2 Update file default.html 2025-04-08 14:19:19 +00:00
9170efdaa3 Update 7 files
- /_includes/word_count.html
- /_config.yml
- /_layouts/default.html
- /Gemfile
- /js/rss-feed-preview.js
- /_posts/2025-04-08-feed.md
- /links.md
2025-04-08 14:12:54 +00:00
d3eefbba2d Update 2 files
- /_layouts/default.html
- /links.md
2025-04-07 15:52:02 +00:00
3bfbd78385 Update 3 files
- /_data/links.csv
- /js/rss-feed-preview.js
- /links.md
2025-04-07 12:27:45 +00:00
8c26bc57d5 Update 6 files
- /_layouts/post.html
- /_layouts/default.html
- /_posts/2024-07-03-ai-summary.md
- /_posts/2022-02-14-move.md
- /_posts/2022-01-04-banned.md
- /proxylist.md
2025-04-07 08:21:34 +00:00
85594ca8b1 Update 2 files
- /5b60338bca964816af2f0b76965a1b84.txt
- /_layouts/post.html
2025-04-05 18:56:42 +00:00
05ba801c23 Update 3 files
- /_data/proxylist.yml
- /_posts/2025-04-04-search.md
- /proxylist.md
2025-04-05 14:57:04 +00:00
2f6eadd14f Update 3 files
- /proxylist.md
- /README.md
- /_data/proxylist.yml
2025-04-05 12:49:05 +00:00
f455ccfdd7 编辑proxylist.md 2025-04-05 11:02:44 +00:00
87807dd50c Update 4 files
- /_data/mirrors.csv
- /_data/proxies.csv
- /_data/proxylist.yml
- /proxylist.md
2025-04-05 10:51:14 +00:00
85d90f5f2f Update file 2025-04-04-search.md 2025-04-04 11:32:17 +00:00
aa83c0efc1 Update 3 files
- /proxylist.md
- /_data/links.csv
- /links.md
2025-04-03 17:11:03 +00:00
b0bf30adcd Update 2 files
- /proxylist.md
- /links.md
2025-04-03 17:01:33 +00:00
ae668ef412 Update 6 files
- /README.md
- /_data/links.csv
- /_data/mirrors.csv
- /_data/proxies.csv
- /links.md
- /proxylist.md
2025-04-03 16:55:06 +00:00
763f0768ea Update file post.html 2025-04-03 14:43:59 +00:00
b0704e26fc Update 6 files
- /js/main.js
- /search.html
- /_layouts/default.html
- /_layouts/post.html
- /_includes/anchor_headings.html
- /_config.yml
2025-04-03 14:38:40 +00:00
1b4fd0de9b Update 2 files
- /js/main.js
- /search.html
2025-04-02 18:17:34 +00:00
eee3103f93 Update 2 files
- /index.html
- /_layouts/post.html
2025-04-01 16:19:07 +00:00
3ab930348e Update 2 files
- /_layouts/post.html
- /index.html
2025-04-01 10:38:13 +00:00
19f5a7b7f9 Update 2 files
- /index.html
- /_layouts/post.html
2025-04-01 10:29:58 +00:00
e6bf9e886e Update file index.html 2025-04-01 03:05:02 +00:00
82d6628c12 Update 3 files
- /js/simple-jekyll-search.min.js
- /README.md
- /search.html
2025-03-31 08:38:08 +00:00
e7bc272a81 Update 3 files
- /_layouts/post.html
- /proxylist.md
- /index.html
2025-03-31 03:17:33 +00:00
7785bc18c7 Update 2 files
- /_layouts/default.html
- /index.html
2025-03-30 13:47:42 +00:00
9a0af3f555 Update file 2025-03-25-utm.md 2025-03-25 15:05:01 +00:00
b1d25236a5 Update file 2025-03-25-utm.md 2025-03-25 14:47:17 +00:00
7ce15b01f8 Update 2 files
- /_posts/2025-03-22-hifi.md
- /_includes/toc.html
2025-03-22 14:16:39 +00:00
c374f914ac Update file links.md 2025-03-18 14:42:02 +00:00
24f8def5ab Update file links.md 2025-03-16 07:45:52 +00:00
796511e5eb Update file index.html 2025-03-08 13:04:32 +00:00
bb46247e97 Update 3 files
- /3ae4d8c2198c4b0684be1f79a5066eac.txt
- /index.html
- /_posts/2025-03-08-llm2.md
2025-03-08 12:23:30 +00:00
4fb00a1975 上传新文件 2025-03-04 15:35:41 +00:00
e1977bd6ae Update file 2025-02-22-llm.md 2025-02-22 13:03:51 +00:00
4d12271d57 Update 2 files
- /service.md
- /jump.html
2025-02-10 17:01:04 +00:00
433d5110c2 Update file 2025-02-09-server.md 2025-02-09 14:33:13 +00:00
b666bd16b2 Update file 2025-01-01-temp.md 2025-01-01 10:06:30 +00:00
bc094788c2 Update 2 files
- /_posts/2025-01-01-summary.md
- /_posts/2025-01-01-temp.md
2025-01-01 10:05:08 +00:00
c0b1009935 Update file 2024-12-29-vm.md 2024-12-29 15:00:35 +00:00
129c4d1b5b Update 2024-12-08-simulator.md 2024-12-08 15:07:29 +00:00
a8b9118a20 Update 2 files
- /links.md
- /_posts/2024-12-08-simulator.md
2024-12-08 11:50:52 +00:00
dff8a2d2c9 Update 2 files
- /_layouts/post.html
- /service.md
2024-11-20 06:32:07 +00:00
2952d9f63e Update 3 files
- /Live2dHistoire/live2d/js/message.js
- /proxylist.md
- /README.md
2024-11-19 08:50:58 +00:00
3de3d63d77 Update 2 files
- /links.md
- /_posts/2024-11-02-trojan.md
2024-11-02 12:32:13 +00:00
3dab9f333a Update file default.html 2024-10-21 11:21:43 +00:00
85aa965218 Update 3 files
- /Live2dHistoire/live2d/js/message.js
- /Live2dHistoire/live2d/css/live2d.css
- /_layouts/default.html
2024-10-21 11:16:17 +00:00
0e065bf282 Update file message.js 2024-10-21 10:12:21 +00:00
680afdca5a Update 2 files
- /index.html
- /service.md
2024-10-15 10:10:20 +00:00
9e7e727897 Update file message.js 2024-10-15 08:38:03 +00:00
f5accbcad4 Update 2 files
- /_posts/2024-10-13-arm-linux.md
- /proxylist.md
2024-10-14 02:27:17 +00:00
d3ef0a278b Update file 2024-10-13-arm-linux.md 2024-10-13 12:13:18 +00:00
38c549606e Update 4 files
- /_layouts/default.html
- /_layouts/post.html
- /_posts/2024-10-01-suggest.md
- /js/main.js
2024-10-04 07:13:10 +00:00
443d65ac50 Update 4 files
- /_layouts/default.html
- /_layouts/post.html
- /js/main.js
- /_posts/2024-10-01-suggest.md
2024-10-04 06:19:24 +00:00
c8ce8de1d9 Update 3 files
- /js/main.js
- /_posts/2024-10-01-suggest.md
- /_posts/2024-09-27-rag.md
2024-10-01 10:12:03 +00:00
03d9517241 Update 2 files
- /js/main.js
- /_layouts/post.html
2024-09-30 14:59:32 +00:00
9b9efd0f60 Update 3 files
- /js/main.js
- /_layouts/default.html
- /_layouts/post.html
2024-09-30 13:59:21 +00:00
07a3d18350 Update 3 files
- /js/main.js
- /_layouts/post.html
- /search.json
2024-09-30 13:51:26 +00:00
550321e80a Update 2 files
- /_layouts/default.html
- /search.html
2024-09-29 15:20:22 +00:00
50c6c49c4c Update 2 files
- /_posts/2024-09-27-rag.md
- /_posts/2024-07-03-ai-summary.md
2024-09-27 03:24:54 +00:00
593b4fa003 Update main.js 2024-09-26 10:15:00 +00:00
46f1b8d742 Update file 2024-09-02-gmssl.md 2024-09-02 09:40:45 +00:00
7a525073f9 Update file 2024-08-17-mac-mini.md 2024-08-17 11:40:35 +00:00
dc37b70586 Update file 2024-08-03-cangjie.md 2024-08-03 17:33:00 +00:00
2fd191d418 Update file 2024-07-03-ai-summary.md 2024-07-03 13:41:02 +00:00
99ec7de3cd Update file 2024-07-03-ai-summary.md 2024-07-03 13:32:37 +00:00
cd294479e0 Update file 2024-07-03-ai-summary.md 2024-07-03 13:01:14 +00:00
b7ab4e6356 Update file post.html 2024-07-02 08:46:57 +00:00
934c04aea7 Update file post.html 2024-07-02 08:25:21 +00:00
5c7773fb59 Update 2 files
- /_layouts/post.html
- /js/main.js
2024-07-02 08:09:28 +00:00
41ce7aabb0 Update 2 files
- /proxylist.md
- /js/main.js
2024-07-02 03:59:47 +00:00
cbe4db5992 Update file 2024-06-16-hackintosh.md 2024-06-16 12:26:12 +00:00
04e63388b6 Update 2 files
- /_posts/2024-05-19-bt-ops.md
- /proxylist.md
2024-05-19 11:10:53 +00:00
106aa95def Update default.html 2024-04-15 07:29:05 +00:00
f1e7070380 Update 2 files
- /js/main.js
- /_posts/2024-04-06-old-pc.md
2024-04-08 12:52:09 +00:00
10a3521795 Update file 2024-04-06-old-pc.md 2024-04-06 09:43:54 +00:00
881ed13576 Update 2 files
- /_posts/2024-04-06-old-pc.md
- /index.html
2024-04-06 09:41:50 +00:00
982a87e0bf Update file proxylist.md 2024-03-21 01:54:03 +00:00
5097364988 Update 3 files
- /images/offline.svg
- /images/online.svg
- /proxylist.md
2024-03-21 01:45:48 +00:00
c437b255f1 Update file 2024-03-16-ssl-pinning.md 2024-03-16 13:17:54 +00:00
efaaa32674 Update default.html 2024-02-24 16:02:33 +00:00
8a51f7a942 Update 3 files
- /images/17966333.png
- /_config.yml
- /_layouts/default.html
2024-02-24 15:58:24 +00:00
afe8b95115 Update 4 files
- /proxylist.md
- /images/17966333.png
- /_config.yml
- /_posts/2024-02-24-luckfox.md
2024-02-24 15:53:16 +00:00
2aad4be863 Update 2 files
- /_posts/2024-02-03-1panel.md
- /_posts/2024-01-20-renpy.md
2024-02-03 14:04:27 +00:00
74cb7d028c Update 4 files
- /llama.html
- /_posts/2024-01-20-renpy.md
- /index.html
- /proxylist.md
2024-01-20 11:01:55 +00:00
d74fe7b4b8 Update file index.html 2024-01-01 10:54:46 +00:00
8f7d02697d Update 5 files
- /card.html
- /llama.html
- /index.html
- /Live2dHistoire/live2d/js/message.js
- /js/main.js
2024-01-01 10:53:46 +00:00
4afea923c5 Update 3 files
- /package.json
- /_posts/2023-04-05-ai.md
- /_posts/2024-01-01-summary.md
2024-01-01 09:01:21 +00:00
e6281bfa5f Update file Gemfile 2023-12-30 15:27:02 +00:00
a4e9d17cf1 Update file Gemfile 2023-12-30 15:16:27 +00:00
975fcf9d8e Update 2 files
- /Gemfile
- /.gitlab-ci.yml
2023-12-30 15:12:33 +00:00
1734d36dd5 Update file Gemfile 2023-12-30 15:02:50 +00:00
eefdb73475 Update 3 files
- /Gemfile
- /.gitlab-ci.yml
- /Live2dHistoire/live2d/js/message.js
2023-12-30 14:59:15 +00:00
c622346eaa Update 2 files
- /Gemfile
- /Live2dHistoire/live2d/js/message.js
2023-12-30 13:58:00 +00:00
7609bb0b8f Update message.js 2023-12-30 13:41:55 +00:00
2298c9b271 更新.gitlab-ci.yml文件 2023-12-24 16:49:42 +00:00
f9abd1e5d7 Update file 2023-12-24-android.md 2023-12-24 12:30:52 +00:00
62ea62e8e8 Update file 2023-12-10-openfyde.md 2023-12-09 17:42:34 +00:00
3dc82a814a Update 2 files
- /_posts/2023-02-03-mbp.md
- /_posts/2023-10-21-game.md
2023-10-21 15:24:08 +00:00
64 changed files with 4874 additions and 427 deletions

View File

@ -6,14 +6,14 @@
# Template project: https://gitlab.com/pages/jekyll # Template project: https://gitlab.com/pages/jekyll
# Docs: https://docs.gitlab.com/ee/pages/ # Docs: https://docs.gitlab.com/ee/pages/
image: ruby:2.6 image: ruby:2.7
variables: variables:
JEKYLL_ENV: production JEKYLL_ENV: production
LC_ALL: C.UTF-8 LC_ALL: C.UTF-8
before_script: before_script:
- gem install bundler - gem install bundler -v 2.4.22
- bundle install - bundle install
pages: pages:

View File

@ -0,0 +1 @@
5b60338bca964816af2f0b76965a1b84

17
Gemfile
View File

@ -1,11 +1,14 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "jekyll", "~> 4.1.0" gem "jekyll", "~> 3.9.3"
group :jekyll_plugins do group :jekyll_plugins do
gem "jekyll-gist" gem "jekyll-gist", "~> 1.5.0"
gem "jekyll-coffeescript" gem "jekyll-coffeescript", "~> 1.1.1"
gem "jekyll-assets" gem "jekyll-assets", "~> 1.0.0"
gem "jekyll-sitemap" gem "jekyll-sitemap", "~> 1.4.0"
gem "jekyll-feed" gem "jekyll-feed", "~> 0.15.1"
gem "jekyll-include-cache", "~> 0.2.1"
gem "jekyll-theme-minimal" gem "jekyll-theme-minimal"
gem "jekyll-paginate" gem "jekyll-paginate", "~> 1.1.0"
gem "kramdown-parser-gfm", "~> 1.1.0"
gem "kramdown", "~> 2.3.2"
end end

View File

@ -79,7 +79,7 @@
background-color: rgba(74, 59, 114,0.9); background-color: rgba(74, 59, 114,0.9);
} }
.live_talk_input_name_body{ .live_talk_input_name_body{
width:70px; width:100px;
box-sizing:border-box; box-sizing:border-box;
height:24px; height:24px;
border: 2px solid rgb(223, 179, 241); border: 2px solid rgb(223, 179, 241);

View File

@ -158,7 +158,7 @@ if(!norunFlag){
function showHitokoto(){ function showHitokoto(){
if(sessionStorage.getItem("Sleepy")!=="1"){ if(sessionStorage.getItem("Sleepy")!=="1"){
if(!AITalkFlag){ if(!AITalkFlag){
$.getJSON('https://v1.hitokoto.cn/',function(result){ $.getJSON('https://hitokoto.mayx.eu.org/',function(result){
talkValTimer(); talkValTimer();
showMessage(result.hitokoto, 0); showMessage(result.hitokoto, 0);
}); });
@ -188,7 +188,26 @@ if(!norunFlag){
if(Array.isArray(text)) text = text[Math.floor(Math.random() * text.length + 1)-1]; if(Array.isArray(text)) text = text[Math.floor(Math.random() * text.length + 1)-1];
//console.log('showMessage', text); //console.log('showMessage', text);
$('.message').stop(); $('.message').stop();
$('.message').html(text); if(text instanceof EventSource){
var outputContainer = $('.message')[0];
var eventFlag = false;
text.onmessage = (event) => {
if (event.data == "[DONE]") {
text.close();
return;
} else {
if(!eventFlag){
talkValTimer();
outputContainer.textContent = "";
eventFlag = true;
}
const data = JSON.parse(event.data);
outputContainer.textContent += data.response;
}
}
}else{
$('.message').html(text);
}
$('.message').fadeTo(200, 1); $('.message').fadeTo(200, 1);
//if (timeout === null) timeout = 5000; //if (timeout === null) timeout = 5000;
//hideMessage(timeout); //hideMessage(timeout);
@ -275,36 +294,18 @@ if(!norunFlag){
}); });
$('#talk_send').on('click',function(){ $('#talk_send').on('click',function(){
var info_ = $('#AIuserText').val(); var info_ = $('#AIuserText').val();
var userid_ = $('#AIuserName').val(); // var userid_ = $('#AIuserName').val();
let add_id = "";
if($('#load_this').prop("checked")){
add_id = "&id="+encodeURIComponent($('#post_id').val());
}
if(info_ == "" ){ if(info_ == "" ){
showMessage('写点什么吧!',0); showMessage('写点什么吧!',0);
return; return;
} }
if(userid_ == ""){
showMessage('聊之前请告诉我你的名字吧!',0);
return;
}
showMessage('思考中~', 0); showMessage('思考中~', 0);
$.ajax({ const evSource = new EventSource(talkAPI + "?info=" + encodeURIComponent(info_) + add_id);
type: 'POST', showMessage(evSource);
url: talkAPI,
data: {
"info":info_,
"userid":userid_
},
success: function(res) {
if(res.code !== 100000){
talkValTimer();
showMessage('似乎有什么错误,请和站长联系!',0);
}else{
talkValTimer();
showMessage(res.text,0);
}
console.log(res);
$('#AIuserText').val("");
sessionStorage.setItem("live2duser", userid_);
}
});
}); });
}else{ }else{
$('#showInfoBtn').hide(); $('#showInfoBtn').hide();
@ -379,11 +380,11 @@ if(!norunFlag){
showMessage('音乐似乎加载不出来了呢!',0); showMessage('音乐似乎加载不出来了呢!',0);
}); });
} }
//获取用户名 // //获取用户名
var live2dUser = sessionStorage.getItem("live2duser"); // var live2dUser = sessionStorage.getItem("live2duser");
if(live2dUser !== null){ // if(live2dUser !== null){
$('#AIuserName').val(live2dUser); // $('#AIuserName').val(live2dUser);
} // }
//获取位置 //获取位置
var landL = sessionStorage.getItem("historywidth"); var landL = sessionStorage.getItem("historywidth");
var landB = sessionStorage.getItem("historyheight"); var landB = sessionStorage.getItem("historyheight");

View File

@ -14,17 +14,21 @@ Powered by [Jekyll](https://github.com/jekyll/jekyll)
[jekyll-toc](https://github.com/allejo/jekyll-toc) [jekyll-toc](https://github.com/allejo/jekyll-toc)
[Live2dHistoire](https://github.com/eeg1412/Live2dHistoire) [Live2dHistoire](https://github.com/eeg1412/Live2dHistoire)
[Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search) [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search)
[jekyll-anchor-headings](https://github.com/allejo/jekyll-anchor-headings)
## 使用的网络资源 ## 使用的网络资源
[Github](https://github.com/) | 包含: [Github](https://github.com/) | 包含
- Issue - Issue
- Pages - Pages
- Git - Git
[Cloudflare](https://www.cloudflare.com/) | 包含:
- CDN、规则以及缓存
- Workers、D1 SQL 数据库、Vectorize 数据库、AI
[网易云音乐](https://music.163.com/) [网易云音乐](https://music.163.com/)
[一言](https://hitokoto.cn/)
[CDNJS](https://cdnjs.com/) [CDNJS](https://cdnjs.com/)
[unpkg](https://unpkg.com/) [jsDelivr](https://www.jsdelivr.com/)
## 版权声明 ## 版权声明
未经作者同意,请勿转载 未经作者同意,请勿转载

View File

@ -1,6 +1,7 @@
theme: jekyll-theme-minimal theme: jekyll-theme-minimal
title: Mayx的博客 title: Mayx的博客
logo: https://avatars0.githubusercontent.com/u/17966333 logo: https://avatars0.githubusercontent.com/u/17966333
lang: zh-CN
author: mayx author: mayx
description: Mayx's Home Page description: Mayx's Home Page
timezone: Asia/Shanghai timezone: Asia/Shanghai
@ -9,6 +10,7 @@ paginate: 7
plugins: plugins:
- jekyll-sitemap - jekyll-sitemap
- jekyll-feed - jekyll-feed
- jekyll-include-cache
feed: feed:
path: atom.xml path: atom.xml
google_analytics: UA-137710294-1 google_analytics: UA-137710294-1

14
_data/links.csv Normal file
View File

@ -0,0 +1,14 @@
title,link,feed_url,description
花火学园,https://www.sayhanabi.net/,,和谐融洽的ACG交流以及资源聚集地
资源统筹局,https://gkdworld.com/,,统筹保管用户分享的资源
贫困的蚊子,https://mozz.ie/,https://mozz.ie/index.xml,*No description*
极客兔兔,https://geektutu.com/,https://geektutu.com/atom.xml,致力于分享有趣的技术实践
维基萌,https://www.wikimoe.com/,https://www.wikimoe.com/rss,萌即是正义一名热爱acg的前端设计师的小站
7gugu's blog,https://www.7gugu.com/,https://7gugu.com/index.php/feed/,"一个用来存放我爱好的地方,编程,摄影之类的空间"
云游君,https://www.yunyoujun.cn/,https://www.yunyoujun.cn/atom.xml,希望能成为一个有趣的人。
Kingfish404,https://blog.kingfish404.cn/,https://blog.kingfish404.cn/index.xml,"Stay curious,stay naive. WUT. Jin Yu's Blog"
FKUN,https://blog.fkun.tech/,https://blog.fkun.tech/feed/,*No description*
Sinofine,https://sinofine.me/,https://sinofine.me/atom.xml,*No description*
JiaoYuan's blog,https://yuanj.top/,https://yuanj.top/index.xml,思绪来得快去得也快,偶尔会在这里停留
花生莲子粥,https://blog.hslzz.cn/,https://blog.hslzz.cn/atom.xml,与世无争,不染于泥
南蛮子懋和,https://www.dao.js.cn/,https://www.dao.js.cn/feed.php,李懋和,俗名李栋梁。书法、国画爱好者,互联网安全与前端建设者。
1 title link feed_url description
2 花火学园 https://www.sayhanabi.net/ 和谐融洽的ACG交流以及资源聚集地
3 资源统筹局 https://gkdworld.com/ 统筹保管用户分享的资源
4 贫困的蚊子 https://mozz.ie/ https://mozz.ie/index.xml *No description*
5 极客兔兔 https://geektutu.com/ https://geektutu.com/atom.xml 致力于分享有趣的技术实践
6 维基萌 https://www.wikimoe.com/ https://www.wikimoe.com/rss 萌即是正义!一名热爱acg的前端设计师的小站!
7 7gugu's blog https://www.7gugu.com/ https://7gugu.com/index.php/feed/ 一个用来存放我爱好的地方,编程,摄影之类的空间
8 云游君 https://www.yunyoujun.cn/ https://www.yunyoujun.cn/atom.xml 希望能成为一个有趣的人。
9 Kingfish404 https://blog.kingfish404.cn/ https://blog.kingfish404.cn/index.xml Stay curious,stay naive. WUT. Jin Yu's Blog
10 FKUN https://blog.fkun.tech/ https://blog.fkun.tech/feed/ *No description*
11 Sinofine https://sinofine.me/ https://sinofine.me/atom.xml *No description*
12 JiaoYuan's blog https://yuanj.top/ https://yuanj.top/index.xml 思绪来得快去得也快,偶尔会在这里停留
13 花生莲子粥 https://blog.hslzz.cn/ https://blog.hslzz.cn/atom.xml 与世无争,不染于泥
14 南蛮子懋和 https://www.dao.js.cn/ https://www.dao.js.cn/feed.php 李懋和,俗名李栋梁。书法、国画爱好者,互联网安全与前端建设者。

24
_data/proxylist.yml Normal file
View File

@ -0,0 +1,24 @@
proxies:
- https://blog.mayx.workers.dev/
- https://mayx.deno.dev/
- https://mayx.glitch.me/
- https://yuki.gear.host/
- https://mayx.serv00.net/
mirrors:
- https://mayx.gitlab.io/
- https://mayx.pages.dev/
- https://mayx.eu.org/
- https://mayx.vercel.app/
- https://mayx.netlify.app/
- https://mayx.4everland.app/
- https://mayx.dappling.network/
- https://mayx-blog.statichost.eu/
others:
- https://unmayx.blogspot.com/
- https://unmayx.blog.fc2blog.us/
- https://unmayx.wordpress.com/
- https://mayx.code.blog/
- https://mayx.home.blog/
- https://unmayx.medium.com/
- https://mayx.cnblogs.com/
- https://mayx.xlog.app/

View File

@ -0,0 +1,174 @@
{% capture headingsWorkspace %}
{% comment %}
Copyright (c) 2018 Vladimir "allejo" Jimenez
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
{% endcomment %}
{% comment %}
Version 1.0.13
https://github.com/allejo/jekyll-anchor-headings
"Be the pull request you wish to see in the world." ~Ben Balter
Usage:
{% include anchor_headings.html html=content anchorBody="#" %}
Parameters:
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
Optional Parameters:
* beforeHeading (bool) : false - Set to true if the anchor should be placed _before_ the heading's content
* headerAttrs (string) : '' - Any custom HTML attributes that will be added to the heading tag; you may NOT use `id`;
the `%heading%` and `%html_id%` placeholders are available
* anchorAttrs (string) : '' - Any custom HTML attributes that will be added to the `<a>` tag; you may NOT use `href`, `class` or `title`;
the `%heading%` and `%html_id%` placeholders are available
* anchorBody (string) : '' - The content that will be placed inside the anchor; the `%heading%` placeholder is available
* anchorClass (string) : '' - The class(es) that will be used for each anchor. Separate multiple classes with a space
* anchorTitle (string) : '' - The `title` attribute that will be used for anchors
* h_min (int) : 1 - The minimum header level to build an anchor for; any header lower than this value will be ignored
* h_max (int) : 6 - The maximum header level to build an anchor for; any header greater than this value will be ignored
* bodyPrefix (string) : '' - Anything that should be inserted inside of the heading tag _before_ its anchor and content
* bodySuffix (string) : '' - Anything that should be inserted inside of the heading tag _after_ its anchor and content
* generateId (true) : false - Set to true if a header without id should generate an id to use.
Output:
The original HTML with the addition of anchors inside of all of the h1-h6 headings.
{% endcomment %}
{% assign minHeader = include.h_min | default: 1 %}
{% assign maxHeader = include.h_max | default: 6 %}
{% assign beforeHeading = include.beforeHeading %}
{% assign headerAttrs = include.headerAttrs %}
{% assign nodes = include.html | split: '<h' %}
{% capture edited_headings %}{% endcapture %}
{% for _node in nodes %}
{% capture node %}{{ _node | strip }}{% endcapture %}
{% if node == "" %}
{% continue %}
{% endif %}
{% assign nextChar = node | replace: '"', '' | strip | slice: 0, 1 %}
{% assign headerLevel = nextChar | times: 1 %}
<!-- If the level is cast to 0, it means it's not a h1-h6 tag, so let's see if we need to fix it -->
{% if headerLevel == 0 %}
<!-- Split up the node based on closing angle brackets and get the first one. -->
{% assign firstChunk = node | split: '>' | first %}
<!-- If the first chunk does NOT contain a '<', that means we've broken another HTML tag that starts with 'h' -->
{% unless firstChunk contains '<' %}
{% capture node %}<h{{ node }}{% endcapture %}
{% endunless %}
{% capture edited_headings %}{{ edited_headings }}{{ node }}{% endcapture %}
{% continue %}
{% endif %}
{% capture _closingTag %}</h{{ headerLevel }}>{% endcapture %}
{% assign _workspace = node | split: _closingTag %}
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
{% assign escaped_header = header | strip_html | strip %}
{% assign _classWorkspace = _workspace[0] | split: 'class="' %}
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
{% assign _html_class = _classWorkspace[0] %}
{% if _html_class contains "no_anchor" %}
{% assign skip_anchor = true %}
{% else %}
{% assign skip_anchor = false %}
{% endif %}
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
{% if _idWorkspace[1] %}
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
{% assign html_id = _idWorkspace[0] %}
{% assign h_attrs = headerAttrs %}
{% elsif include.generateId %}
<!-- If the header did not have an id we create one. -->
{% assign html_id = escaped_header | slugify %}
{% if html_id == "" %}
{% assign html_id = false %}
{% endif %}
<!-- Append the generated id to other potential header attributes. -->
{% capture h_attrs %}{{ headerAttrs }} id="%html_id%"{% endcapture %}
{% endif %}
<!-- Build the anchor to inject for our heading -->
{% capture anchor %}{% endcapture %}
{% if skip_anchor == false and html_id and headerLevel >= minHeader and headerLevel <= maxHeader %}
{% if h_attrs %}
{% capture _hAttrToStrip %}{{ _hAttrToStrip | split: '>' | first }} {{ h_attrs | strip | replace: '%heading%', escaped_header | replace: '%html_id%', html_id }}>{% endcapture %}
{% endif %}
{% capture anchor %}href="#{{ html_id }}"{% endcapture %}
{% if include.anchorClass %}
{% capture anchor %}{{ anchor }} class="{{ include.anchorClass }}"{% endcapture %}
{% endif %}
{% if include.anchorTitle %}
{% capture anchor %}{{ anchor }} title="{{ include.anchorTitle | replace: '%heading%', escaped_header }}"{% endcapture %}
{% endif %}
{% if include.anchorAttrs %}
{% capture anchor %}{{ anchor }} {{ include.anchorAttrs | replace: '%heading%', escaped_header | replace: '%html_id%', html_id }}{% endcapture %}
{% endif %}
{% capture anchor %}<a {{ anchor }}>{{ include.anchorBody | replace: '%heading%', escaped_header | default: '' }}</a>{% endcapture %}
<!-- In order to prevent adding extra space after a heading, we'll let the 'anchor' value contain it -->
{% if beforeHeading %}
{% capture anchor %}{{ anchor }} {% endcapture %}
{% else %}
{% capture anchor %} {{ anchor }}{% endcapture %}
{% endif %}
{% endif %}
{% capture new_heading %}
<h{{ _hAttrToStrip }}
{{ include.bodyPrefix }}
{% if beforeHeading %}
{{ anchor }}{{ header }}
{% else %}
{{ header }}{{ anchor }}
{% endif %}
{{ include.bodySuffix }}
</h{{ headerLevel }}>
{% endcapture %}
<!--
If we have content after the `</hX>` tag, then we'll want to append that here so we don't lost any content.
-->
{% assign chunkCount = _workspace | size %}
{% if chunkCount > 1 %}
{% capture new_heading %}{{ new_heading }}{{ _workspace | last }}{% endcapture %}
{% endif %}
{% capture edited_headings %}{{ edited_headings }}{{ new_heading }}{% endcapture %}
{% endfor %}
{% endcapture %}{% assign headingsWorkspace = '' %}{{ edited_headings | strip }}

View File

@ -1,6 +1,30 @@
{% capture tocWorkspace %} {% capture tocWorkspace %}
{% comment %} {% comment %}
Version 1.0.7 Copyright (c) 2017 Vladimir "allejo" Jimenez
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
{% endcomment %}
{% comment %}
Version 1.2.1
https://github.com/allejo/jekyll-toc https://github.com/allejo/jekyll-toc
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe "...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
@ -12,84 +36,154 @@
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
Optional Parameters: Optional Parameters:
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC * sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
* class (string) : '' - a CSS class assigned to the TOC * class (string) : '' - a CSS class assigned to the TOC
* id (string) : '' - an ID to assigned to the TOC * id (string) : '' - an ID to assigned to the TOC
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored * h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored * h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list * ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
* item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level * item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content * submenu_class (string) : '' - add custom class(es) for each child group of headings; has support for '%level%' placeholder which is the current "submenu" heading level
* anchor_class (string) : '' - add custom class(es) for each anchor element * base_url (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
* anchor_class (string) : '' - add custom class(es) for each anchor element
* skip_no_ids (bool) : false - skip headers that do not have an `id` attribute
* flat_toc (bool) : false - when set to true, the TOC will be a single level list
Output: Output:
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
generate the table of contents and will NOT output the markdown given to it generate the table of contents and will NOT output the markdown given to it
{% endcomment %} {% endcomment %}
{% capture my_toc %}{% endcapture %} {% capture newline %}
{% endcapture %}
{% assign newline = newline | rstrip %} <!-- Remove the extra spacing but preserve the newline -->
{% capture deprecation_warnings %}{% endcapture %}
{% if include.baseurl %}
{% capture deprecation_warnings %}{{ deprecation_warnings }}<!-- jekyll-toc :: "baseurl" has been deprecated, use "base_url" instead -->{{ newline }}{% endcapture %}
{% endif %}
{% if include.skipNoIDs %}
{% capture deprecation_warnings %}{{ deprecation_warnings }}<!-- jekyll-toc :: "skipNoIDs" has been deprecated, use "skip_no_ids" instead -->{{ newline }}{% endcapture %}
{% endif %}
{% capture jekyll_toc %}{% endcapture %}
{% assign orderedList = include.ordered | default: false %} {% assign orderedList = include.ordered | default: false %}
{% assign flatToc = include.flat_toc | default: false %}
{% assign baseURL = include.base_url | default: include.baseurl | default: '' %}
{% assign skipNoIDs = include.skip_no_ids | default: include.skipNoIDs | default: false %}
{% assign minHeader = include.h_min | default: 1 %} {% assign minHeader = include.h_min | default: 1 %}
{% assign maxHeader = include.h_max | default: 6 %} {% assign maxHeader = include.h_max | default: 6 %}
{% assign nodes = include.html | split: '<h' %} {% assign nodes = include.html | strip | split: '<h' %}
{% assign firstHeader = true %}
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %} {% assign firstHeader = true %}
{% assign currLevel = 0 %}
{% assign lastLevel = 0 %}
{% capture listModifier %}{% if orderedList %}ol{% else %}ul{% endif %}{% endcapture %}
{% for node in nodes %} {% for node in nodes %}
{% if node == "" %} {% if node == "" %}
{% continue %} {% continue %}
{% endif %} {% endif %}
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %} {% assign currLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
{% if headerLevel < minHeader or headerLevel > maxHeader %} {% if currLevel < minHeader or currLevel > maxHeader %}
{% continue %} {% continue %}
{% endif %} {% endif %}
{% if firstHeader %}
{% assign firstHeader = false %}
{% assign minHeader = headerLevel %}
{% endif %}
{% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
{% assign _workspace = node | split: '</h' %} {% assign _workspace = node | split: '</h' %}
{% assign _idWorkspace = _workspace[0] | split: 'id="' %} {% assign _idWorkspace = _workspace[0] | split: 'id="' %}
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %} {% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
{% assign html_id = _idWorkspace[0] %} {% assign htmlID = _idWorkspace[0] %}
{% assign _classWorkspace = _workspace[0] | split: 'class="' %} {% assign _classWorkspace = _workspace[0] | split: 'class="' %}
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %} {% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
{% assign html_class = _classWorkspace[0] %} {% assign htmlClass = _classWorkspace[0] %}
{% if html_class contains "no_toc" %} {% if htmlClass contains "no_toc" %}
{% continue %} {% continue %}
{% endif %} {% endif %}
{% if firstHeader %}
{% assign minHeader = currLevel %}
{% endif %}
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %} {% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %} {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
{% assign space = '' %} {% if include.item_class and include.item_class != blank %}
{% for i in (1..indentAmount) %} {% capture listItemClass %} class="{{ include.item_class | replace: '%level%', currLevel | split: '.' | join: ' ' }}"{% endcapture %}
{% assign space = space | prepend: ' ' %} {% endif %}
{% endfor %}
{% unless include.item_class == blank %} {% if include.submenu_class and include.submenu_class != blank %}
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %} {% assign subMenuLevel = currLevel | minus: 1 %}
{% endunless %} {% capture subMenuClass %} class="{{ include.submenu_class | replace: '%level%', subMenuLevel | split: '.' | join: ' ' }}"{% endcapture %}
{% endif %}
{% capture my_toc %}{{ my_toc }} {% capture anchorBody %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
{{ space }}{{ listModifier }} {{ listItemClass }} [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
{% if htmlID %}
{% capture anchorAttributes %} href="{% if baseURL %}{{ baseURL }}{% endif %}#{{ htmlID }}"{% endcapture %}
{% if include.anchor_class %}
{% capture anchorAttributes %}{{ anchorAttributes }} class="{{ include.anchor_class | split: '.' | join: ' ' }}"{% endcapture %}
{% endif %}
{% capture listItem %}<a{{ anchorAttributes }}>{{ anchorBody }}</a>{% endcapture %}
{% elsif skipNoIDs == true %}
{% continue %}
{% else %}
{% capture listItem %}{{ anchorBody }}{% endcapture %}
{% endif %}
{% if currLevel > lastLevel and flatToc == false %}
{% capture jekyll_toc %}{{ jekyll_toc }}<{{ listModifier }}{{ subMenuClass }}>{% endcapture %}
{% elsif currLevel < lastLevel and flatToc == false %}
{% assign repeatCount = lastLevel | minus: currLevel %}
{% for i in (1..repeatCount) %}
{% capture jekyll_toc %}{{ jekyll_toc }}</li></{{ listModifier }}>{% endcapture %}
{% endfor %}
{% capture jekyll_toc %}{{ jekyll_toc }}</li>{% endcapture %}
{% else %}
{% capture jekyll_toc %}{{ jekyll_toc }}</li>{% endcapture %}
{% endif %}
{% capture jekyll_toc %}{{ jekyll_toc }}<li{{ listItemClass }}>{{ listItem }}{% endcapture %}
{% assign lastLevel = currLevel %}
{% assign firstHeader = false %}
{% endfor %} {% endfor %}
{% if include.class %} {% if flatToc == true %}
{% capture my_toc %}{:.{{ include.class }}} {% assign repeatCount = 1 %}
{{ my_toc | lstrip }}{% endcapture %} {% else %}
{% assign repeatCount = minHeader | minus: 1 %}
{% assign repeatCount = lastLevel | minus: repeatCount %}
{% endif %} {% endif %}
{% if include.id %} {% for i in (1..repeatCount) %}
{% capture my_toc %}{: #{{ include.id }}} {% capture jekyll_toc %}{{ jekyll_toc }}</li></{{ listModifier }}>{% endcapture %}
{{ my_toc | lstrip }}{% endcapture %} {% endfor %}
{% if jekyll_toc != '' %}
{% assign rootAttributes = '' %}
{% if include.class and include.class != blank %}
{% capture rootAttributes %} class="{{ include.class | split: '.' | join: ' ' }}"{% endcapture %}
{% endif %}
{% if include.id and include.id != blank %}
{% capture rootAttributes %}{{ rootAttributes }} id="{{ include.id }}"{% endcapture %}
{% endif %}
{% if rootAttributes %}
{% assign nodes = jekyll_toc | split: '>' %}
{% capture jekyll_toc %}<{{ listModifier }}{{ rootAttributes }}>{{ nodes | shift | join: '>' }}>{% endcapture %}
{% endif %}
{% endif %} {% endif %}
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }} {% endcapture %}{% assign tocWorkspace = '' %}{{ deprecation_warnings }}{{ jekyll_toc -}}

View File

@ -0,0 +1 @@
{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %}{% assign count = count | plus: single_count %}{% endfor %}{{ count }}

View File

@ -1,153 +1,145 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="{{ site.lang | default: "zh-CN" }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% seo %} <head>
{% feed_meta %} <meta charset="UTF-8">
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--[if !IE]> --> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
<script src="/js/jquery.min.js"></script> {% seo %}
<!-- <![endif]--> {% feed_meta %}
<!--[if lt IE 9]> <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
<!--[if !IE]> -->
<link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
<script src="/js/jquery.min.js"></script>
<!-- <![endif]-->
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]--> <![endif]-->
{% if site.google_analytics %} {% if site.google_analytics %}
<!-- Global site tag (gtag.js) - Google Analytics --> <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script> <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);} function gtag(){dataLayer.push(arguments);}
gtag('js', new Date()); gtag('js', new Date());
gtag('config', '{{ site.google_analytics }}'); gtag('config', '{{ site.google_analytics }}');
var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}"); </script>
Date.prototype.format = function(fmt) { {% endif %}
var o = { <script>
"M+" : this.getMonth()+1, //月份 var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}");
"d+" : this.getDate(), //日 var BlogAPI = "https://summary.mayx.eu.org";
"h+" : this.getHours(), //小时 function getSearchJSON(callback) {
"m+" : this.getMinutes(), //分 var searchData = JSON.parse(localStorage.getItem("blog_" + lastUpdated.valueOf()));
"s+" : this.getSeconds(), //秒 if (!searchData) {
"q+" : Math.floor((this.getMonth()+3)/3), //季度 for (var i = 0; i < localStorage.length; i++) {
"S" : this.getMilliseconds() //毫秒 var key = localStorage.key(i);
}; if (key.startsWith('blog_')) {
if(/(y+)/.test(fmt)) { localStorage.removeItem(key);
fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length)); }
}
$.getJSON("/search.json", function (data) {
localStorage.setItem("blog_" + lastUpdated.valueOf(), JSON.stringify(data));
callback(data);
});
} else {
callback(searchData);
}
} }
for(var k in o) { </script>
if(new RegExp("("+ k +")").test(fmt)){ <script src="//instant.page/5.2.0" type="module" integrity="sha384-jnZyxPjiipYXnSU0ygqeac2q7CVYMbh84q0uHVRRxEtvFPiQYbXWUorga2aqZJ0z"></script>
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length))); </head>
}
} <body>
return fmt; <div class="wrapper">
} <header>
</script> <h1><a href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
{% endif %}
<style> {% if site.logo %}
.backToTop { <img src="{{ site.logo }}" alt="Logo" />
display: none;
width: 18px;
line-height: 1.2;
padding: 5px 0;
background-color: #000;
color: #fff;
font-size: 12px;
text-align: center;
position: fixed;
_position: absolute;
right: 10px;
bottom: 100px;
_bottom: "auto";
cursor: pointer;
opacity: .6;
filter: Alpha(opacity=60);
}
</style>
</head>
<body>
<div class="wrapper">
<header>
<h1><a href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
{% if site.logo %}
<img src="{{ site.logo | relative_url}}" alt="Logo" />
{% endif %} {% endif %}
<p>{{ site.description | default: site.github.project_tagline }}</p> <p>{{ site.description | default: site.github.project_tagline }}</p>
<p><form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.."> <input type="submit"></form></p>
{% if site.github.is_project_page %} <p>
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p> <form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts..">
{% endif %} <input type="submit">
</form>
</p>
{% if site.github.is_user_page %} {% if site.github.is_project_page %}
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p> <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub
{% endif %} <small>{{ site.github.repository_nwo }}</small></a></p>
{% endif %}
<p class="view"><a href="{{ "/Mabbs/" | relative_url }}">About Me</a></p>
<ul class="downloads"> {% if site.github.is_user_page %}
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
{% endif %}
<p class="view"><a href="/Mabbs/">About Me</a></p>
<ul class="downloads">
{% if site.github %} {% if site.github %}
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li> <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li> <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li> <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
{% else %} {% else %}
<li style="width: 270px;border-right:0px;"><a href="/MayxBlog.tgz">Download <strong>TGZ File</strong></a></li> <li style="width: 270px;border-right:0px;"><a href="/MayxBlog.tgz">Download <strong>TGZ File</strong></a></li>
{% endif %} {% endif %}
</ul> </ul>
</header> </header>
<section> <section>
{{ content }} {{ content }}
</section> </section>
<!--[if !IE]> --> <!--[if !IE]> -->
<div id="landlord" style="left:5px;bottom:0px;"> <div id="landlord" style="left:5px;bottom:0px;">
<div class="message" style="opacity:0"></div> <div class="message" style="opacity:0"></div>
<canvas id="live2d" width="500" height="560" class="live2d"></canvas> <canvas id="live2d" width="500" height="560" class="live2d"></canvas>
<div class="live_talk_input_body"> <div class="live_talk_input_body">
<div class="live_talk_input_name_body" style="display:none;"> <div class="live_talk_input_name_body" {% unless page.layout == "post" %}style="display:none;"{% endunless %}>
<input name="name" type="hidden" class="live_talk_name white_input" id="AIuserName" value="Mayx_Blog_Talk" /> <input type="checkbox" id="load_this">
<input type="hidden" id="post_id" value="{{ page.url }}">
<label for="load_this">
<span style="font-size: 11px; color: #fff;">&nbsp;想问这篇文章</span>
</label>
</div> </div>
<div class="live_talk_input_text_body"> <div class="live_talk_input_text_body">
<input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀?"/> <input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀?"/>
<button type="button" class="live_talk_send_btn" id="talk_send">发送</button> <button type="button" class="live_talk_send_btn" id="talk_send">发送</button>
</div> </div>
</div> </div>
<input name="live_talk" id="live_talk" value="1" type="hidden" /> <input name="live_talk" id="live_talk" value="1" type="hidden" />
<div class="live_ico_box" style="display:none;"> <div class="live_ico_box" style="display:none;">
<div class="live_ico_item type_info" id="showInfoBtn"></div> <div class="live_ico_item type_info" id="showInfoBtn"></div>
<div class="live_ico_item type_talk" id="showTalkBtn"></div> <div class="live_ico_item type_talk" id="showTalkBtn"></div>
<div class="live_ico_item type_music" id="musicButton"></div> <div class="live_ico_item type_music" id="musicButton"></div>
<div class="live_ico_item type_youdu" id="youduButton"></div> <div class="live_ico_item type_youdu" id="youduButton"></div>
<div class="live_ico_item type_quit" id="hideButton"></div> <div class="live_ico_item type_quit" id="hideButton"></div>
<input name="live_statu_val" id="live_statu_val" value="0" type="hidden" /> <input name="live_statu_val" id="live_statu_val" value="0" type="hidden" />
<audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio> <audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
<input id="duType" value="douqilai" type="hidden"> <input id="duType" value="douqilai" type="hidden">
</div>
</div> </div>
</div> <div id="open_live2d">召唤伊斯特瓦尔</div>
<div id="open_live2d">召唤伊斯特瓦尔</div>
<!-- <![endif]--> <!-- <![endif]-->
<footer> <footer>
<p><small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.format("yyyy-MM-dd hh:mm:ss"));</script><br /> 总字数: <p>
{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %} <small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.toLocaleString());</script><br /> 总字数:{% include_cached word_count.html %} - 文章数:{{ site.posts.size }} - <a href="{{ site.feed.path | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small>
{% assign count = count | plus: single_count %}{% endfor %}{% if count > 10000 %}{{ count | divided_by: 10000 }} 万 {{ count | modulo: 10000 }} </p>
{% else %}{{ count }}{% endif %} - 文章数:{% for post in site.posts %}{% assign co = co | plus: 1 %}{% endfor %}{{ co }} - <a href="{{ "/atom.xml" | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small></p> </footer>
</footer> </div>
</div> <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
<script src="/js/main.js"></script> <script src="/js/main.js"></script>
<!--[if !IE]> --> <!--[if !IE]> -->
<script src="/Live2dHistoire/live2d/js/live2d.js"></script> <script src="/Live2dHistoire/live2d/js/live2d.js"></script>
<script src="/Live2dHistoire/live2d/js/message.js"></script> <script src="/Live2dHistoire/live2d/js/message.js"></script>
<!-- <![endif]--> <!-- <![endif]-->
</body> </body>
</html>
</html>

File diff suppressed because one or more lines are too long

View File

@ -22,20 +22,12 @@ tags: [Mayx, 计算机, 学习]
后来加入了一个叫批处理之家的论坛,我叫做[111](http://www.bathome.net/space.php?uid=51236)LOL真不敢相信这个论坛一直到今天还活着在这里我学到了不少关于批处理的事情。 后来加入了一个叫批处理之家的论坛,我叫做[111](http://www.bathome.net/space.php?uid=51236)LOL真不敢相信这个论坛一直到今天还活着在这里我学到了不少关于批处理的事情。
因为学批处理是基于某工具箱的,所以用批处理写的程序也是工具箱,就叫做批处理工具。以下是该程序的源代码: 因为学批处理是基于某工具箱的,所以用批处理写的程序也是工具箱,就叫做批处理工具。以下是该程序的源代码:
<script> <details markdown="1">
function showcode() { <summary markdown="span">
$('.showbutton').toggle(); Show Code
$('.language-code').toggle(); </summary>
}
</script>
<style>
.language-code{ display:none; }
.language-shell{ display:none; }
</style>
<button onclick="showcode()" class="showbutton">Show Code</button>
<button onclick="showcode()" class="showbutton" style="display:none;">Hide Code</button>
```code ```bat
@echo off @echo off
color f0 color f0
mode con cols=50 lines=10 mode con cols=50 lines=10
@ -2791,6 +2783,7 @@ if /i '%shy%'=='exit' goto _max
if /i '%shy%'=='ai学习机' goto aixx if /i '%shy%'=='ai学习机' goto aixx
::在这里加入新的命令 ::在这里加入新的命令
``` ```
</details>
**注:因为隐私原因,部分代码稍作修改** **注:因为隐私原因,部分代码稍作修改**
当然,这个程序有不少地方是抄的,而且很烂……(毕竟是小时候写的嘛) 当然,这个程序有不少地方是抄的,而且很烂……(毕竟是小时候写的嘛)
@ -2799,14 +2792,10 @@ if /i '%shy%'=='ai学习机' goto aixx
因为手机Android系统基于Linux所以我开始[学习Linux Shell](http://c.biancheng.net/cpp/shell/)(没错,当时就是在这个网站上学的), 因为手机Android系统基于Linux所以我开始[学习Linux Shell](http://c.biancheng.net/cpp/shell/)(没错,当时就是在这个网站上学的),
以前用批处理学写工具箱的习惯当然也继承到了学写Linux Shell上在Linux上写的工具箱的名字叫做myx代码如下 以前用批处理学写工具箱的习惯当然也继承到了学写Linux Shell上在Linux上写的工具箱的名字叫做myx代码如下
<script> <details markdown="1">
function showcode2() { <summary markdown="span">
$('.showbutton2').toggle(); Show Code
$('.language-shell').toggle(); </summary>
}
</script>
<button onclick="showcode2()" class="showbutton2">Show Code</button>
<button onclick="showcode2()" class="showbutton2" style="display:none;">Hide Code</button>
```shell ```shell
#!/system/bin/sh #!/system/bin/sh
@ -3230,6 +3219,7 @@ sleep 2
esac esac
done done
``` ```
</details>
**注:因为隐私原因,部分代码稍作修改** **注:因为隐私原因,部分代码稍作修改**

View File

@ -38,7 +38,7 @@ tags: [Github, 封禁, 博客]
> The repository has been deleted per your request. > The repository has been deleted per your request.
> Kindly note further instances that hosts a script that leverages git.io URL shortener to redirect to a malicious site may lead to further action, such as permanent suspension. > Kindly note further instances that hosts a script that leverages git.io URL shortener to redirect to a malicious site may lead to further action, such as permanent suspension.
🌿原来是我3年前写的[让Git.io无限制](/2019/03/23/gitio.html)所提供的服务被人利用做坏事了麻了这Github是真的不长嘴吗提前说一声我又不是不会删而且我的服务被利用上来就先干我是吧这和某政府对付ISP有什么区别。 🌿原来是我3年前写的[让Git.io无限制](/2019/03/23/gitio.html)所提供的服务被人利用做坏事了麻了这Github是真的不长嘴吗提前说一声我又不是不会删而且我的服务被利用上来就先干我是吧这和某政府对付ICP有什么区别。
# 造成的损失 # 造成的损失
1. 我的博客所有Star、Fork和评论全部消失 1. 我的博客所有Star、Fork和评论全部消失

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

33
_posts/2023-10-21-game.md Normal file

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More