mirror of
https://github.com/StarGazer114/stargazer114.github.io.git
synced 2025-01-05 12:58:17 +08:00
325 lines
39 KiB
HTML
325 lines
39 KiB
HTML
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>拾光小阁 - 一隅安宁,拾起记忆的碎片</title><meta name="author" content="br"><meta name="copyright" content="br"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="万钟则不辨礼仪而受之,万种于我美滋滋">
|
||
<meta property="og:type" content="website">
|
||
<meta property="og:title" content="拾光小阁">
|
||
<meta property="og:url" content="https://bear556.top/index.html">
|
||
<meta property="og:site_name" content="拾光小阁">
|
||
<meta property="og:description" content="万钟则不辨礼仪而受之,万种于我美滋滋">
|
||
<meta property="og:locale" content="zh_CN">
|
||
<meta property="og:image" content="https://bear556.top/img/avatar.webp">
|
||
<meta property="article:author" content="br">
|
||
<meta name="twitter:card" content="summary">
|
||
<meta name="twitter:image" content="https://bear556.top/img/avatar.webp"><link rel="shortcut icon" href="/img/favicon.ico"><link rel="canonical" href="https://bear556.top/index.html"><link rel="preconnect"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="/pluginsSrc/@fortawesome/fontawesome-free/css/all.min.css"><script>
|
||
(() => {
|
||
|
||
const saveToLocal = {
|
||
set: (key, value, ttl) => {
|
||
if (!ttl) return
|
||
const expiry = Date.now() + ttl * 86400000
|
||
localStorage.setItem(key, JSON.stringify({ value, expiry }))
|
||
},
|
||
get: key => {
|
||
const itemStr = localStorage.getItem(key)
|
||
if (!itemStr) return undefined
|
||
const { value, expiry } = JSON.parse(itemStr)
|
||
if (Date.now() > expiry) {
|
||
localStorage.removeItem(key)
|
||
return undefined
|
||
}
|
||
return value
|
||
}
|
||
}
|
||
|
||
window.btf = {
|
||
saveToLocal,
|
||
getScript: (url, attr = {}) => new Promise((resolve, reject) => {
|
||
const script = document.createElement('script')
|
||
script.src = url
|
||
script.async = true
|
||
Object.entries(attr).forEach(([key, val]) => script.setAttribute(key, val))
|
||
script.onload = script.onreadystatechange = () => {
|
||
if (!script.readyState || /loaded|complete/.test(script.readyState)) resolve()
|
||
}
|
||
script.onerror = reject
|
||
document.head.appendChild(script)
|
||
}),
|
||
getCSS: (url, id) => new Promise((resolve, reject) => {
|
||
const link = document.createElement('link')
|
||
link.rel = 'stylesheet'
|
||
link.href = url
|
||
if (id) link.id = id
|
||
link.onload = link.onreadystatechange = () => {
|
||
if (!link.readyState || /loaded|complete/.test(link.readyState)) resolve()
|
||
}
|
||
link.onerror = reject
|
||
document.head.appendChild(link)
|
||
}),
|
||
addGlobalFn: (key, fn, name = false, parent = window) => {
|
||
if (!true && key.startsWith('pjax')) return
|
||
const globalFn = parent.globalFn || {}
|
||
globalFn[key] = globalFn[key] || {}
|
||
globalFn[key][name || Object.keys(globalFn[key]).length] = fn
|
||
parent.globalFn = globalFn
|
||
}
|
||
}
|
||
|
||
|
||
const activateDarkMode = () => {
|
||
document.documentElement.setAttribute('data-theme', 'dark')
|
||
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
||
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
|
||
}
|
||
}
|
||
const activateLightMode = () => {
|
||
document.documentElement.setAttribute('data-theme', 'light')
|
||
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
||
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
|
||
}
|
||
}
|
||
|
||
btf.activateDarkMode = activateDarkMode
|
||
btf.activateLightMode = activateLightMode
|
||
|
||
const theme = saveToLocal.get('theme')
|
||
|
||
theme === 'dark' ? activateDarkMode() : theme === 'light' ? activateLightMode() : null
|
||
|
||
|
||
const asideStatus = saveToLocal.get('aside-status')
|
||
if (asideStatus !== undefined) {
|
||
document.documentElement.classList.toggle('hide-aside', asideStatus === 'hide')
|
||
}
|
||
|
||
|
||
const detectApple = () => {
|
||
if (/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)) {
|
||
document.documentElement.classList.add('apple')
|
||
}
|
||
}
|
||
detectApple()
|
||
|
||
})()
|
||
</script><script>const GLOBAL_CONFIG = {
|
||
root: '/',
|
||
algolia: undefined,
|
||
localSearch: {"path":"/search.xml","preload":true,"top_n_per_article":1,"unescape":true,"languages":{"hits_empty":"未找到符合您查询的内容:${query}","hits_stats":"共找到 ${hits} 篇文章"}},
|
||
translate: undefined,
|
||
highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false,"highlightFullpage":false,"highlightMacStyle":false},
|
||
copy: {
|
||
success: '复制成功',
|
||
error: '复制失败',
|
||
noSupport: '浏览器不支持'
|
||
},
|
||
relativeDate: {
|
||
homepage: false,
|
||
post: false
|
||
},
|
||
runtime: '',
|
||
dateSuffix: {
|
||
just: '刚刚',
|
||
min: '分钟前',
|
||
hour: '小时前',
|
||
day: '天前',
|
||
month: '个月前'
|
||
},
|
||
copyright: undefined,
|
||
lightbox: 'null',
|
||
Snackbar: undefined,
|
||
infinitegrid: {
|
||
js: '/pluginsSrc/@egjs/infinitegrid/dist/infinitegrid.min.js',
|
||
buttonText: '加载更多'
|
||
},
|
||
isPhotoFigcaption: false,
|
||
islazyload: false,
|
||
isAnchor: false,
|
||
percent: {
|
||
toc: true,
|
||
rightside: false,
|
||
},
|
||
autoDarkmode: false
|
||
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
|
||
title: '拾光小阁',
|
||
isPost: false,
|
||
isHome: true,
|
||
isHighlightShrink: false,
|
||
isToc: false,
|
||
isShuoshuo: false
|
||
}</script><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=LXGW+WenKai+TC:wght@700&display=swap" rel="stylesheet"><meta name="generator" content="Hexo 7.3.0"><link rel="alternate" href="/rss.xml" title="拾光小阁" type="application/rss+xml">
|
||
</head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><script>(()=>{
|
||
const $loadingBox = document.getElementById('loading-box')
|
||
const $body = document.body
|
||
const preloader = {
|
||
endLoading: () => {
|
||
$body.style.overflow = ''
|
||
$loadingBox.classList.add('loaded')
|
||
},
|
||
initLoading: () => {
|
||
$body.style.overflow = 'hidden'
|
||
$loadingBox.classList.remove('loaded')
|
||
}
|
||
}
|
||
|
||
preloader.initLoading()
|
||
window.addEventListener('load', preloader.endLoading)
|
||
|
||
if (true) {
|
||
btf.addGlobalFn('pjaxSend', preloader.initLoading, 'preloader_init')
|
||
btf.addGlobalFn('pjaxComplete', preloader.endLoading, 'preloader_end')
|
||
}
|
||
})()</script><div id="web_bg" style="background-image: url(https://cn-sy1.rains3.com/static-1/img/DFeeiOJQRFYUUFbBQM.webp);"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img text-center"><img src="/img/avatar.webp" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data text-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">14</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">11</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-user"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/links/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/talks/"><i class="fa-fw fas fa-comment"></i><span> 叨叨</span></a></div><div class="menus_item"><a class="site-page" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></div><div class="menus_item"><span class="site-page group"><i class="fa-fw fas fa-list"></i><span> 镜像</span><i class="fas fa-chevron-down"></i></span><ul class="menus_item_child"><li><a class="site-page child" href="https://bear556.top"><span> 主站</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://gh.bear556.top"><span> Github</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://blog.bear556.top"><span> Netlify</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://vc.bear556.top"><span> Vercel</span></a></li></ul></div><div class="menus_item"><a class="site-page" target="_blank" rel="noopener" href="https://www.travellings.cn/go.html"><i class="fa-fw fas fa-subway"></i><span> 开往</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url(https://cn-sy1.rains3.com/static-1/img/bg.webp);"><nav id="nav"><span id="blog-info"><a class="nav-site-title" href="/"><span class="site-name">拾光小阁</span></a></span><div id="menus"><div id="search-button"><span class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></span></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-user"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/links/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/talks/"><i class="fa-fw fas fa-comment"></i><span> 叨叨</span></a></div><div class="menus_item"><a class="site-page" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></div><div class="menus_item"><span class="site-page group"><i class="fa-fw fas fa-list"></i><span> 镜像</span><i class="fas fa-chevron-down"></i></span><ul class="menus_item_child"><li><a class="site-page child" href="https://bear556.top"><span> 主站</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://gh.bear556.top"><span> Github</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://blog.bear556.top"><span> Netlify</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://vc.bear556.top"><span> Vercel</span></a></li></ul></div><div class="menus_item"><a class="site-page" target="_blank" rel="noopener" href="https://www.travellings.cn/go.html"><i class="fa-fw fas fa-subway"></i><span> 开往</span></a></div></div><div id="toggle-menu"><span class="site-page"><i class="fas fa-bars fa-fw"></i></span></div></div></nav><div id="site-info"><h1 id="site-title">拾光小阁</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/StarGazer114" target="_blank" title="Github"><i class="fab fa-github" style="color: #24292e;"></i></a><a class="social-icon" href="mailto:ljsh666@outlook.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a><a class="social-icon" href="https://x.com/bear36609893920" target="_blank" title="Twitter"><i class="fab fa-twitter" style="color: #1da1f2;"></i></a><a class="social-icon" href="/rss.xml" target="_blank" title="RSS"><i class="fas fa-rss" style="color: #f26522;"></i></a><a class="social-icon" href="https://git.bear556.top/br/stargazer114.github.io" target="_blank" title="网站代码"><i class="far fa-file-code" style="color: #3AC402;"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts nc" id="recent-posts"><div class="recent-post-items"><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/6f831c5bafc6/" title="新年">新年</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-12-31T09:53:39.683Z" title="发表于 2024-12-31 17:53:39">2024-12-31</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%97%A5%E5%B8%B8/">日常</a></span></div><div class="content"> 祝大家在新的蛇年里越蛇越多 </div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/fab3e3ad8b47/" title="重构计划">重构计划</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-12-21T06:04:14.218Z" title="发表于 2024-12-21 14:04:14">2024-12-21</time></span></div><div class="content">打算用Butterfly主题对博客进行重构,感兴趣的xdm可以到拾光小阁 - 一隅安宁,拾起记忆的碎片这里看看😋 </div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/58dc525d892f/" title="原神圣经">原神圣经</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-11-18T06:36:50.000Z" title="发表于 2024-11-18 14:36:50">2024-11-18</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%8F%91%E7%96%AF/">发疯</a></span></div><div class="content">①你素质很差,我每天…… ②你说得对,但是…… ③差不多得了,屁大点事都要拐上…… ④鉴于你在网上侮辱…… ⑤一个不玩……的人,有两种可能性…… ⑥无知时诋毁……懂事时理解……成熟时想要成为…… ⑦玩游戏不玩……,就像…… ⑧是这样的,但是感觉不如…… 你说得对,但是呢,那个,就是……就是那个两个字的游戏,它那个,嗯,他是由那个,好像是三个字的那个什么公司,自主,啊,研发的一款…全新的,开放的,那个叫做什么的冒险,的游戏。这个游戏发生在一个…一个被称作,被称作…三个字的,的一个幻想的世界,然后就是呃呃啊啊啊我又忘了...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/1bab28b2bfe2/" title="ASF挂卡食用教程">ASF挂卡食用教程</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-10-26T22:04:12.000Z" title="发表于 2024-10-27 06:04:12">2024-10-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a></span></div><div class="content">ASF是一款steam挂卡软件,它可以自动帮我们挂机游戏开获取卡牌。提示:挂卡的原理是模拟游戏在线来掉落卡牌,所以会增加对应的游戏时长,如果你有赛博洁癖,请不要使用此软件! 可以到官方的GitHub仓库来下载最新版本GitHub 创建配置文件下载好之后,双击ArchiSteamFarm.exe后发现并不能开始挂卡,提示需要配置文件前往这个网站来生成一个配置文件Name,SteamLogin,SteamPassword分别填写你的机器人名字(可以自定义)你的steam用户名和密码,SteamParentalCode填你的家庭监护pin码(没有留空)然后点击下载,将下载到的文件放入asf目录下的congig文件夹,再次运行程序,即可开始挂卡 </div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/88e16ba1a3a2/" title="数据备份“321”原则">数据备份“321”原则</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-10-03T18:11:00.000Z" title="发表于 2024-10-04 02:11:00">2024-10-04</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a></span></div><div class="content">数据备份321原则是指3份备份,2种存储介质,1份异地备份 3份备份我们需要至少备份三个副本,这样即使其中的一个出现了问题,我们也能够有其他的备份来恢复数据,如果数据故障是独立事件,那么三份数据同时故障的几率将是百万分之一。 2种存储介质用2种不同媒介保存可确保不会因为使用同一装置存储数据而引起相同的故障。由于同一存储方案的不同硬盘有可能连续发生故障,建议将数据存于至少2种存储媒介,而且媒介需要位于不同地方。 1份异地备份由于火灾、洪水等意外即可毁坏区域内所有备份,建议将数据存储至不同的区域,比如云端。 数据无价,希望大家保存好自己的数据。 </div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/3b5544763853/" title="自建kms服务器激活Windows和office">自建kms服务器激活Windows和office</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-10-01T02:27:37.000Z" title="发表于 2024-10-01 10:27:37">2024-10-01</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a></span></div><div class="content">项目地址:https://github.com/dylanbai8/kmspro需要开放1688端口。激活方式:powershell输入slmgr /skms <kms服务器地址> && slmgr /ato你也可以使用我搭建的kms服务器slmgr /skms kms.bear556.top && slmgr /ato 1234567891011121314151617181920212223242526# 一键安装KMS服务 (Debian/Ubuntu/Mint 等)$ wget -N --no-check-certificate git.io/k.sh && chmod +x k.sh && bash k.sh debian# 一键安装KMS服务 (CentOS/Redhat/Fedora 等)(如果系统开启了防火墙 须自行开放 1688 端口)$ wget -N --no-check-certificate git.io/k.sh && chmod +x k.sh...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/bd79929458f6/" title="白嫖HEVC视频扩展">白嫖HEVC视频扩展</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-09-30T22:25:23.000Z" title="发表于 2024-10-01 06:25:23">2024-10-01</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%97%A5%E5%B8%B8/">日常</a></span></div><div class="content">hevc视频扩展可以让你的设备播放hevc格式的视频,但是微软商店上的hevc视频扩展是收费的,接下来教大家如何白嫖(其实就是Microsoft Rewards) 以下所有操作都需要挂港区魔法!!!同时系统地区一定要改成香港特别行政区!!! 兑换方式首先打开你的edge浏览器,点击账户,找到Microsoft Rewards积分,点击兑换。找到Microsoft 礼物卡,点击兑换(需要有足够的积分,赚取积分的方法下面会说)如果你的微软账户没有绑定手机号,会提示你绑定手机号,绑定大陆手机号即可。点击兑换,输入验证码,兑换成功~然后前往微软商店搜索hevc,点击购买即可 一些问题无法兑换“遇到了一些问题,请二十四小时后重试”这种情况有可能已经兑换成功了,留意一下邮箱里有没有微软发来的邮件,像这样:如果没有,请第二天重试 兑换页面没有Microsoft...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/d82a0472fde8/" title="雨云自动签到脚本">雨云自动签到脚本</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-09-24T06:23:39.000Z" title="发表于 2024-09-24 14:23:39">2024-09-24</time></span></div><div class="content">雨云每天签到都会给300积分(蚊子再小也是肉),可以用这个脚本来自动签到 首先登陆雨云控制台复制或者重新生成api密钥,复制下来(不要把你的密钥给任何人!!!)复制这个脚本,填写你的api密钥后放到服务器定制任务里即可 1234567curl --location --request POST 'https://api.v2.rainyun.com/user/reward/tasks' \--header 'x-api-key: 你的'API密钥' \--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \--header 'Content-Type: application/json' \--data-ascii '{ "task_name": "每日签到"}' </div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/58256fdefc6c/" title="使用ssh连接git服务">使用ssh连接git服务</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-09-15T01:28:35.000Z" title="发表于 2024-09-15 09:28:35">2024-09-15</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a></span></div><div class="content">生成密钥ssh-keygen -t rsa -C "你的邮箱",然后一路回车,前往~/.ssh目录下查看密钥打开id_rsa.pub文件,复制下来,前往[https://github.com/settings/keys]点击New ssh key,填写你刚刚复制的公钥内容,完成 测试连接ssh进行测试 1ssh git@github.com 返回结果 123PTY allocation request failed on channel 0Hi lijiashuai111! You've successfully authenticated, but GitHub does not provide shell access.Connection to github.com closed. 完成,你现在可以使用ssh来进行克隆,拉取等操作了 </div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/0bb772f89466/" title="部署hexo博客">部署hexo博客</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2024-09-11T04:56:32.000Z" title="发表于 2024-09-11 12:56:32">2024-09-11</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a></span></div><div class="content">Hexo 是一个快速、简洁且高效的博客框架。 Hexo 使用 Markdown(或其他标记语言)解析文章,在几秒内,即可利用靓丽的主题生成静态网页。 安装hexo可以参照官方文档安装. 一键部署脚本如果你实在看不懂安装文档,我这里写了一个一键安装脚本,用于安装npm和hexo(适用于Ubuntu系统),使用前请确保你的电脑上没有安装nodejs,使用node -v和npm -v来查看,如果提示bash: npm: command not found,即可使用这个脚本,成功运行后可以直接到~/blog目录下查看 1curl -O https://raw.githubusercontent.com/lijiashuai111/hexo-auto-install/main/hexo-auto-install.sh && sh hexo-auto-install.sh 配置文件Hexo的配置文件 _config.yml 包含了多个关键配置项,每个都具有特定的功能: title: 设置博客的标题。 subtitle: 设置博客的副标题。 description:...</div></div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/#content-inner">2</a><a class="extend next" rel="next" href="/page/2/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info text-center"><div class="avatar-img"><img src="/img/avatar.webp" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info-name">br</div><div class="author-info-description">万钟则不辨礼仪而受之,万种于我美滋滋</div><div class="site-data"><a href="/archives/"><div class="headline">文章</div><div class="length-num">14</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">11</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/StarGazer114"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons"><a class="social-icon" href="https://github.com/StarGazer114" target="_blank" title="Github"><i class="fab fa-github" style="color: #24292e;"></i></a><a class="social-icon" href="mailto:ljsh666@outlook.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a><a class="social-icon" href="https://x.com/bear36609893920" target="_blank" title="Twitter"><i class="fab fa-twitter" style="color: #1da1f2;"></i></a><a class="social-icon" href="/rss.xml" target="_blank" title="RSS"><i class="fas fa-rss" style="color: #f26522;"></i></a><a class="social-icon" href="https://git.bear556.top/br/stargazer114.github.io" target="_blank" title="网站代码"><i class="far fa-file-code" style="color: #3AC402;"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">随机更新,时常失踪</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/6f831c5bafc6/" title="新年">新年</a><time datetime="2024-12-31T09:53:39.683Z" title="发表于 2024-12-31 17:53:39">2024-12-31</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/fab3e3ad8b47/" title="重构计划">重构计划</a><time datetime="2024-12-21T06:04:14.218Z" title="发表于 2024-12-21 14:04:14">2024-12-21</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/58dc525d892f/" title="原神圣经"><img src="https://cn-sy1.rains3.com/img-bed/2024/12/22/6767835f07582.jpeg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="原神圣经"/></a><div class="content"><a class="title" href="/58dc525d892f/" title="原神圣经">原神圣经</a><time datetime="2024-11-18T06:36:50.000Z" title="发表于 2024-11-18 14:36:50">2024-11-18</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/1bab28b2bfe2/" title="ASF挂卡食用教程"><img src="https://cn-sy1.rains3.com/img-bed/2024/12/22/676783ac5efe3.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="ASF挂卡食用教程"/></a><div class="content"><a class="title" href="/1bab28b2bfe2/" title="ASF挂卡食用教程">ASF挂卡食用教程</a><time datetime="2024-10-26T22:04:12.000Z" title="发表于 2024-10-27 06:04:12">2024-10-27</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/88e16ba1a3a2/" title="数据备份“321”原则"><img src="https://t.mwm.moe/fj" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="数据备份“321”原则"/></a><div class="content"><a class="title" href="/88e16ba1a3a2/" title="数据备份“321”原则">数据备份“321”原则</a><time datetime="2024-10-03T18:11:00.000Z" title="发表于 2024-10-04 02:11:00">2024-10-04</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
|
||
<i class="fas fa-folder-open"></i>
|
||
<span>分类</span>
|
||
|
||
</div>
|
||
<ul class="card-category-list" id="aside-cat-list">
|
||
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%8F%91%E7%96%AF/"><span class="card-category-list-name">发疯</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%8A%80%E6%9C%AF/"><span class="card-category-list-name">技术</span><span class="card-category-list-count">6</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%97%A5%E5%B8%B8/"><span class="card-category-list-name">日常</span><span class="card-category-list-count">4</span></a></li>
|
||
</ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/" style="font-size: 1.23em; color: #999ea6">服务器</a> <a href="/tags/hexo/" style="font-size: 1.1em; color: #999">hexo</a> <a href="/tags/kms/" style="font-size: 1.1em; color: #999">kms</a> <a href="/tags/%E6%97%A5%E5%B8%B8/" style="font-size: 1.5em; color: #99a9bf">日常</a> <a href="/tags/netlify/" style="font-size: 1.1em; color: #999">netlify</a> <a href="/tags/Github/" style="font-size: 1.37em; color: #99a4b2">Github</a> <a href="/tags/%E6%96%B0%E5%B9%B4/" style="font-size: 1.1em; color: #999">新年</a> <a href="/tags/steam/" style="font-size: 1.1em; color: #999">steam</a> <a href="/tags/docsify/" style="font-size: 1.1em; color: #999">docsify</a> <a href="/tags/ASF/" style="font-size: 1.1em; color: #999">ASF</a> <a href="/tags/%E5%8E%9F%E7%A5%9E/" style="font-size: 1.1em; color: #999">原神</a></div></div><div class="card-widget card-archives">
|
||
<div class="item-headline">
|
||
<i class="fas fa-archive"></i>
|
||
<span>归档</span>
|
||
|
||
</div>
|
||
<ul class="card-archive-list">
|
||
|
||
<li class="card-archive-list-item">
|
||
<a class="card-archive-list-link" href="/archives/2024/12/">
|
||
<span class="card-archive-list-date">十二月 2024</span>
|
||
<span class="card-archive-list-count">2</span>
|
||
</a>
|
||
</li>
|
||
|
||
<li class="card-archive-list-item">
|
||
<a class="card-archive-list-link" href="/archives/2024/11/">
|
||
<span class="card-archive-list-date">十一月 2024</span>
|
||
<span class="card-archive-list-count">1</span>
|
||
</a>
|
||
</li>
|
||
|
||
<li class="card-archive-list-item">
|
||
<a class="card-archive-list-link" href="/archives/2024/10/">
|
||
<span class="card-archive-list-date">十月 2024</span>
|
||
<span class="card-archive-list-count">4</span>
|
||
</a>
|
||
</li>
|
||
|
||
<li class="card-archive-list-item">
|
||
<a class="card-archive-list-link" href="/archives/2024/09/">
|
||
<span class="card-archive-list-date">九月 2024</span>
|
||
<span class="card-archive-list-count">5</span>
|
||
</a>
|
||
</li>
|
||
|
||
<li class="card-archive-list-item">
|
||
<a class="card-archive-list-link" href="/archives/2024/08/">
|
||
<span class="card-archive-list-date">八月 2024</span>
|
||
<span class="card-archive-list-count">1</span>
|
||
</a>
|
||
</li>
|
||
|
||
<li class="card-archive-list-item">
|
||
<a class="card-archive-list-link" href="/archives/2023/08/">
|
||
<span class="card-archive-list-date">八月 2023</span>
|
||
<span class="card-archive-list-count">1</span>
|
||
</a>
|
||
</li>
|
||
</ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站信息</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">14</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总浏览量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2025-01-02T15:30:35.790Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer" style="background: transparent;"><div id="footer-wrap"><div class="copyright">©2023 - 2025 By br</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text"><a rel="nofollow" target="_blank" href="https://icp.gov.moe/?keyword=20240229">萌ICP备20240229号</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="日间和夜间模式切换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/pluginsSrc/instant.page/instantpage.js" type="module"></script><div class="js-pjax"><script>window.typedJSFn = {
|
||
init: str => {
|
||
window.typed = new Typed('#subtitle', Object.assign({
|
||
strings: str,
|
||
startDelay: 300,
|
||
typeSpeed: 150,
|
||
loop: true,
|
||
backSpeed: 50,
|
||
}, null))
|
||
},
|
||
run: subtitleType => {
|
||
if (true) {
|
||
if (typeof Typed === 'function') {
|
||
subtitleType()
|
||
} else {
|
||
btf.getScript('/pluginsSrc/typed.js/dist/typed.umd.js').then(subtitleType)
|
||
}
|
||
} else {
|
||
subtitleType()
|
||
}
|
||
}
|
||
}
|
||
btf.addGlobalFn('pjaxSendOnce', () => { typed.destroy() }, 'typedDestroy')
|
||
</script><script>function subtitleType () {
|
||
fetch('https://v1.hitokoto.cn')
|
||
.then(response => response.json())
|
||
.then(data => {
|
||
if (true) {
|
||
const from = '出自 ' + data.from
|
||
const sub = []
|
||
sub.unshift(data.hitokoto, from)
|
||
typedJSFn.init(sub)
|
||
} else {
|
||
document.getElementById('subtitle').textContent = data.hitokoto
|
||
}
|
||
})
|
||
}
|
||
typedJSFn.run(subtitleType)
|
||
</script></div><div class="aplayer no-destroy" data-id="9401784769" data-server="tencent" data-type="playlist" data-fixed="true" data-autoplay="true"> </div><script defer="defer" id="fluttering_ribbon" mobile="false" src="/pluginsSrc/butterfly-extsrc/dist/canvas-fluttering-ribbon.min.js"></script><link rel="stylesheet" href="/pluginsSrc/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="/pluginsSrc/aplayer/dist/APlayer.min.js"></script><script src="/pluginsSrc/butterfly-extsrc/metingjs/dist/Meting.min.js"></script><script>(() => {
|
||
const destroyAplayer = () => {
|
||
if (window.aplayers) {
|
||
for (let i = 0; i < window.aplayers.length; i++) {
|
||
if (!window.aplayers[i].options.fixed) {
|
||
window.aplayers[i].destroy()
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
const runMetingJS = () => {
|
||
typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()
|
||
}
|
||
|
||
btf.addGlobalFn('pjaxSend', destroyAplayer, 'destroyAplayer')
|
||
btf.addGlobalFn('pjaxComplete', loadMeting, 'runMetingJS')
|
||
})()</script><script src="/pluginsSrc/pjax/pjax.min.js"></script><script>(() => {
|
||
const pjaxSelectors = ["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"]
|
||
|
||
window.pjax = new Pjax({
|
||
elements: 'a:not([target="_blank"])',
|
||
selectors: pjaxSelectors,
|
||
cacheBust: false,
|
||
analytics: false,
|
||
scrollRestoration: false
|
||
})
|
||
|
||
const triggerPjaxFn = (val) => {
|
||
if (!val) return
|
||
Object.values(val).forEach(fn => fn())
|
||
}
|
||
|
||
document.addEventListener('pjax:send', () => {
|
||
// removeEventListener
|
||
btf.removeGlobalFnEvent('pjaxSendOnce')
|
||
btf.removeGlobalFnEvent('themeChange')
|
||
|
||
// reset readmode
|
||
const $bodyClassList = document.body.classList
|
||
if ($bodyClassList.contains('read-mode')) $bodyClassList.remove('read-mode')
|
||
|
||
triggerPjaxFn(window.globalFn.pjaxSend)
|
||
})
|
||
|
||
document.addEventListener('pjax:complete', () => {
|
||
btf.removeGlobalFnEvent('pjaxCompleteOnce')
|
||
document.querySelectorAll('script[data-pjax]').forEach(item => {
|
||
const newScript = document.createElement('script')
|
||
const content = item.text || item.textContent || item.innerHTML || ""
|
||
Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
|
||
newScript.appendChild(document.createTextNode(content))
|
||
item.parentNode.replaceChild(newScript, item)
|
||
})
|
||
|
||
triggerPjaxFn(window.globalFn.pjaxComplete)
|
||
})
|
||
|
||
document.addEventListener('pjax:error', e => {
|
||
if (e.request.status === 404) {
|
||
pjax.loadUrl('/404.html')
|
||
}
|
||
})
|
||
})()</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="text-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span> 数据加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜搜搜~" type="text"/></div></div><hr/><div id="local-search-results"></div><div id="local-search-stats-wrap"></div></div></div><div id="search-mask"></div><script src="/js/search/local-search.js"></script></div></div></body></html> |