代码拉取完成,页面将自动刷新
<!DOCTYPE html><html lang="zh"><head><meta name="generator" content="Hexo 3.9.0"><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"><meta name="author" content="YangWenyi"><meta name="renderer" content="webkit"><meta name="copyright" content="YangWenyi"><meta name="keywords" content="Hexo"><meta name="description" content="null"><meta name="Cache-Control" content="no-cache"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>Mr.Yang's Blog</title><link rel="stylesheet" href="/my-blog/css/style.css?v=2018.7.9"><link rel="stylesheet" href="/my-blog/css/animation.css?v=2018.7.9"><link rel="stylesheet" href="/my-blog/css/custom.css?v=2018.7.9"><link rel="icon" href="/my-blog/img/assets/favicon.ico"><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css?version=1.5.6"><!-- scripts--><script>(function( w ){
"use strict";
// rel=preload support test
if( !w.loadCSS ){
w.loadCSS = function(){};
}
// define on the loadCSS obj
var rp = loadCSS.relpreload = {};
// rel=preload feature support test
// runs once and returns a function for compat purposes
rp.support = (function(){
var ret;
try {
ret = w.document.createElement( "link" ).relList.supports( "preload" );
} catch (e) {
ret = false;
}
return function(){
return ret;
};
})();
// if preload isn't supported, get an asynchronous load by using a non-matching media attribute
// then change that media back to its intended value on load
rp.bindMediaToggle = function( link ){
// remember existing media attr for ultimate state, or default to 'all'
var finalMedia = link.media || "all";
function enableStylesheet(){
link.media = finalMedia;
}
// bind load handlers to enable media
if( link.addEventListener ){
link.addEventListener( "load", enableStylesheet );
} else if( link.attachEvent ){
link.attachEvent( "onload", enableStylesheet );
}
// Set rel and non-applicable media type to start an async request
// note: timeout allows this to happen async to let rendering continue in IE
setTimeout(function(){
link.rel = "stylesheet";
link.media = "only x";
});
// also enable media after 3 seconds,
// which will catch very old browsers (android 2.x, old firefox) that don't support onload on link
setTimeout( enableStylesheet, 3000 );
};
// loop through link elements in DOM
rp.poly = function(){
// double check this to prevent external calls from running
if( rp.support() ){
return;
}
var links = w.document.getElementsByTagName( "link" );
for( var i = 0; i < links.length; i++ ){
var link = links[ i ];
// qualify links to those with rel=preload and as=style attrs
if( link.rel === "preload" && link.getAttribute( "as" ) === "style" && !link.getAttribute( "data-loadcss" ) ){
// prevent rerunning on link
link.setAttribute( "data-loadcss", true );
// bind listeners to toggle media back
rp.bindMediaToggle( link );
}
}
};
// if unsupported, run the polyfill
if( !rp.support() ){
// run once at least
rp.poly();
// rerun poly on an interval until onload
var run = w.setInterval( rp.poly, 500 );
if( w.addEventListener ){
w.addEventListener( "load", function(){
rp.poly();
w.clearInterval( run );
} );
} else if( w.attachEvent ){
w.attachEvent( "onload", function(){
rp.poly();
w.clearInterval( run );
} );
}
}
// commonjs
if( typeof exports !== "undefined" ){
exports.loadCSS = loadCSS;
}
else {
w.loadCSS = loadCSS;
}
}( typeof global !== "undefined" ? global : this ) );</script><script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js" defer></script><script src="/my-blog/js/main.js?v=2018.7.9" defer></script><!-- fancybox--><link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'"><script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js" defer></script><!-- busuanzi--><script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script></head><body><section class="profile-close" id="cxo-profile"><div class="profile-avatar"><i class="fa fa-caret-left"></i><img src="/my-blog/img/assets/dog.png"></div><!--.profile-saying
i.fa.fa-comment
.saying--><div class="cxo-profile-inner"><div class="profile-name">YangWenyi</div><div class="profile-signature">for me</div><div class="friends"><div>FRIENDS</div><span><a href="/my-blog/" target="_black">东南亚小王子</a></span><span><a href="/my-blog/" target="_black">上海滩强哥</a></span></div><div class="read-progress"></div></div></section><header id="cxo-intro" style="height: 70vh;background-image: url(/my-blog/img/intro/index-bg.png);"><nav id="cxo-intro-nav"><section><div class="intro-nav-title"><a href="/my-blog/">Mr.Yang's Blog</a></div><div class="intro-nav-label-box"><a href="/my-blog/">Home</a><a href="/my-blog/about/">About</a><a href="/my-blog/archives/">Archives</a><a href="/my-blog/tags/">Tags</a></div><i class="fa fa-bars intro-nav-menu"><div class="intro-nav-drop"><a href="/my-blog/">Home</a><a href="/my-blog/about/">About</a><a href="/my-blog/archives/">Archives</a><a href="/my-blog/tags/">Tags</a></div></i><div class="clear"></div></section></nav><h1>Mr.Yang's Blog</h1><h5>Welcome to my Blog!</h5><div class="intro-social"><a class="fa fa-envelope" href="mailto:568972484@qq.com" title="email"></a><a class="fa fa-github" href="https://github.com/a568972484" target="_blank" title="github"></a><a class="fa fa-weibo" href="//www.weibo.com" target="_blank" title="weibo"></a><a class="fa fa-facebook" href="//www.facebook.com" target="_blank" title="facebook"></a><a class="fa fa-twitter" href="//twitter.com" target="_blank" title="twitter"></a><a class="fa fa-rss" href="https://gitee.com/pythonywy" target="_blank" title="rss"></a></div></header><article class="cxo-up" id="cxo-content-outer"><section id="cxo-content-inner"><section id="recent-posts"><div class="recent-post-item"><div class="post-title"><a class="fa fa-toggle-up stick-top" href="/my-blog/2018/08/20/undefined/">个人博客搭建重要操作</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2018-08-20T09:04:00.000Z">2018-08-20</time></div><div class="recent-post-content">一.准备环境1.安装node.js简介因为hexo是基于node.js的,所以node.js是必须要装的,安装也特别简单,去 官网 下载适合自己windows的版本。安装过程一直下一步就行了,什么也不用选,在网上查资料的时候,看到有说要在Custom Setup这一步记得选Add to PATH,但我在安装的时候这个选项是默认选好的,不用动它,也许是版本的原因,建议在安装时留意一下,毕竟自己配置环境变量还是有点麻烦。
安装好以后,打开CMD命令窗口,输入 npm -v ,如果出现版本号,那说明安装成功了并且环境变量也配置好了,如果是未知命令那就要配置一下环境变量。
详细操作:https://w ...</div><div class="read-more"><a class="more" href="/my-blog/2018/08/20/undefined/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/my-blog/2018/08/24/undefined/">个人博客主题美化</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2018-08-24T07:02:00.000Z">2018-08-24</time></div><div class="recent-post-content">个人博客主题美化选择主题Hexo默认的主题是landscape,推荐以下主题:
snippet
Hiero
JSimple
BlueLake
详见:https://github.com/search?q=hexo-theme
应用主题
下载主题
将下载好的主题文件夹,粘贴到站点目录的themes下。
更改站点配置文件_config.yml 的theme字段,为主题文件夹的名称:
1# Extensions## Plugins: https://hexo.io/plugins/## Themes: https://hexo.io/themes/theme: <主题文件夹的名称> ...</div><div class="read-more"><a class="more" href="/my-blog/2018/08/24/undefined/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/my-blog/2018/08/23/undefined/">个人博客搭建过程中异常处理</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2018-08-23T06:04:00.000Z">2018-08-23</time></div><div class="recent-post-content">个人博客搭建过程中异常处理错误分析如果你使用Hexo遇到同样的问题,这里有一些常见问题的解决方案。
YAML Parsing Error1JS-YAML: incomplete explicit mapping pair; a key node is missed at line 18, column 29: last_updated: Last updated: %s
参数中包含冒号,请用加引号,如Last updated: %s
1JS-YAML: bad indentation of a mapping entry at line 18, column 31: l ...</div><div class="read-more"><a class="more" href="/my-blog/2018/08/23/undefined/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/my-blog/2018/08/22/undefined/">个人博客搭建线上实施方案</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2018-08-22T10:04:00.000Z">2018-08-22</time></div><div class="recent-post-content">个人博客搭建线上实施方案在hexo本地实施没有问题的基础上
实施方案方案一:GithubPages
创建Github账号
创建仓库, 仓库名为:.github.io
将本地Hexo博客推送到GithubPages
3.1. 安装hexo-deployer-git插件。在命令行(即Git Bash)运行以下命令即可:
1$ npm install hexo-deployer-git --save
3.2. 添加SSH key。
创建一个 SSH key 。在命令行(即Git Bash)输入以下命令, 回车三下即可:
1$ ssh-keygen -t rsa -C "邮箱地址&qu ...</div><div class="read-more"><a class="more" href="/my-blog/2018/08/22/undefined/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/my-blog/2018/08/19/undefined/">nodes.js详细安装</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2018-08-19T05:04:00.000Z">2018-08-19</time></div><div class="recent-post-content">nodes.js详细安装Node.js本章节我们将向大家介绍在window和Linux上安装Node.js的方法。
本安装教程以Node.js v4.4.3 LTS(长期支持版本)版本为例。
Node.js安装包及源码下载地址为:https://nodejs.org/en/download/。
你可以根据不同平台系统选择你需要的Node.js安装包。
Node.js 历史版本下载地址:https://nodejs.org/dist/
注意:Linux上安装Node.js需要安装Python 2.6 或 2.7 ,不建议安装Python 3.0以上版本。
Window 上安装Node.js你 ...</div><div class="read-more"><a class="more" href="/my-blog/2018/08/19/undefined/#more">ReadMore</a></div><hr></div><div class="recent-post-item"><div class="post-title"><a href="/my-blog/2018/08/19/undefined/">git的详细安装</a></div><div class="post-time"><i class="fa fa-table"></i><time datetime="2018-08-19T04:04:00.000Z">2018-08-19</time></div><div class="recent-post-content">git的详细安装Git是时候动手尝试下 Git 了,不过得先安装好它。有许多种安装方式,主要分为两种,一种是通过编译源代码来安装;另一种是使用为特定平台预编译好的安装包。
从源代码安装若是条件允许,从源代码安装有很多好处,至少可以安装最新的版本。Git 的每个版本都在不断尝试改进用户体验,所以能通过源代码自己编译安装最新版本就再好不过了。有些 Linux 版本自带的安装包更新起来并不及时,所以除非你在用最新的 distro 或者 backports,那么从源代码安装其实该算是最佳选择。
Git 的工作需要调用 curl,zlib,openssl,expat,libiconv 等库的代码,所以需 ...</div><div class="read-more"><a class="more" href="/my-blog/2018/08/19/undefined/#more">ReadMore</a></div><hr></div></section><nav class="cxo-page-nav"><span class="page-number current">1</span></nav></section></article><footer id="cxo-footer-outer"><div id="cxo-footer-inner"><p class="footer-container"><span>Site by </span><a href="http://hexo.io"><span>Hexo</span></a><span> | theme </span><a href="https://github.com/Longlongyu/hexo-theme-Cxo"><span>Cxo</span></a></p><i class="fa fa-user"> </i><span id="busuanzi_value_site_uv"></span><span> | </span><i class="fa fa-eye"> </i><span id="busuanzi_value_site_pv"></span><script>var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?" + 'true';
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script></div></footer><!-- catelog--><!-- top--><i class="fa fa-arrow-up close" id="go-up" aria-hidden="true"></i><script src="/my-blog/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/my-blog/live2dw/assets/assets/z16.model.json"},"display":{"position":"right","width":150,"height":300},"mobile":{"show":true},"log":false});</script></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。