This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (39 loc) · 26.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html><html lang="zh-CN" data-default-color-scheme="auto"><head><meta charset="UTF-8"><link rel="apple-touch-icon" sizes="76x76" href="/img/logo.png"><link rel="icon" href="/img/logo.png"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5,shrink-to-fit=no"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"><meta name="theme-color" content="#2f4154"><meta name="author" content="Gentsun"><meta name="keywords" content=""><meta name="description" content="GentsunCheng,事一个一个学生啊。会C,Java,Python等语言,有着网站与服务器维护经验,了解网络的各种知识,能处理网络方面的疑难杂症。"><meta property="og:type" content="website"><meta property="og:title" content="orii博客"><meta property="og:url" content="https://blog.orii.xyz/index.html"><meta property="og:site_name" content="orii博客"><meta property="og:description" content="GentsunCheng,事一个一个学生啊。会C,Java,Python等语言,有着网站与服务器维护经验,了解网络的各种知识,能处理网络方面的疑难杂症。"><meta property="og:locale" content="zh_CN"><meta property="article:author" content="Gentsun"><meta name="twitter:card" content="summary_large_image"><link rel="manifest" href="/manifest.json"><title>orii博客</title><link rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css"><link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css"><link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css"><link rel="stylesheet" href="/css/main.css"><link id="highlight-css" rel="stylesheet" href="/css/highlight.css"><link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css"><link rel="stylesheet" href="/css/cloudedGlass.css"><link rel="stylesheet" href="//at.alicdn.com/t/c/font_3897951_1e9swbl37dv.css"><script id="fluid-configs">var Fluid=window.Fluid||{};Fluid.ctx=Object.assign({},Fluid.ctx);var dntVal,CONFIG={hostname:"blog.orii.xyz",root:"/",version:"1.9.4",typing:{enable:!0,typeSpeed:70,cursorChar:"_",loop:!1,scope:[]},anchorjs:{enable:!0,element:"h1,h2,h3,h4,h5,h6",placement:"left",visible:"hover",icon:""},progressbar:{enable:!0,height_px:3,color:"#29d",options:{showSpinner:!1,trickleSpeed:100}},code_language:{enable:!0,default:"TEXT"},copy_btn:!0,image_caption:{enable:!0},image_zoom:{enable:!0,img_url_replace:["",""]},toc:{enable:!0,placement:"left",headingSelector:"h1,h2,h3,h4,h5,h6",collapseDepth:0},lazyload:{enable:!0,loading_img:"/img/loading.gif",onlypost:!1,offset_factor:2},web_analytics:{enable:!0,follow_dnt:!0,baidu:null,google:null,gtag:null,tencent:{sid:null,cid:null},woyaola:null,cnzz:null,leancloud:{app_id:"ZTmxbwYWzaEXjAMKs8S1KdcD-MdYXbMMI",app_key:"wWGFPlQ89TGjRV12mB7LrcVP",server_url:"https://api.waline.orii.xyz",path:"window.location.pathname",ignore_local:!0}},search_path:"/local-search.xml"};CONFIG.web_analytics.follow_dnt&&(dntVal=navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack,Fluid.ctx.dnt=dntVal&&(dntVal.startsWith("1")||dntVal.startsWith("yes")||dntVal.startsWith("on")))</script><script src="/js/utils.js"></script><script src="/js/color-schema.js"></script><meta name="generator" content="Hexo 6.3.0"><link rel="alternate" href="/atom.xml" title="orii博客" type="application/atom+xml"></head><body><header><div class="header-inner" style="height:100vh"><nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar"><div class="container"><a class="navbar-brand" href="/"><strong>Gentsunの博客</strong> </a><button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><div class="animated-icon"><span></span><span></span><span></span></div></button><div class="collapse navbar-collapse" id="navbarSupportedContent"><ul class="navbar-nav ml-auto text-center"><li class="nav-item"><a class="nav-link" href="/"><i class="iconfont icon-home-fill"></i> <span>首页</span></a></li><li class="nav-item"><a class="nav-link" href="/archives/"><i class="iconfont icon-archive-fill"></i> <span>归档</span></a></li><li class="nav-item"><a class="nav-link" href="/categories/"><i class="iconfont icon-category-fill"></i> <span>分类</span></a></li><li class="nav-item"><a class="nav-link" href="/tags/"><i class="iconfont icon-tags-fill"></i> <span>标签</span></a></li><li class="nav-item"><a class="nav-link" href="/about/"><i class="iconfont icon-user-fill"></i> <span>关于</span></a></li><li class="nav-item" id="search-btn"><a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search"><i class="iconfont icon-search"></i></a></li><li class="nav-item" id="color-toggle-btn"><a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle"><i class="iconfont icon-dark" id="color-toggle-icon"></i></a></li></ul></div></div></nav><div id="banner" class="banner" parallax="true" style="background:url(/img/default.webp) no-repeat center center;background-size:cover"><div class="full-bg-img"><div class="mask flex-center" style="background-color:rgba(0,0,0,.3)"><div class="banner-text text-center fade-in-up"><div class="h2"><span id="subtitle" data-typed-text="orii blog,Waiting for you forever"></span></div></div><div class="scroll-down-bar"><i class="iconfont icon-arrowdown"></i></div></div></div></div></div></header><main><div class="container nopadding-x-md"><div id="board" style="margin-top:0"><div class="container"><div class="row"><div class="col-12 col-md-10 m-auto"><div class="row mx-auto index-card"><div class="col-12 col-md-4 m-auto index-img"><a href="/202304/%E5%88%A9%E7%94%A8%E5%BE%AE%E8%BD%AF%E5%AE%98%E6%96%B9%E5%B7%A5%E5%85%B7GraphExplorer%E6%B7%BB%E5%8A%A0-%E4%BF%AE%E6%94%B9API%E5%BA%94%E7%94%A8%E5%AF%86%E9%92%A5%E6%97%B6%E9%97%B4/" target="_self"><img src="/img/default_index.webp" srcset="/img/loading.gif" lazyload alt="利用微软官方工具GraphExplorer添加&修改API应用密钥时间"></a></div><article class="col-12 col-md-8 mx-auto index-info"><h1 class="index-header"><a href="/202304/%E5%88%A9%E7%94%A8%E5%BE%AE%E8%BD%AF%E5%AE%98%E6%96%B9%E5%B7%A5%E5%85%B7GraphExplorer%E6%B7%BB%E5%8A%A0-%E4%BF%AE%E6%94%B9API%E5%BA%94%E7%94%A8%E5%AF%86%E9%92%A5%E6%97%B6%E9%97%B4/" target="_self">利用微软官方工具GraphExplorer添加&修改API应用密钥时间</a></h1><a class="index-excerpt" href="/202304/%E5%88%A9%E7%94%A8%E5%BE%AE%E8%BD%AF%E5%AE%98%E6%96%B9%E5%B7%A5%E5%85%B7GraphExplorer%E6%B7%BB%E5%8A%A0-%E4%BF%AE%E6%94%B9API%E5%BA%94%E7%94%A8%E5%AF%86%E9%92%A5%E6%97%B6%E9%97%B4/" target="_self"><div>前言 现在 Microsoft 365 / Office 365 A1 A1P E3 MSDN 等添加 API 后,应用密钥时间最多是两年,以防万一,我们当然希望应用密钥时间越长越好,其实官方给出了相应的方法 具体可参照官方文档 正式开始 打开GraphExplorer 使用全局管理员账号登录(你注册使用的微软账户) 在 修改权限 中同意授权 请求头修改为 POST 将 0cb</div></a><div class="index-btm post-metas"><div class="post-meta mr-3"><i class="iconfont icon-date"></i> <time datetime="2023-04-16 16:18" pubdate>2023-04-16</time></div><div class="post-meta mr-3 d-flex align-items-center"><i class="iconfont icon-category"></i> <span class="category-chains"><span class="category-chain"><a href="/categories/Develop/" class="category-chain-item">Develop</a> <span>></span> <a href="/categories/Develop/Application/" class="category-chain-item">Application</a></span></span></div><div class="post-meta"><i class="iconfont icon-tags"></i> <a href="/tags/Develop/">#Develop</a></div></div></article></div><div class="row mx-auto index-card"><div class="col-12 col-md-4 m-auto index-img"><a href="/202301/%E4%BD%BF%E7%94%A8cloudflare-Worker%E4%BB%A3%E7%90%86telegram-bot-api/" target="_self"><img src="/img/index/CF-TG.webp" srcset="/img/loading.gif" lazyload alt="使用cloudflare Worker代理telegram bot api"></a></div><article class="col-12 col-md-8 mx-auto index-info"><h1 class="index-header"><a href="/202301/%E4%BD%BF%E7%94%A8cloudflare-Worker%E4%BB%A3%E7%90%86telegram-bot-api/" target="_self">使用cloudflare Worker代理telegram bot api</a></h1><a class="index-excerpt" href="/202301/%E4%BD%BF%E7%94%A8cloudflare-Worker%E4%BB%A3%E7%90%86telegram-bot-api/" target="_self"><div>前言 众所周知,Telegram不在中国提供服务,以至于Telegram bot api无法使用。并且我们要在程序中使用Telegram bot api时,代理程序不好写进去,一般都会使用系统代理或干脆直接tun模式来强制程序代理。这时不妨换个思路,使用cloudflare代理telegram bot api。(也可以在vps上使用nginx反代。但白嫖cloudflare更爽,要实现真</div></a><div class="index-btm post-metas"><div class="post-meta mr-3"><i class="iconfont icon-date"></i> <time datetime="2023-01-22 14:05" pubdate>2023-01-22</time></div><div class="post-meta mr-3 d-flex align-items-center"><i class="iconfont icon-category"></i> <span class="category-chains"><span class="category-chain"><a href="/categories/Web/" class="category-chain-item">Web</a> <span>></span> <a href="/categories/Web/CDN/" class="category-chain-item">CDN</a></span></span></div><div class="post-meta"><i class="iconfont icon-tags"></i> <a href="/tags/Web/">#Web</a> <a href="/tags/CDN/">#CDN</a> <a href="/tags/Telegram/">#Telegram</a> <a href="/tags/Cloudflare/">#Cloudflare</a></div></div></article></div><div class="row mx-auto index-card"><div class="col-12 col-md-4 m-auto index-img"><a href="/202301/RSS%E4%BB%8B%E7%BB%8D-%E4%B8%BA%E4%BD%A0%E7%9A%84Hexo%E5%8D%9A%E5%AE%A2%E6%B7%BB%E5%8A%A0RSS/" target="_self"><img src="/img/index/Hexo-RSS.webp" srcset="/img/loading.gif" lazyload alt="RSS介绍+为你的Hexo博客添加RSS"></a></div><article class="col-12 col-md-8 mx-auto index-info"><h1 class="index-header"><a href="/202301/RSS%E4%BB%8B%E7%BB%8D-%E4%B8%BA%E4%BD%A0%E7%9A%84Hexo%E5%8D%9A%E5%AE%A2%E6%B7%BB%E5%8A%A0RSS/" target="_self">RSS介绍+为你的Hexo博客添加RSS</a></h1><a class="index-excerpt" href="/202301/RSS%E4%BB%8B%E7%BB%8D-%E4%B8%BA%E4%BD%A0%E7%9A%84Hexo%E5%8D%9A%E5%AE%A2%E6%B7%BB%E5%8A%A0RSS/" target="_self"><div>RSS介绍 暂时略~~~ 为Hexo添加RSS hexo-generator-feed插件 在Hexo目录下使用如下指令安装RSS生成工具, hexo-generator-feed 1npm install hexo-generator-feed 在 _config.yml 文件添加配置 12345678feed: type: atom path: atom.xml</div></a><div class="index-btm post-metas"><div class="post-meta mr-3"><i class="iconfont icon-date"></i> <time datetime="2023-01-22 14:03" pubdate>2023-01-22</time></div><div class="post-meta mr-3 d-flex align-items-center"><i class="iconfont icon-category"></i> <span class="category-chains"><span class="category-chain"><a href="/categories/Web/" class="category-chain-item">Web</a> <span>></span> <a href="/categories/Web/Blog/" class="category-chain-item">Blog</a> <span>></span> <a href="/categories/Web/Blog/RSS/" class="category-chain-item">RSS</a></span></span></div><div class="post-meta"><i class="iconfont icon-tags"></i> <a href="/tags/Web/">#Web</a> <a href="/tags/Blog/">#Blog</a> <a href="/tags/RSS/">#RSS</a></div></div></article></div><div class="row mx-auto index-card"><div class="col-12 col-md-4 m-auto index-img"><a href="/202301/Grub%E6%9B%B4%E6%94%B9%E6%8E%92%E5%BA%8F-%E4%B8%8D%E6%98%AF%E9%BB%98%E8%AE%A4%E5%90%AF%E5%8A%A8%E9%A1%B9/" target="_self"><img src="/img/index/grub.webp" srcset="/img/loading.gif" lazyload alt="Grub更改排序(不是默认启动项)"></a></div><article class="col-12 col-md-8 mx-auto index-info"><h1 class="index-header"><a href="/202301/Grub%E6%9B%B4%E6%94%B9%E6%8E%92%E5%BA%8F-%E4%B8%8D%E6%98%AF%E9%BB%98%E8%AE%A4%E5%90%AF%E5%8A%A8%E9%A1%B9/" target="_self">Grub更改排序(不是默认启动项)</a></h1><a class="index-excerpt" href="/202301/Grub%E6%9B%B4%E6%94%B9%E6%8E%92%E5%BA%8F-%E4%B8%8D%E6%98%AF%E9%BB%98%E8%AE%A4%E5%90%AF%E5%8A%A8%E9%A1%B9/" target="_self"><div>前言 由于主要使用Windows,但按照常规方法设置grub默认启动项后,会(强)十(迫)分(症)影(受)响(不)美(了)观,所以,这篇文章给出更改grub排序的教程 开始吧 在 /etc/grub.d 目录中,脚本文件的文件名都是以数字开头,这确定了在执行 update-grub 时各文件内容被执行的顺序。找到30_os-prober这个文件,把30_os-prober这个文件名的数</div></a><div class="index-btm post-metas"><div class="post-meta mr-3"><i class="iconfont icon-date"></i> <time datetime="2023-01-19 11:42" pubdate>2023-01-19</time></div><div class="post-meta mr-3 d-flex align-items-center"><i class="iconfont icon-category"></i> <span class="category-chains"><span class="category-chain"><a href="/categories/Linux/" class="category-chain-item">Linux</a> <span>></span> <a href="/categories/Linux/Grub/" class="category-chain-item">Grub</a></span></span></div><div class="post-meta"><i class="iconfont icon-tags"></i> <a href="/tags/Linux/">#Linux</a> <a href="/tags/Grub/">#Grub</a></div></div></article></div><div class="row mx-auto index-card"><div class="col-12 col-md-4 m-auto index-img"><a href="/202301/Ubuntu%E7%AD%BE%E5%90%8D%E5%86%85%E6%A0%B8/" target="_self"><img src="/img/index/ubuntu.webp" srcset="/img/loading.gif" lazyload alt="Ubuntu签名内核"></a></div><article class="col-12 col-md-8 mx-auto index-info"><h1 class="index-header"><a href="/202301/Ubuntu%E7%AD%BE%E5%90%8D%E5%86%85%E6%A0%B8/" target="_self">Ubuntu签名内核</a></h1><a class="index-excerpt" href="/202301/Ubuntu%E7%AD%BE%E5%90%8D%E5%86%85%E6%A0%B8/" target="_self"><div>前言,起因 由于某些原因,电脑需要开启Secure Boot为了体验Linux Kernel 6.1的新特性(我也不知道要体验啥),但Ubuntu官方还未签名新的Linux内核,于是决定自己签名内核。 这篇文章将带你了解如何在不关闭安全启动的情况下引导Linux内核(签名unsigned内核) 了解Linux Secure Boot机制(基于Grub2) 安装Ubuntu时,官方会同时</div></a><div class="index-btm post-metas"><div class="post-meta mr-3"><i class="iconfont icon-date"></i> <time datetime="2023-01-18 11:45" pubdate>2023-01-18</time></div><div class="post-meta mr-3 d-flex align-items-center"><i class="iconfont icon-category"></i> <span class="category-chains"><span class="category-chain"><a href="/categories/Linux/" class="category-chain-item">Linux</a> <span>></span> <a href="/categories/Linux/Ubuntu/" class="category-chain-item">Ubuntu</a></span></span></div><div class="post-meta"><i class="iconfont icon-tags"></i> <a href="/tags/Ubuntu/">#Ubuntu</a> <a href="/tags/Linux-Kernel/">#Linux Kernel</a> <a href="/tags/Secure-Boot/">#Secure Boot</a></div></div></article></div><div class="row mx-auto index-card"><div class="col-12 col-md-4 m-auto index-img"><a href="/202301/Hexo%E7%AB%99%E7%82%B9%E6%94%B6%E5%BD%95/" target="_self"><img src="/img/index/SEO.webp" srcset="/img/loading.gif" lazyload alt="Hexo站点收录"></a></div><article class="col-12 col-md-8 mx-auto index-info"><h1 class="index-header"><a href="/202301/Hexo%E7%AB%99%E7%82%B9%E6%94%B6%E5%BD%95/" target="_self">Hexo站点收录</a></h1><a class="index-excerpt" href="/202301/Hexo%E7%AB%99%E7%82%B9%E6%94%B6%E5%BD%95/" target="_self"><div>前言 网站在没有提交搜索引擎收录之前,直接搜索你网站的内容是搜不到的,只有提交搜索引擎之后,搜索引擎才能收录你的站点,通过爬虫抓取你网站的东西,对于 hexo 博客来说,如果你是部署在 GitHub Pages,那么你是无法被百度收录的,因为 GitHub 禁止了百度爬虫,最常见的解决办法是双线部署到 Coding Pages 和 GitHub Pages 查看网站是否被收录 首先我</div></a><div class="index-btm post-metas"><div class="post-meta mr-3"><i class="iconfont icon-date"></i> <time datetime="2023-01-18 09:40" pubdate>2023-01-18</time></div><div class="post-meta mr-3 d-flex align-items-center"><i class="iconfont icon-category"></i> <span class="category-chains"><span class="category-chain"><a href="/categories/Web/" class="category-chain-item">Web</a> <span>></span> <a href="/categories/Web/Blog/" class="category-chain-item">Blog</a> <span>></span> <a href="/categories/Web/Blog/SEO/" class="category-chain-item">SEO</a></span></span></div><div class="post-meta"><i class="iconfont icon-tags"></i> <a href="/tags/Web/">#Web</a> <a href="/tags/Blog/">#Blog</a> <a href="/tags/SEO/">#SEO</a></div></div></article></div><div class="row mx-auto index-card"><div class="col-12 col-md-4 m-auto index-img"><a href="/202211/%E7%AC%AC%E4%B8%80%E7%AF%87%E5%8D%9A%E5%AE%A2%EF%BC%8Chexo-GitHub%E6%90%AD%E5%BB%BA/" target="_self"><img src="/img/index/hexo.webp" srcset="/img/loading.gif" lazyload alt="第一篇博客,hexo+GitHub搭建"></a></div><article class="col-12 col-md-8 mx-auto index-info"><h1 class="index-header"><a href="/202211/%E7%AC%AC%E4%B8%80%E7%AF%87%E5%8D%9A%E5%AE%A2%EF%BC%8Chexo-GitHub%E6%90%AD%E5%BB%BA/" target="_self">第一篇博客,hexo+GitHub搭建</a></h1><a class="index-excerpt" href="/202211/%E7%AC%AC%E4%B8%80%E7%AF%87%E5%8D%9A%E5%AE%A2%EF%BC%8Chexo-GitHub%E6%90%AD%E5%BB%BA/" target="_self"><div>个人博客搭建,hexo+github 前言与准备: 准备好一个GitHub账号 创建方法略 ### 安装nodejs 略,官网安装 ### 安装hexo等环境 命令行输入以下指令进行安装 1npm install -g hexo-cli hexo-deployer-git 准备工作完成 Github设置 GitHub创建个人仓库 登录到GitHub,如果没有GitHub帐号,使用你</div></a><div class="index-btm post-metas"><div class="post-meta mr-3"><i class="iconfont icon-date"></i> <time datetime="2022-11-03 14:39" pubdate>2022-11-03</time></div><div class="post-meta mr-3 d-flex align-items-center"><i class="iconfont icon-category"></i> <span class="category-chains"><span class="category-chain"><a href="/categories/Web/" class="category-chain-item">Web</a> <span>></span> <a href="/categories/Web/Blog/" class="category-chain-item">Blog</a></span></span></div><div class="post-meta"><i class="iconfont icon-tags"></i> <a href="/tags/Web/">#Web</a> <a href="/tags/Blog/">#Blog</a></div></div></article></div></div></div></div></div></div><a id="scroll-top-button" aria-label="TOP" href="#" role="button"><i class="iconfont icon-arrowup" aria-hidden="true"></i></a><div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true"><div class="modal-dialog modal-dialog-scrollable modal-lg" role="document"><div class="modal-content"><div class="modal-header text-center"><h4 class="modal-title w-100 font-weight-bold">搜索</h4><button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button></div><div class="modal-body mx-3"><div class="md-form mb-5"><input type="text" id="local-search-input" class="form-control validate"> <label data-error="x" data-success="v" for="local-search-input">关键词</label></div><div class="list-group" id="local-search-result"></div></div></div></div></div></main><footer><div class="footer-inner"><div class="footer-content"><a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a><br><i class="iconfont icon-time"></i> <span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span></div><div class="statistics"><span id="leancloud-site-pv-container" style="display:none">总访问量 <span id="leancloud-site-pv"></span> 次 </span><span id="leancloud-site-uv-container" style="display:none">总访客数 <span id="leancloud-site-uv"></span> 人</span></div></div></footer><script src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js"></script><link rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css"><script>NProgress.configure({showSpinner:!1,trickleSpeed:100}),NProgress.start(),window.addEventListener("load",function(){NProgress.done()})</script><script src="https://lib.baomitu.com/jquery/3.6.0/jquery.min.js"></script><script src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js"></script><script src="/js/events.js"></script><script src="/js/plugins.js"></script><script src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js"></script><script>(function (window, document) {
var typing = Fluid.plugins.typing;
var subtitle = document.getElementById('subtitle');
if (!subtitle || !typing) {
return;
}
var text = subtitle.getAttribute('data-typed-text');
jQuery.ajax({
type: 'GET',
url: 'https://v1.hitokoto.cn/?c=b&c=d&c=e&i&k',
headers: {},
dataType: 'json',
success: function(result) {
var apiText;
if (result) {
var keys = 'hitokoto'.split(',');
if (result instanceof Array) {
result = result[0];
}
for (const k of keys) {
var value = result[k];
if (typeof value === 'string') {
apiText = value;
break;
} else if (value instanceof Object) {
result = value;
}
}
}
apiText ? typing(apiText) : typing(text);
},
error: function(xhr, status, error) {
if (error) {
console.error('Failed to request https://v1.hitokoto.cn/?c=b&c=d&c=e&i&k:', error);
}
typing(text);
}
})
})(window, document);</script><script src="/js/img-lazyload.js"></script><script defer src="/js/leancloud.js"></script><script src="/js/local-search.js"></script><script src="/js/stime.js"></script><script src="/js/snowflake.js"></script><script src="/js/boot.js"></script><noscript><div class="noscript-warning">博客在允许 JavaScript 运行的环境下浏览效果更佳</div></noscript><script>"use strict";if("serviceWorker"in navigator){navigator.serviceWorker.register("service-worker.js").then((function(reg){reg.onupdatefound=function(){var installingWorker=reg.installing;installingWorker.onstatechange=function(){switch(installingWorker.state){case"installed":if(navigator.serviceWorker.controller){console.log("New or updated content is available.")}else{console.log("Content is now available offline!")}break;case"redundant":console.error("The installing service worker became redundant.");break}}}}))["catch"]((function(e){console.error("Error during service worker registration:",e)}))}</script><script async>window.onload=function(){var a=document.createElement('script'),b=document.getElementsByTagName('script')[0];a.type='text/javascript',a.async=!0,a.src='/sw-register.js?v='+Date.now(),b.parentNode.insertBefore(a,b)};</script><script>"use strict";if("serviceWorker"in navigator){navigator.serviceWorker.register("service-worker.js").then((function(reg){reg.onupdatefound=function(){var installingWorker=reg.installing;installingWorker.onstatechange=function(){switch(installingWorker.state){case"installed":if(navigator.serviceWorker.controller){console.log("New or updated content is available.")}else{console.log("Content is now available offline!")}break;case"redundant":console.error("The installing service worker became redundant.");break}}}}))["catch"]((function(e){console.error("Error during service worker registration:",e)}))}</script><script async>window.onload=function(){var a=document.createElement('script'),b=document.getElementsByTagName('script')[0];a.type='text/javascript',a.async=!0,a.src='/sw-register.js?v='+Date.now(),b.parentNode.insertBefore(a,b)};</script><script>"use strict";if("serviceWorker"in navigator){navigator.serviceWorker.register("service-worker.js").then((function(reg){reg.onupdatefound=function(){var installingWorker=reg.installing;installingWorker.onstatechange=function(){switch(installingWorker.state){case"installed":if(navigator.serviceWorker.controller){console.log("New or updated content is available.")}else{console.log("Content is now available offline!")}break;case"redundant":console.error("The installing service worker became redundant.");break}}}}))["catch"]((function(e){console.error("Error during service worker registration:",e)}))}</script><script async>window.onload=function(){var a=document.createElement('script'),b=document.getElementsByTagName('script')[0];a.type='text/javascript',a.async=!0,a.src='/sw-register.js?v='+Date.now(),b.parentNode.insertBefore(a,b)};</script><script>"use strict";if("serviceWorker"in navigator){navigator.serviceWorker.register("service-worker.js").then((function(reg){reg.onupdatefound=function(){var installingWorker=reg.installing;installingWorker.onstatechange=function(){switch(installingWorker.state){case"installed":if(navigator.serviceWorker.controller){console.log("New or updated content is available.")}else{console.log("Content is now available offline!")}break;case"redundant":console.error("The installing service worker became redundant.");break}}}}))["catch"]((function(e){console.error("Error during service worker registration:",e)}))}</script><script async>window.onload=function(){var a=document.createElement('script'),b=document.getElementsByTagName('script')[0];a.type='text/javascript',a.async=!0,a.src='/sw-register.js?v='+Date.now(),b.parentNode.insertBefore(a,b)};</script><script>"use strict";if("serviceWorker"in navigator){navigator.serviceWorker.register("service-worker.js").then((function(reg){reg.onupdatefound=function(){var installingWorker=reg.installing;installingWorker.onstatechange=function(){switch(installingWorker.state){case"installed":if(navigator.serviceWorker.controller){console.log("New or updated content is available.")}else{console.log("Content is now available offline!")}break;case"redundant":console.error("The installing service worker became redundant.");break}}}}))["catch"]((function(e){console.error("Error during service worker registration:",e)}))}</script><script async>window.onload=function(){var a=document.createElement('script'),b=document.getElementsByTagName('script')[0];a.type='text/javascript',a.async=!0,a.src='/sw-register.js?v='+Date.now(),b.parentNode.insertBefore(a,b)};</script><script>"use strict";if("serviceWorker"in navigator){navigator.serviceWorker.register("service-worker.js").then((function(reg){reg.onupdatefound=function(){var installingWorker=reg.installing;installingWorker.onstatechange=function(){switch(installingWorker.state){case"installed":if(navigator.serviceWorker.controller){console.log("New or updated content is available.")}else{console.log("Content is now available offline!")}break;case"redundant":console.error("The installing service worker became redundant.");break}}}}))["catch"]((function(e){console.error("Error during service worker registration:",e)}))}</script><script async>window.onload=function(){var a=document.createElement('script'),b=document.getElementsByTagName('script')[0];a.type='text/javascript',a.async=!0,a.src='/sw-register.js?v='+Date.now(),b.parentNode.insertBefore(a,b)};</script></body></html>