1 Star 0 Fork 0

郭大路/sunguanglin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 43.68 KB
一键复制 编辑 原始数据 按行查看 历史
SunGLin2 提交于 2019-09-28 19:15 . Site updated: 2019-09-28 19:15:41
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290
<!DOCTYPE HTML>
<html lang="zh-CN">
<!-- shw2018 洪卫 modify 2019.08.15-->
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="utf-8">
<meta name="keywords" content="UESTC CV DeepLearning MachineLearning 洪卫 sunhw Hongwei 计算机视觉 深度学习">
<meta name="baidu-site-verification" content="fmlEuI34ir">
<meta name="google-site-verification" content="KeoTn_OFy4ndJwXNmm2gMeQfPhd7alqE9vQDwI32KCY">
<meta name="description" content="孙光林的博客">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit|ie-stand|ie-comp">
<meta name="mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>孙光林的博客</title>
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" type="text/css" href="/libs/awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="/libs/materialize/materialize.min.css">
<link rel="stylesheet" type="text/css" href="/libs/aos/aos.css">
<link rel="stylesheet" type="text/css" href="/libs/animate/animate.min.css">
<link rel="stylesheet" type="text/css" href="/libs/lightGallery/css/lightgallery.min.css">
<link rel="stylesheet" type="text/css" href="/css/matery.css">
<link rel="stylesheet" type="text/css" href="/css/my.css">
<style type="text/css">
code[class*="language-"],
pre[class*="language-"] {
white-space: pre !important;
}
</style>
<script src="/libs/jquery/jquery-2.2.0.min.js"></script>
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?46e79e71af0709a5b9106bf20cecc493";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</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>
<link rel="stylesheet" href="/css/prism-tomorrow.css" type="text/css">
<link rel="stylesheet" href="/css/prism-line-numbers.css" type="text/css"></head>
<body>
<header class="navbar-fixed">
<nav id="headNav" class="bg-color nav-transparent">
<div id="navContainer" class="nav-wrapper container">
<div class="brand-logo">
<a href="/" class="waves-effect waves-light">
<img src="/medias/logo.png" class="logo-img" alt="LOGO">
<span class="logo-span">孙光林的博客</span>
</a>
</div>
<!-- <a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fa fa-navicon"></i></a>
<ul class="right">
<li class="hide-on-med-and-down">
<a href="/" class="waves-effect waves-light">
<i class="fa fa-home"></i>
<span>首页</span>
</a>
</li>
<li class="hide-on-med-and-down">
<a href="/tags" class="waves-effect waves-light">
<i class="fa fa-tags"></i>
<span>标签</span>
</a>
</li>
<li class="hide-on-med-and-down">
<a href="/categories" class="waves-effect waves-light">
<i class="fa fa-bookmark"></i>
<span>分类</span>
</a>
</li>
<li class="hide-on-med-and-down">
<a href="/archives" class="waves-effect waves-light">
<i class="fa fa-archive"></i>
<span>归档</span>
</a>
</li>
<li class="hide-on-med-and-down">
<a href="/AV" class="waves-effect waves-light">
<i class="fa fa-music"></i>
<span>视听</span>
</a>
</li>
<li class="hide-on-med-and-down">
<a href="/galleries" class="waves-effect waves-light">
<i class="fa fa-photo"></i>
<span>相册</span>
</a>
</li>
<li class="hide-on-med-and-down">
<a href="/about" class="waves-effect waves-light">
<i class="fa fa-user-circle-o"></i>
<span>关于我</span>
</a>
</li>
<li class="hide-on-med-and-down">
<a href="/contact" class="waves-effect waves-light">
<i class="fa fa-envelope"></i>
<span>留言板</span>
</a>
</li>
<li class="hide-on-med-and-down">
<a href="/friends" class="waves-effect waves-light">
<i class="fa fa-address-book"></i>
<span>友情链接</span>
</a>
</li>
<li>
<a href="#searchModal" class="modal-trigger waves-effect waves-light">
<i id="searchIcon" class="fa fa-search" title="搜索"></i>
</a>
</li>
</ul> -->
<!-- 支持二级菜单特性 洪卫 shw2018 modify 2019.09.17 -->
<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fa fa-navicon"></i></a>
<ul class="right nav-menu">
<li class="hide-on-med-and-down nav-item" >
<a href="/" class="waves-effect waves-light">
<i class="fa fa-home"></i>
<span>首页</span>
</a>
</li>
<li class="hide-on-med-and-down nav-item" >
<a href="/tags" class="waves-effect waves-light">
<i class="fa fa-tags"></i>
<span>标签</span>
</a>
</li>
<li class="hide-on-med-and-down nav-item" >
<a href="/categories" class="waves-effect waves-light">
<i class="fa fa-bookmark"></i>
<span>分类</span>
</a>
</li>
<li class="hide-on-med-and-down nav-item" >
<a href="/archives" class="waves-effect waves-light">
<i class="fa fa-archive"></i>
<span>归档</span>
</a>
</li>
<li class="hide-on-med-and-down nav-item" >
<a href="/AV" class="waves-effect waves-light">
<i class="fa fa-music"></i>
<span>视听</span>
</a>
</li>
<li class="hide-on-med-and-down nav-item" >
<a href="/galleries" class="waves-effect waves-light">
<i class="fa fa-photo"></i>
<span>相册</span>
</a>
</li>
<li class="hide-on-med-and-down nav-item" >
<a href="/about" class="waves-effect waves-light">
<i class="fa fa-user-circle-o"></i>
<span>关于我</span>
</a>
</li>
<li class="hide-on-med-and-down nav-item" >
<a href="/contact" class="waves-effect waves-light">
<i class="fa fa-envelope"></i>
<span>留言板</span>
</a>
</li>
<li class="hide-on-med-and-down nav-item" >
<a href="/friends" class="waves-effect waves-light">
<i class="fa fa-address-book"></i>
<span>友情链接</span>
</a>
</li>
<li>
<a href="#searchModal" class="modal-trigger waves-effect waves-light">
<i id="searchIcon" class="fa fa-search" title="搜索"></i>
</a>
</li>
</ul>
<div id="mobile-nav" class="side-nav sidenav">
<div class="mobile-head bg-color">
<img src="/medias/logo.png" class="logo-img circle responsive-img">
<div class="logo-name">孙光林的博客</div>
<div class="logo-desc">
NUIST | 计算机科学与技术 | 图像修复
</div>
</div>
<ul class="menu-list mobile-menu-list">
<li>
<a href="/" class="waves-effect waves-light">
<i class="fa fa-fw fa-home"></i>
首页
</a>
</li>
<li>
<a href="/tags" class="waves-effect waves-light">
<i class="fa fa-fw fa-tags"></i>
标签
</a>
</li>
<li>
<a href="/categories" class="waves-effect waves-light">
<i class="fa fa-fw fa-bookmark"></i>
分类
</a>
</li>
<li>
<a href="/archives" class="waves-effect waves-light">
<i class="fa fa-fw fa-archive"></i>
归档
</a>
</li>
<li>
<a href="/AV" class="waves-effect waves-light">
<i class="fa fa-fw fa-music"></i>
视听
</a>
</li>
<li>
<a href="/galleries" class="waves-effect waves-light">
<i class="fa fa-fw fa-photo"></i>
相册
</a>
</li>
<li>
<a href="/about" class="waves-effect waves-light">
<i class="fa fa-fw fa-user-circle-o"></i>
关于我
</a>
</li>
<li>
<a href="/contact" class="waves-effect waves-light">
<i class="fa fa-fw fa-envelope"></i>
留言板
</a>
</li>
<li>
<a href="/friends" class="waves-effect waves-light">
<i class="fa fa-fw fa-address-book"></i>
友情链接
</a>
</li>
<li><div class="divider"></div></li>
<li>
<a href="https://github.com/shw2018/shw2018.github.io" class="waves-effect waves-light" target="_blank">
<i class="fa fa-github-square fa-fw"></i>Fork Me
</a>
</li>
</ul>
<!-- 支持二级菜单特性 洪卫 shw2018 modify 2019.09.17 -->
<!-- <ul class="menu-list mobile-menu-list">
<li class="m-nav-item">
<a href="/" class="waves-effect waves-light">
<i class="fa fa-fw fa-home"></i>
首页
</a>
</li>
<li class="m-nav-item">
<a href="/tags" class="waves-effect waves-light">
<i class="fa fa-fw fa-tags"></i>
标签
</a>
</li>
<li class="m-nav-item">
<a href="/categories" class="waves-effect waves-light">
<i class="fa fa-fw fa-bookmark"></i>
分类
</a>
</li>
<li class="m-nav-item">
<a href="/archives" class="waves-effect waves-light">
<i class="fa fa-fw fa-archive"></i>
归档
</a>
</li>
<li class="m-nav-item">
<a href="/AV" class="waves-effect waves-light">
<i class="fa fa-fw fa-music"></i>
视听
</a>
</li>
<li class="m-nav-item">
<a href="/galleries" class="waves-effect waves-light">
<i class="fa fa-fw fa-photo"></i>
相册
</a>
</li>
<li class="m-nav-item">
<a href="/about" class="waves-effect waves-light">
<i class="fa fa-fw fa-user-circle-o"></i>
关于我
</a>
</li>
<li class="m-nav-item">
<a href="/contact" class="waves-effect waves-light">
<i class="fa fa-fw fa-envelope"></i>
留言板
</a>
</li>
<li class="m-nav-item">
<a href="/friends" class="waves-effect waves-light">
<i class="fa fa-fw fa-address-book"></i>
友情链接
</a>
</li>
<li><div class="divider"></div></li>
<li>
<a href="https://github.com/shw2018/shw2018.github.io" class="waves-effect waves-light" target="_blank">
<i class="fa fa-github-square fa-fw"></i>Fork Me
</a>
</li>
</ul> -->
</div>
</div>
<style>
.nav-transparent .github-corner {
display: none !important;
}
.github-corner {
position: absolute;
z-index: 10;
top: 0;
right: 0;
border: 0;
transform: scale(1.1);
}
.github-corner svg {
color: #0f9d58;
fill: #fff;
height: 64px;
width: 64px;
}
.github-corner:hover .octo-arm {
animation: a 0.56s ease-in-out;
}
.github-corner .octo-arm {
animation: none;
}
@keyframes a {
0%,
to {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
</style>
<a href="https://github.com/shw2018/shw2018.github.io" class="github-corner tooltipped hide-on-med-and-down" target="_blank"
data-tooltip="Fork Me" data-position="left" data-delay="50">
<svg viewBox="0 0 250 250" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor" class="octo-body"></path>
</svg>
</a>
</nav>
</header>
<!-- shw2018 洪卫 modify 2019.08.15-->
<style>
.carousel-control {
width: 45px;
height: 45px;
line-height: 55px;
border-radius: 45px;
background: transparent;
cursor: pointer;
z-index: 100;
}
#prev-cover {
position: absolute;
top: 48%;
left: 8px;
}
#next-cover {
position: absolute;
top: 48%;
right: 8px;;
}
#prev-cover i {
margin-right: 3px;
}
#next-cover i {
margin-left: 3px;
}
.carousel-control:hover {
background-color:rgba(0, 0, 0, .4);
}
.carousel-control i {
color: #fff;
font-size: 2.4rem;
}
</style>
<div class="carousel carousel-slider center index-cover" data-indicators="true" style="margin-top: -64px;">
<div id="prev-cover" class="left waves-effect carousel-control">
<i class="icon fa fa-angle-left"></i>
</div>
<div id="next-cover" class="right waves-effect carousel-control">
<i class="icon fa fa-angle-right"></i>
</div>
<div class="carousel-item red white-text bg-cover about-cover">
<div class="container">
<div class="row">
<div class="col s10 offset-s1 m8 offset-m2 l8 offset-l2">
<div class="brand">
<div class="title center-align">
<!--
孙光林 广厦万间 天若有情
-->
孙光林 广厦万间 天若有情
</div>
<div class="description center-align">
<!-- NUIST | 计算机科学与技术 | 图像修复 -->
<span id="jinrishici-sentence">正在加载今日诗词...</span>
</div>
</div>
</div>
</div>
<script>
// 每天切换 banner 图. Switch banner image every day.
$('.bg-cover').css('background-image', 'url(/medias/banner/' + new Date().getDay() + '.jpg)');
</script>
<div class="cover-btns">
<a href="#indexCard" class="waves-effect waves-light btn">
<i class="fa fa-angle-double-down"></i>开始阅读
</a>
<a href="https://github.com/shw2018/" class="waves-effect waves-light btn" target="_blank">
<i class="fa fa-github-alt"></i>Github
</a>
</div>
<div class="cover-social-link">
<a href="https://github.com/shw2018" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
<i class="fa fa-github"></i>
</a>
<a href="https://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=948840751@qq.com" class="tooltipped" target="_blank" data-tooltip="邮件联系我" data-position="top" data-delay="50">
<i class="fa fa-envelope-open"></i>
</a>
<a href="https://zhihu.com/people/hongwei-60-34" class="tooltipped" target="_blank" data-tooltip="访问我的知乎" data-position="top" data-delay="50">
<i class="fa fa-inverse"></i>
</a>
<a href="http://wpa.qq.com/msgrd?v=3&uin=948840751&site=qq&menu=yes" class="tooltipped" target="_blank" data-tooltip="访问我的QQ空间" data-position="top" data-delay="50">
<i class="fa fa-qq"></i>
</a>
<a href="https://weibo.com/3010027571" class="tooltipped" target="_blank" data-tooltip="关注我的微博" data-position="top" data-delay="50">
<i class="fa fa-weibo"></i>
</a>
<a href="/atom.xml" class="tooltipped" target="_blank" data-tooltip="RSS 订阅" data-position="top" data-delay="50">
<i class="fa fa-rss"></i>
</a>
</div>
</div>
</div>
<div class="carousel-item amber white-text carousel-post bg-cover"
style="background-image: url('/medias/banner/0.jpg');">
<div class="container">
<div class="row">
<div class="col s10 offset-s1">
<div class="title center-align">博客开源</div>
<div class="description center-align">
倒腾了一两周总算把个人博客网站完善了,目前这个版本使用应该是够了,当然还有一些优化项和功能增加后续在慢慢更新,为了回馈开源,今天准备把我自己修改完善的`blog`网站源代码开源。这不是生成后的网页文件,是您可以直接使用的源码,您只需要把博客相关信息换成您自己的就可以部署了。
</div>
<div class="cover-btns">
<a href="/2019/08/27/blog-open-source/" class="waves-effect waves-light btn" target="_blank">
<i class="icon fa fa-eye fa-fw"></i>阅读更多
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$(function () {
let coverSlider = $('.carousel');
coverSlider.carousel({
duration: Number('120'),
fullWidth: true,
indicators: 'true' === 'true'
});
let carouselIntervalId;
// Loop to call the next cover article picture.
let autoCarousel = function() {
carouselIntervalId = setInterval(function () {
coverSlider.carousel('next');
}, 5000);
};
autoCarousel();
let restartPlay = function () {
clearInterval(carouselIntervalId);
autoCarousel();
};
// prev and next cover post.
$('#prev-cover').click(function () {
coverSlider.carousel('prev');
restartPlay();
});
$('#next-cover').click(function () {
coverSlider.carousel('next');
restartPlay();
});
});
</script>
<main class="content">
<div id="indexCard" class="index-card">
<div class="container ">
<div class="card">
<div class="card-content">
<!-- shw2018 洪卫 modify 2019.08.15-->
<link rel="stylesheet" href="/libs/aplayer/APlayer.min.css">
<div class="music-player">
<div class="row">
<div class="col s12 ">
<div id="aplayer" class="music"></div>
</div>
</div>
</div>
<script src="/libs/aplayer/APlayer.min.js"></script>
<script>
$(function () {
new APlayer({
container: document.getElementById('aplayer'),
fixed: 'false' === 'true',
autoplay: 'false' === 'true',
theme: '#542674',
loop: 'all',
order: 'list',
preload: 'auto',
volume: Number('0.7'),
listFolded: 'false' === 'true',
listMaxHeight: '197px',
audio: JSON.parse('[{"name":"Beautiful World","artist":"Westlife","url":"http://music.163.com/song/media/outer/url?id=20707408.mp3","cover":"https://p2.music.126.net/MEWr-THANcYy-1jvx334_Q==/109951163167214019.jpg?param=130y130"},{"name":"River Flows in You","artist":"Yiruma","url":"http://music.163.com/song/media/outer/url?id=26237342.mp3","cover":"https://p2.music.126.net/8ZRSyI0ZN_4ah8uzsNd1mA==/2324367581169008.jpg?param=130y130"},{"name":"Hello My Love","artist":"Westlife","url":"http://music.163.com/song/media/outer/url?id=1338728670.mp3","cover":"https://p2.music.126.net/P2_COhPmlhsOpoj31DDLeA==/109951163785867445.jpg?param=130y130"},{"name":"If I Let You Go","artist":"Westlife","url":"http://music.163.com/song/media/outer/url?id=27220254.mp3","cover":"https://p2.music.126.net/TcOOoZSbISGT9AkhUtwOsg==/5644892697128237.jpg?param=130y130"},{"name":"Señorita","artist":"Shawn Mendes/Camila Cabello","url":"http://music.163.com/song/media/outer/url?id=1373168742.mp3","cover":"https://p2.music.126.net/eSrLKe5g3U8jX-lb629q6A==/109951164162885535.jpg?param=130y130"}]')
});
});
</script>
<div id="recommend-sections" class="recommend">
<div class="title"><i class="fa fa-thumbs-o-up"></i>&nbsp;&nbsp;推荐文章</div>
<div class="row">
<div class="col s12" >
<div class="post-card" style="background-image: url('/medias/featureimages/16.jpg')">
<div class="post-body">
<div class="post-categories">
<a href="/categories/软件安装与配置/" class="category" target="_blank">软件安装与配置</a>
</div>
<a href="/2019/08/27/blog-open-source/" target="_blank">
<h3 class="post-title">博客开源</h3>
</a>
<p class="post-description">倒腾了一两周总算把个人博客网站完善了,目前这个版本使用应该是够了,当然还有一些优化项和功能增加后续在慢慢更新,为了回馈开源,今天准备把我自己修改完善的`blog`网站源代码开源。这不是生成后的网页文件,是您可以直接使用的源码,您只需要把博客相关信息换成您自己的就可以部署了。</p>
<a href="/2019/08/27/blog-open-source/" target="_blank"
class="read-more btn waves-effect waves-light" style="background: linear-gradient(to right, #FF5E3A 0%, #FF2A68 100%)">
<i class="icon fa fa-eye fa-fw"></i>阅读更多
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 所有文章卡片 -->
<article id="articles" class="container articles">
<div class="row article-row">
<div class="article col s12 m6 l4" data-aos="zoom-in">
<div class="card">
<a href="/2019/09/04/2019-09-04-ji-zu-zuo-ye-1/" target="_blank">
<div class="card-image">
<img src="/medias/featureimages/6.jpg" class="responsive-img" alt=" 计算机组成原理习题1">
<span class="card-title"> 计算机组成原理习题1</span>
</div>
</a>
<div class="card-content article-content">
<div class="summary block-with-text">
content{:toc}
第一次课后习题1. 冯·诺依曼计算机体系的基本思想是什么?按此思想设计的计算机硬件系统应由哪些部件组成?各起什么作用?
答:其基本思想是: 存储程序原理(概念)。即计算机能够存储程序和数据, 并且能够自动执行
</div>
<div class="publish-info">
<span class="publish-date">
<i class="fa fa-clock-o fa-fw icon-date"></i>2019-09-04
</span>
<span class="publish-author">
<i class="fa fa-bookmark fa-fw icon-category"></i>
<a href="/categories/计算机组成原理/" class="post-category" target="_blank">
计算机组成原理
</a>
</span>
</div>
</div>
<div class="card-action article-tags">
<a href="/tags/习题/" target="_blank">
<span class="chip bg-color">习题</span>
</a>
</div>
</div>
</div>
<div class="article col s12 m6 l4" data-aos="zoom-in">
<div class="card">
<a href="/2019/08/27/blog-open-source/" target="_blank">
<div class="card-image">
<img src="/medias/featureimages/16.jpg" class="responsive-img" alt="博客开源">
<span class="card-title">博客开源</span>
</div>
</a>
<div class="card-content article-content">
<div class="summary block-with-text">
倒腾了一两周总算把个人博客网站完善了,目前这个版本使用应该是够了,当然还有一些优化项和功能增加后续在慢慢更新,为了回馈开源,今天准备把我自己修改完善的`blog`网站源代码开源。这不是生成后的网页文件,是您可以直接使用的源码,您只需要把博客相关信息换成您自己的就可以部署了。
</div>
<div class="publish-info">
<span class="publish-date">
<i class="fa fa-clock-o fa-fw icon-date"></i>2019-08-27
</span>
<span class="publish-author">
<i class="fa fa-bookmark fa-fw icon-category"></i>
<a href="/categories/软件安装与配置/" class="post-category" target="_blank">
软件安装与配置
</a>
</span>
</div>
</div>
<div class="card-action article-tags">
<a href="/tags/Hexo/" target="_blank">
<span class="chip bg-color">Hexo</span>
</a>
<a href="/tags/Github/" target="_blank">
<span class="chip bg-color">Github</span>
</a>
<a href="/tags/博客/" target="_blank">
<span class="chip bg-color">博客</span>
</a>
</div>
</div>
</div>
</div>
</article>
</main>
<footer class="page-footer bg-color">
<div class="container row center-align">
<div class="col s12 m8 l8 copy-right">
Copyright&copy; 2019 洪卫.
<br>
<span id="sitetime"></span><span class="my-face">ღゝ◡╹)ノ♡</span>
<br>
<span id="busuanzi_container_site_pv" style='display:none'></span>
总访问量: <span id="busuanzi_value_site_pv" class="white-color"></span>
<span id="busuanzi_container_site_uv" style='display:none'></span>
人次&nbsp; | &nbsp;访客人数: <span id="busuanzi_value_site_uv" class="white-color"></span>
&nbsp; | &nbsp;字数统计:&nbsp;
<span class="white-color">1.7k</span>
<br>
</div>
<div class="col s12 m4 l4 social-link social-statis">
<a href="https://github.com/shw2018" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
<i class="fa fa-github"></i>
</a>
<a href="https://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=948840751@qq.com" class="tooltipped" target="_blank" data-tooltip="邮件联系我" data-position="top" data-delay="50">
<i class="fa fa-envelope-open"></i>
</a>
<a href="https://zhihu.com/people/hongwei-60-34" class="tooltipped" target="_blank" data-tooltip="访问我的知乎" data-position="top" data-delay="50">
<i class="fa fa-inverse"></i>
</a>
<a href="http://wpa.qq.com/msgrd?v=3&uin=948840751&site=qq&menu=yes" class="tooltipped" target="_blank" data-tooltip="访问我的QQ空间" data-position="top" data-delay="50">
<i class="fa fa-qq"></i>
</a>
<a href="https://weibo.com/3010027571" class="tooltipped" target="_blank" data-tooltip="关注我的微博" data-position="top" data-delay="50">
<i class="fa fa-weibo"></i>
</a>
<a href="/atom.xml" class="tooltipped" target="_blank" data-tooltip="RSS 订阅" data-position="top" data-delay="50">
<i class="fa fa-rss"></i>
</a>
</div>
</div>
</footer>
<div class="progress-bar"></div>
<script language=javascript>
function siteTime() {
window.setTimeout("siteTime()", 1000);
var seconds = 1000;
var minutes = seconds * 60;
var hours = minutes * 60;
var days = hours * 24;
var years = days * 365;
var today = new Date();
var todayYear = today.getFullYear();
var todayMonth = today.getMonth() + 1;
var todayDate = today.getDate();
var todayHour = today.getHours();
var todayMinute = today.getMinutes();
var todaySecond = today.getSeconds();
/* Date.UTC() -- 返回date对象距世界标准时间(UTC)1970年1月1日午夜之间的毫秒数(时间戳)
year - 作为date对象的年份,为4位年份值
month - 0-11之间的整数,做为date对象的月份
day - 1-31之间的整数,做为date对象的天数
hours - 0(午夜24点)-23之间的整数,做为date对象的小时数
minutes - 0-59之间的整数,做为date对象的分钟数
seconds - 0-59之间的整数,做为date对象的秒数
microseconds - 0-999之间的整数,做为date对象的毫秒数 */
var t1 = Date.UTC(2019, 08, 10, 00, 00, 00); //北京时间2019-8-1 00:00:00
var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond);
var diff = t2 - t1;
var diffYears = Math.floor(diff / years);
var diffDays = Math.floor((diff / days) - diffYears * 365);
var diffHours = Math.floor((diff - (diffYears * 365 + diffDays) * days) / hours);
var diffMinutes = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours) / minutes);
var diffSeconds = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours - diffMinutes *
minutes) / seconds);
document.getElementById("sitetime").innerHTML = "本站已勉强运行 " + diffYears + "" + diffDays + "" + diffHours +
" 小时 " + diffMinutes + " 分钟 " + diffSeconds + "" ;
} /*因为建站时间还没有一年,就将之注释掉了。需要的可以取消*/
siteTime();
</script>
<!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
<div class="modal-content">
<div class="search-header">
<span class="title"><i class="fa fa-search"></i>&nbsp;&nbsp;搜索</span>
<input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字"
class="search-input">
</div>
<div id="searchResult"></div>
</div>
</div>
<script src="/js/search.js"></script>
<script type="text/javascript">
$(function () {
searchFunc("/" + "search.xml", 'searchInput', 'searchResult');
});
</script>
<!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
<a class="btn-floating btn-large waves-effect waves-light" href="#!">
<i class="fa fa-angle-up"></i>
</a>
</div>
<script src="/libs/materialize/materialize.min.js"></script>
<script src="/libs/masonry/masonry.pkgd.min.js"></script>
<script src="/libs/aos/aos.js"></script>
<script src="/libs/scrollprogress/scrollProgress.min.js"></script>
<script src="/libs/lightGallery/js/lightgallery-all.min.js"></script>
<script src="/js/matery.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script src="/libs/others/clicklove.js"></script>
<script async src="/libs/others/busuanzi.pure.mini.js"></script>
<!-- 洪卫 shw2018 add 2019.08.28 -->
<script type="text/javascript">
var OriginTitile = document.title,
st;
document.addEventListener("visibilitychange", function () {
document.hidden ? (document.title = "看不见我🙈~看不见我🙈~", clearTimeout(st)) : (document.title =
"(๑•̀ㅂ•́) ✧被发现了~", st = setTimeout(function () {
document.title = OriginTitile
}, 3e3))
})
</script>
<!-- 鼠标点击烟花爆炸效果 洪卫 shw2018 add 2019.09.09 -->
<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/fireworks.js"></script>
<!-- 背景雪花飘落特效洪卫 shw2018 add 2019.09.10 -->
<script type="text/javascript">
//只在桌面版网页启用特效
var windowWidth = $(window).width();
if (windowWidth > 768) {
document.write('<script type="text/javascript" src="/js/sakura.js"><\/script>');
}
</script>
<!-- 鼠标点击文字特效 洪卫 shw2018 add 2019.09.10-->
<script src="/js/wenzi.js" type="text/javascript"></script>
<!-- 背景雪花飘落特效 洪卫 shw2018 add 2019.09.10 -->
<script type="text/javascript">
var windowWidth = $(window).width();
if (windowWidth > 768) {
document.write('<script type="text/javascript" src="/js/xuehuapiaoluo.js"><\/script>');
}
</script>
<!-- 在线聊天工具 洪卫 shw2018 add 2019.09.11 -->
<script src="//code.tidio.co/xxxxxxxxxxxxxxxxxxxxxxxxxxx.js"></script>
<!-- 在线聊天位置自定义 洪卫 shw2018 add 2019.09.13 -->
<script>
$(document).ready(function () {
setInterval(change_Tidio, 50);
function change_Tidio() {
var tidio=$("#tidio-chat iframe");
if(tidio.css("display")=="block"&& $(window).width()>977 ){
document.getElementById("tidio-chat-iframe").style.bottom= ($("div#backTop.top-scroll").css("display")=="none" &&$(window).width()>977)>0? "-40px" : ($("div.toc-title").length&&$(window).width()>977)>0?"80px":"20px";
document.getElementById("tidio-chat-iframe").style.right="-15px";
document.getElementById("tidio-chat-iframe").style.height=parseInt(tidio.css("height"))>=520?"520px":tidio.css("height");
document.getElementById("tidio-chat-iframe").style.zIndex="997";
}
else if(tidio.css("display")=="block"&&$(window).width()>601 &&$(window).width()<992 ){
document.getElementById("tidio-chat-iframe").style.bottom= ($("div#backTop.top-scroll").css("display")=="none" && 601< $(window).width()<992)>0? "-40px":"20px" ;
document.getElementById("tidio-chat-iframe").style.right="-15px";
document.getElementById("tidio-chat-iframe").style.zIndex="997";
}
else if(tidio.css("display")=="block"&&$(window).width()<601 && parseInt(tidio.css("height"))<230){
document.getElementById("tidio-chat-iframe").style.bottom= ($("div#backTop.top-scroll").css("display")=="none" && $(window).width()<601)>0? "-10px":"45px" ;
document.getElementById("tidio-chat-iframe").style.zIndex="997";
}
if( tidio.css("display")=="block"&&$(window).width()<601 && parseInt(tidio.css("height"))>=230){
document.getElementById("tidio-chat-iframe").style.zIndex="998";
}
}
});
</script>
<!-- 背景 canvas-nest 洪卫 shw 2018 add 2019.09.15-->
<script type="text/javascript">
var windowWidth = $(window).width();
if (windowWidth > 992) {
document.write('<script type="text/javascript" color="0,0,255" pointColor="0,0,255" opacity= "0.8" zIndex="--1" count="150"src="/libs/background/canvas-nest.js"><\/script>');
}
</script>
<!-- 背景静止彩带 洪卫 shw 2018 add 2019.09.15-->
<!-- 背景动态彩带 洪卫 shw 2018 add 2019.09.15-->
<script type="text/javascript">
var windowWidth = $(window).width();
if (windowWidth > 992) {
document.write('<script type="text/javascript" src="/libs/background/ribbon-dynamic.js"><\/script>');
}
</script>
<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"log":false,"model":{"jsonPath":"/live2dw/assets/wanko.model.json"},"display":{"position":"left","width":150,"height":200},"mobile":{"show":false},"react":{"opacity":0.7}});</script><script>!function(e){var r=Array.prototype.slice.call(document.querySelectorAll("img[data-original]"));function t(){for(var c=0;c<r.length;c++)t=r[c],void 0,0<=(n=t.getBoundingClientRect()).top&&0<=n.left&&n.top<=(e.innerHeight||document.documentElement.clientHeight)&&function(){var t,n,e,i,o=r[c];t=o,n=function(){r=r.filter(function(t){return o!==t})},e=new Image,i=t.getAttribute("data-original"),e.onload=function(){t.src=i,n&&n()},e.src=i}();var t,n}t(),e.addEventListener("scroll",function(){!function(t,n){clearTimeout(t.tId),t.tId=setTimeout(function(){t.call(n)},500)}(t,e)})}(this);</script></body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/daluguo/sunguanglin.git
git@gitee.com:daluguo/sunguanglin.git
daluguo
sunguanglin
sunguanglin
master

搜索帮助