-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
169 lines (161 loc) · 22.4 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html><html class="theme-next pisces use-motion" lang=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, maximum-scale=1"><meta name=theme-color content=#222><script src="/lib/pace/pace.min.js?v=1.0.2"></script><link href="/lib/pace/pace-theme-center-radar.min.css?v=1.0.2" rel=stylesheet><meta http-equiv=Cache-Control content=no-transform><meta http-equiv=Cache-Control content=no-siteapp><meta name=google-site-verification content=qWTkVUmh9O2frQopzIZ3Dd1UD2Qew0nc5XHRnnNin34><meta name=baidu-site-verification content=Jt7VDVOpNd><link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel=stylesheet type=text/css><link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel=stylesheet type=text/css><link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel=stylesheet type=text/css><link href="/css/main.css?v=5.1.4" rel=stylesheet type=text/css><link rel=apple-touch-icon sizes=180x180 href="/images/apple-touch-icon-next.png?v=5.1.4"><link rel=icon type=image/png sizes=32x32 href="/images/favicon-32x32-next.png?v=5.1.4"><link rel=icon type=image/png sizes=16x16 href="/images/favicon-16x16-next.png?v=5.1.4"><link rel=mask-icon href="/images/logo.svg?v=5.1.4" color=#222><meta name=keywords content="Hexo, NexT"><link rel=alternate href=/atom.xml title=一颗大白菜的猪 type=application/atom+xml><meta name=description content=一颗大白菜的猪><meta property=og:type content=website><meta property=og:title content=一颗大白菜的猪><meta property=og:url content=https://blog.ccrmbiu.com/index.html><meta property=og:site_name content=一颗大白菜的猪><meta property=og:description content=一颗大白菜的猪><meta property=og:locale content=zh_CN><meta property=article:author content=一颗大白菜的猪><meta property=article:tag content=杂货铺><meta name=twitter:card content=summary><script type=text/javascript id=hexo.configurations>
var NexT = window.NexT || {};
var CONFIG = {
root: '/',
scheme: 'Pisces',
version: '5.1.4',
sidebar: {"position":"left","display":"always","offset":12,"b2t":false,"scrollpercent":true,"onmobile":true},
fancybox: true,
tabs: true,
motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
duoshuo: {
userId: '0',
author: '博主'
},
algolia: {
applicationID: 'VEE52TXWT1',
apiKey: '4bf2a9da6a04a45fdba012e33527c0c7',
indexName: 'index',
hits: {"per_page":10},
labels: {"input_placeholder":"查些什么呢","hits_empty":"我们没有找到任何搜索结果: ${query}","hits_stats":"找到约${hits}条结果(用时${time}ms)"}
}
};
</script><script>(function(i,s,o,g,r,a,m){i["DaoVoiceObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset="utf-8";m.parentNode.insertBefore(a,m)})(window,document,"script",('https:' == document.location.protocol ? 'https:' : 'http:') + "//widget.daovoice.io/widget/adaac17f.js","daovoice")</script><script>
daovoice('init', {
app_id: "adaac17f",
user_id: "NO_89757", // 必填: 该用户在您系统上的唯一ID
});
daovoice('update');
</script><link rel=canonical href="https://blog.ccrmbiu.com/"><title>一颗大白菜的猪</title><script type=text/javascript>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?39dfee4bd6e5778f2c8790e7b23f206b";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script><meta name=generator content="Hexo 4.2.0"></head><canvas class=fireworks style="position: fixed;left: 0;top: 0;z-index: 1; pointer-events: none;"></canvas><script type=text/javascript src=//cdn.bootcss.com/animejs/2.2.0/anime.min.js></script><script type=text/javascript src=/js/src/fireworks.js></script><body itemscope itemtype=http://schema.org/WebPage lang=zh-CN><div class="container sidebar-position-left page-home"><div class=headband></div><header id=header class=header itemscope itemtype=http://schema.org/WPHeader><div class=header-inner><div class=site-brand-wrapper><div class=site-meta><div class=custom-logo-site-title><a href="/" class=brand rel=start><span class=logo-line-before><i></i></span> <span class=site-title>一颗大白菜的猪</span> <span class=logo-line-after><i></i></span></a></div><h1 class=site-subtitle itemprop=description>世界那么大,刚好遇见你<br>⊂(`ω´∩)-biubiu-></h1></div><div class=site-nav-toggle><button><span class=btn-bar></span> <span class=btn-bar></span> <span class=btn-bar></span></button></div></div><nav class=site-nav><ul id=menu class=menu><li class="menu-item menu-item-home"><a href="/" rel=section><i class="menu-item-icon fa fa-fw fa-home"></i><br>首页</a></li><li class="menu-item menu-item-about"><a href="/about/" rel=section><i class="menu-item-icon fa fa-fw fa-user"></i><br>关于</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel=section><i class="menu-item-icon fa fa-fw fa-tags"></i><br>标签</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel=section><i class="menu-item-icon fa fa-fw fa-th"></i><br>分类</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel=section><i class="menu-item-icon fa fa-fw fa-archive"></i><br>归档</a></li><li class="menu-item menu-item-top"><a href="/top/" rel=section><i class="menu-item-icon fa fa-fw fa-signal"></i><br>阅读量排行</a></li><li class="menu-item menu-item-sitemap"><a href=/sitemap.xml rel=section><i class="menu-item-icon fa fa-fw fa-sitemap"></i><br>站点地图</a></li><li class="menu-item menu-item-commonweal"><a href="/404/" rel=section><i class="menu-item-icon fa fa-fw fa-heartbeat"></i><br>公益404</a></li><li class="menu-item menu-item-girl"><a href="/girl/" rel=section><i class="menu-item-icon fa fa-fw fa-image"></i><br>美图</a></li><li class="menu-item menu-item-music"><a href="/music/" rel=section><i class="menu-item-icon fa fa-fw fa-music"></i><br>音乐台</a></li><li class="menu-item menu-item-search"><a href=javascript:; class=popup-trigger><i class="menu-item-icon fa fa-search fa-fw"></i><br>搜索</a></li></ul><div class=site-search><div class="algolia-popup popup search-popup"><div class=algolia-search><div class=algolia-search-input-icon><i class="fa fa-search"></i></div><div class=algolia-search-input id=algolia-search-input></div></div><div class=algolia-results><div id=algolia-stats></div><div id=algolia-hits></div><div id=algolia-pagination class=algolia-pagination></div></div><span class=popup-btn-close><i class="fa fa-times-circle"></i></span></div></div></nav></div></header><main id=main class=main><div class=main-inner><div class=content-wrap><div id=content class=content><section id=posts class=posts-expand><article class="post post-type-normal" itemscope itemtype=http://schema.org/Article><div class=post-block><link itemprop=mainEntityOfPage href="https://blog.ccrmbiu.com/2020/02/03/jianzhanzongjie-jianzhanzongjie/"><span hidden itemprop=author itemscope itemtype=http://schema.org/Person><meta itemprop=name content=一颗大白菜的猪><meta itemprop=description><meta itemprop=image content=/images/avatar.png></span> <span hidden itemprop=publisher itemscope itemtype=http://schema.org/Organization><meta itemprop=name content=一颗大白菜的猪></span><header class=post-header><h2 class=post-title itemprop="name headline"><a class=post-title-link href="/2020/02/03/jianzhanzongjie-jianzhanzongjie/" itemprop=url>建站总结之bbll</a></h2><div class=post-meta><span class=post-time><span class=post-meta-item-icon><i class="fa fa-calendar-o"></i></span> <span class=post-meta-item-text>发表于</span><time title=创建于 itemprop="dateCreated datePublished" datetime=2020-02-03T17:51:02+08:00>2020-02-03</time></span> <span class=post-category><span class=post-meta-divider>|</span> <span class=post-meta-item-icon><i class="fa fa-folder-o"></i></span> <span class=post-meta-item-text>分类于</span> <span itemprop=about itemscope itemtype=http://schema.org/Thing><a href="/categories/%E5%BB%BA%E7%AB%99%E6%80%BB%E7%BB%93/" itemprop=url rel=index><span itemprop=name>建站总结</span></a></span></span> <span id="/2020/02/03/jianzhanzongjie-jianzhanzongjie/" class=leancloud_visitors data-flag-title=建站总结之bbll><span class=post-meta-divider>|</span> <span class=post-meta-item-icon><i class="fa fa-eye"></i></span> <span class=post-meta-item-text>热度:</span> <span class=leancloud-visitors-count></span> <span>℃</span></span><div class=post-wordcount><span class=post-meta-item-icon><i class="fa fa-file-word-o"></i></span> <span class=post-meta-item-text>字数统计:</span> <span title=字数统计>576</span> <span class=post-meta-divider>|</span> <span class=post-meta-item-icon><i class="fa fa-clock-o"></i></span> <span class=post-meta-item-text>阅读时长 ≈</span> <span title=阅读时长>1</span></div></div></header><div class=post-body itemprop=articleBody>建站初心 emm……不花一分钱,作为二十一世纪社会好青年,我是那种白嫖的人吗? 话说回来,既然白嫖,那就看看吧.附上入坑秘籍: 不用花一分线,松哥手把手教你上线个人博客 看完之后内心的想法 然而真实操作起来 讲道理来说,挺简单的,就是会遇到那么一个两个三个四个…..个错误罢了,你问我遇 ...<div class="post-button text-center"><a class=btn href=/2020/02/03/jianzhanzongjie-jianzhanzongjie/#more rel=contents>阅读全文 »</a></div></div><footer class=post-footer><div class=post-eof></div></footer></div></article><article class="post post-type-normal" itemscope itemtype=http://schema.org/Article><div class=post-block><link itemprop=mainEntityOfPage href="https://blog.ccrmbiu.com/2020/01/31/hello-world/"><span hidden itemprop=author itemscope itemtype=http://schema.org/Person><meta itemprop=name content=一颗大白菜的猪><meta itemprop=description><meta itemprop=image content=/images/avatar.png></span> <span hidden itemprop=publisher itemscope itemtype=http://schema.org/Organization><meta itemprop=name content=一颗大白菜的猪></span><header class=post-header><h2 class=post-title itemprop="name headline"><a class=post-title-link href="/2020/01/31/hello-world/" itemprop=url>Hello World</a></h2><div class=post-meta><span class=post-time><span class=post-meta-item-icon><i class="fa fa-calendar-o"></i></span> <span class=post-meta-item-text>发表于</span><time title=创建于 itemprop="dateCreated datePublished" datetime=2020-01-31T20:24:23+08:00>2020-01-31</time></span> <span class=post-category><span class=post-meta-divider>|</span> <span class=post-meta-item-icon><i class="fa fa-folder-o"></i></span> <span class=post-meta-item-text>分类于</span> <span itemprop=about itemscope itemtype=http://schema.org/Thing><a href="/categories/hexo/" itemprop=url rel=index><span itemprop=name>hexo</span></a></span></span> <span id="/2020/01/31/hello-world/" class=leancloud_visitors data-flag-title="Hello World"><span class=post-meta-divider>|</span> <span class=post-meta-item-icon><i class="fa fa-eye"></i></span> <span class=post-meta-item-text>热度:</span> <span class=leancloud-visitors-count></span> <span>℃</span></span><div class=post-wordcount><span class=post-meta-item-icon><i class="fa fa-file-word-o"></i></span> <span class=post-meta-item-text>字数统计:</span> <span title=字数统计>73</span> <span class=post-meta-divider>|</span> <span class=post-meta-item-icon><i class="fa fa-clock-o"></i></span> <span class=post-meta-item-text>阅读时长 ≈</span> <span title=阅读时长>1</span></div></div></header><div class=post-body itemprop=articleBody>Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in ...<div class="post-button text-center"><a class=btn href=/2020/01/31/hello-world/#more rel=contents>阅读全文 »</a></div></div><footer class=post-footer><div class=post-eof></div></footer></div></article></section></div></div><div class=sidebar-toggle><div class=sidebar-toggle-line-wrap><span class="sidebar-toggle-line sidebar-toggle-line-first"></span> <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span> <span class="sidebar-toggle-line sidebar-toggle-line-last"></span></div></div><aside id=sidebar class=sidebar><div id=sidebar-dimmer></div><div class=sidebar-inner><section class="site-overview-wrap sidebar-panel sidebar-panel-active"><div class=site-overview><div class="site-author motion-element" itemprop=author itemscope itemtype=http://schema.org/Person><a href="/"><img class=site-author-image itemprop=image src=/images/avatar.png alt=一颗大白菜的猪></a><p class=site-author-name itemprop=name>一颗大白菜的猪</p><p class="site-description motion-element" itemprop=description></p></div><nav class="site-state motion-element"><div class="site-state-item site-state-posts"><a href=/archives/%7C%7C%20archive><span class=site-state-item-count>2</span> <span class=site-state-item-name>日志</span></a></div><div class="site-state-item site-state-categories"><a href=/categories/index.html><span class=site-state-item-count>2</span> <span class=site-state-item-name>分类</span></a></div><div class="site-state-item site-state-tags"><a href=/tags/index.html><span class=site-state-item-count>2</span> <span class=site-state-item-name>标签</span></a></div></nav><div class="feed-link motion-element"><a href=/atom.xml rel=alternate><i class="fa fa-rss"></i> RSS</a></div><div class="links-of-author motion-element"><span class=links-of-author-item><a href=https://github.com/yanwei007 rel="external nofollow" target=_blank title=GitHub><i class="fa fa-fw fa-globe"></i>GitHub</a></span> <span class=links-of-author-item><a href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=3O3p6u3u6ens6e_cra3yv7Ox" rel="external nofollow" target=_blank title=E-Mail><i class="fa fa-fw fa-globe"></i>E-Mail</a></span> <span class=links-of-author-item><a href="http://wpa.qq.com/msgrd?v=3&uin=1561255053&site=qq&menu=yes" rel="external nofollow" target=_blank title=QQ><i class="fa fa-fw fa-globe"></i>QQ</a></span></div><div class="cc-license motion-element" itemprop=license><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class=cc-opacity target=_blank rel="external nofollow"><img src=/images/cc-by-nc-sa.svg alt="Creative Commons"></a></div><iframe frameborder=no border=0 marginwidth=0 marginheight=0 width=298 height=52 src="//music.163.com/outchain/player?type=0&id=2019675503&auto=1&height=32"></iframe></div></section></div></aside></div></main><footer id=footer class=footer><div class=footer-inner><div class=copyright>© <span itemprop=copyrightYear>2020</span> <span class=with-love><i class="fa fa-[object Object]"></i></span> <span class=author itemprop=copyrightHolder>一颗大白菜的猪--<a href="http://beian.miit.gov.cn/" target=_blank rel=noopener _blank>晋ICP备19002190号</a></span> <span class=post-meta-divider>|</span> <span class=post-meta-item-icon><i class="fa fa-area-chart"></i></span> <span class=post-meta-item-text>全站字数:</span> <span title=全站字数>649</span></div><span id=timeDate>载入天数...</span> <span id=times>载入时分秒...</span> Sometimes your whole life boils down to one insame move.<script>
var now = new Date();
function createtime() {
var grt= new Date("01/01/2020 00:00:00");//此处修改你的建站时间或者网站上线时间
now.setTime(now.getTime()+250);
days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days);
hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours);
if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum);
mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;}
seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;}
document.getElementById("timeDate").innerHTML = "本站已安全运行 "+dnum+" 天 ";
document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒";
}
setInterval("createtime()",250);
</script><div class=busuanzi-count><script async src=https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js></script><span class=site-uv><i class="fa fa-user"></i> 总访问量- <span class=busuanzi-value id=busuanzi_value_site_uv></span></span> <span class=site-pv><i class="fa fa-eye"></i> 总浏览量- <span class=busuanzi-value id=busuanzi_value_site_pv></span></span></div></div><script src=https://cdn.jsdelivr.net/gh/yanwei007/live2d-widget/autoload.js></script></footer><div class=back-to-top><i class="fa fa-arrow-up"></i> <span id=scrollpercent><span>0</span>%</span></div></div><script type=text/javascript>
if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
window.Promise = null;
}
</script><script type=text/javascript src="/lib/jquery/index.js?v=2.1.3"></script><script type=text/javascript src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script><script type=text/javascript src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script><script type=text/javascript src="/lib/velocity/velocity.min.js?v=1.2.1"></script><script type=text/javascript src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script><script type=text/javascript src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script><script type=text/javascript src=/lib/three/three.min.js></script><script type=text/javascript src=/lib/three/canvas_lines.min.js></script><script type=text/javascript src="/js/src/utils.js?v=5.1.4"></script><script type=text/javascript src="/js/src/motion.js?v=5.1.4"></script><script type=text/javascript src="/js/src/affix.js?v=5.1.4"></script><script type=text/javascript src="/js/src/schemes/pisces.js?v=5.1.4"></script><script type=text/javascript src="/js/src/bootstrap.js?v=5.1.4"></script><link rel=stylesheet href=/lib/algolia-instant-search/instantsearch.min.css><script src=/lib/algolia-instant-search/instantsearch.min.js></script><script src="/js/src/algolia-search.js?v=5.1.4"></script><script src=https://cdn1.lncld.net/static/js/av-core-mini-0.6.4.js></script><script>AV.initialize("1UGyRrXriipHEq5KgGOSVOHh-gzGzoHsz", "3hS8eDhnmnsTbWyzUHsu0v9n");</script><script>
function showTime(Counter) {
var query = new AV.Query(Counter);
var entries = [];
var $visitors = $(".leancloud_visitors");
$visitors.each(function () {
entries.push( $(this).attr("id").trim() );
});
query.containedIn('url', entries);
query.find()
.done(function (results) {
var COUNT_CONTAINER_REF = '.leancloud-visitors-count';
if (results.length === 0) {
$visitors.find(COUNT_CONTAINER_REF).text(0);
return;
}
for (var i = 0; i < results.length; i++) {
var item = results[i];
var url = item.get('url');
var time = item.get('time');
var element = document.getElementById(url);
$(element).find(COUNT_CONTAINER_REF).text(time);
}
for(var i = 0; i < entries.length; i++) {
var url = entries[i];
var element = document.getElementById(url);
var countSpan = $(element).find(COUNT_CONTAINER_REF);
if( countSpan.text() == '') {
countSpan.text(0);
}
}
})
.fail(function (object, error) {
console.log("Error: " + error.code + " " + error.message);
});
}
function addCount(Counter) {
var $visitors = $(".leancloud_visitors");
var url = $visitors.attr('id').trim();
var title = $visitors.attr('data-flag-title').trim();
var query = new AV.Query(Counter);
query.equalTo("url", url);
query.find({
success: function(results) {
if (results.length > 0) {
var counter = results[0];
counter.fetchWhenSave(true);
counter.increment("time");
counter.save(null, {
success: function(counter) {
var $element = $(document.getElementById(url));
$element.find('.leancloud-visitors-count').text(counter.get('time'));
},
error: function(counter, error) {
console.log('Failed to save Visitor num, with error message: ' + error.message);
}
});
} else {
var newcounter = new Counter();
/* Set ACL */
var acl = new AV.ACL();
acl.setPublicReadAccess(true);
acl.setPublicWriteAccess(true);
newcounter.setACL(acl);
/* End Set ACL */
newcounter.set("title", title);
newcounter.set("url", url);
newcounter.set("time", 1);
newcounter.save(null, {
success: function(newcounter) {
var $element = $(document.getElementById(url));
$element.find('.leancloud-visitors-count').text(newcounter.get('time'));
},
error: function(newcounter, error) {
console.log('Failed to create');
}
});
}
},
error: function(error) {
console.log('Error:' + error.code + " " + error.message);
}
});
}
$(function() {
var Counter = AV.Object.extend("Counter");
if ($('.leancloud_visitors').length == 1) {
addCount(Counter);
} else if ($('.post-title-link').length > 1) {
showTime(Counter);
}
});
</script><script>
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script><script type=text/javascript src=https://cdn.jsdelivr.net/gh/zenorocha/clipboard.js/dist/clipboard.min.js></script><script type=text/javascript src=/js/src/custom.js></script><script type=text/javascript src=/js/src/crash_cheat.js></script></body></html>