-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
437 lines (390 loc) · 32.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
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<!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>Zone</title><meta name="author" content="Kegard"><meta name="copyright" content="Kegard"><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="Zone">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="Zone">
<meta property="og:description" content="吾心安处">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="http://example.com/img/OIP.jpg">
<meta property="article:author" content="Kegard">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://example.com/img/OIP.jpg"><link rel="shortcut icon" href="/img/blob.jpg"><link rel="canonical" href="http://example.com/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: {"path":"/search.xml","preload":false,"top_n_per_article":1,"unescape":false,"languages":{"hits_empty":"找不到您查询的内容:${query}","hits_stats":"共找到 ${hits} 篇文章"}},
translate: undefined,
noticeOutdate: {"limitDay":500,"position":"top","messagePrev":"It has been","messageNext":"days since the last update, the content of the article may be outdated."},
highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":false,"highlightHeightLimit":false},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '',
dateSuffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: {"limitCount":50,"languages":{"author":"作者: Kegard","link":"链接: ","source":"来源: Zone","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}},
lightbox: 'fancybox',
Snackbar: undefined,
infinitegrid: {
js: 'https://cdn.jsdelivr.net/npm/@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: 'Zone',
isPost: false,
isHome: true,
isHighlightShrink: false,
isToc: false,
postUpdate: '2023-12-13 20:16:46'
}</script><script>(win=>{
win.saveToLocal = {
set: (key, value, ttl) => {
if (ttl === 0) return
const now = Date.now()
const expiry = now + ttl * 86400000
const item = {
value,
expiry
}
localStorage.setItem(key, JSON.stringify(item))
},
get: key => {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = Date.now()
if (now > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}
win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
Object.keys(attr).forEach(key => {
script.setAttribute(key, attr[key])
})
document.head.appendChild(script)
})
win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
const link = document.createElement('link')
link.rel = 'stylesheet'
link.href = url
if (id) link.id = id
link.onerror = reject
link.onload = link.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
link.onload = link.onreadystatechange = null
resolve()
}
document.head.appendChild(link)
})
win.activateDarkMode = () => {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
win.activateLightMode = () => {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
const t = saveToLocal.get('theme')
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}
const detectApple = () => {
if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
document.documentElement.classList.add('apple')
}
}
detectApple()
})(window)</script><meta name="generator" content="Hexo 7.0.0"><style>mjx-container[jax="SVG"] {
direction: ltr;
}
mjx-container[jax="SVG"] > svg {
overflow: visible;
}
mjx-container[jax="SVG"][display="true"] {
display: block;
text-align: center;
margin: 1em 0;
}
mjx-container[jax="SVG"][justify="left"] {
text-align: left;
}
mjx-container[jax="SVG"][justify="right"] {
text-align: right;
}
g[data-mml-node="merror"] > g {
fill: red;
stroke: red;
}
g[data-mml-node="merror"] > rect[data-background] {
fill: yellow;
stroke: none;
}
g[data-mml-node="mtable"] > line[data-line] {
stroke-width: 70px;
fill: none;
}
g[data-mml-node="mtable"] > rect[data-frame] {
stroke-width: 70px;
fill: none;
}
g[data-mml-node="mtable"] > .mjx-dashed {
stroke-dasharray: 140;
}
g[data-mml-node="mtable"] > .mjx-dotted {
stroke-linecap: round;
stroke-dasharray: 0,140;
}
g[data-mml-node="mtable"] > svg {
overflow: visible;
}
[jax="SVG"] mjx-tool {
display: inline-block;
position: relative;
width: 0;
height: 0;
}
[jax="SVG"] mjx-tool > mjx-tip {
position: absolute;
top: 0;
left: 0;
}
mjx-tool > mjx-tip {
display: inline-block;
padding: .2em;
border: 1px solid #888;
font-size: 70%;
background-color: #F8F8F8;
color: black;
box-shadow: 2px 2px 5px #AAAAAA;
}
g[data-mml-node="maction"][data-toggle] {
cursor: pointer;
}
mjx-status {
display: block;
position: fixed;
left: 1em;
bottom: 1em;
min-width: 25%;
padding: .2em .4em;
border: 1px solid #888;
font-size: 90%;
background-color: #F8F8F8;
color: black;
}
foreignObject[data-mjx-xml] {
font-family: initial;
line-height: normal;
overflow: visible;
}
.MathJax path {
stroke-width: 3;
}
mjx-container[display="true"] {
overflow: auto hidden;
}
mjx-container[display="true"] + br {
display: none;
}
</style><link rel="alternate" href="/atom.xml" title="Zone" type="application/atom+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 (false) {
document.addEventListener('pjax:send', () => { preloader.initLoading() })
document.addEventListener('pjax:complete', () => { preloader.endLoading() })
}
})()</script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/OIP.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">6</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">3</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div><hr class="custom-hr"/><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="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 生活</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li><li><a class="site-page child" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page child" href="/shuoshuo/"><i class="fa-fw fas fa-blog"></i><span> 文字</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></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('/img/home.png')"><nav id="nav"><span id="blog-info"><a href="/" title="Zone"><span class="site-name">Zone</span></a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i><span> 搜索</span></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="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 生活</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li><li><a class="site-page child" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page child" href="/shuoshuo/"><i class="fa-fw fas fa-blog"></i><span> 文字</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">Zone</h1><div id="site-subtitle"><span id="subtitle"></span></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" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/2023/12/13/DAP/" title="Dynamic Adversarial Patch"><img class="post-bg" src="https://pica.zhimg.com/v2-b58203680f85b36059a2f8c02ba4b3e1.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Dynamic Adversarial Patch"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/12/13/DAP/" title="Dynamic Adversarial Patch">Dynamic Adversarial Patch</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="2023-12-13T07:25:25.000Z" title="发表于 2023-12-13 15:25:25">2023-12-13</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/Adversarial-attack/">Adversarial attack</a></span></div><div class="content">前言
Title:Dynamic Adversarial Patch for Evading Object Detection Models
Subject: arXiv-20
Link:[Paper]
Keyword:Adversarial Patches
动机(Motivation)
对抗补丁(Adversarial Patches)对于拍摄位置的改变不具有鲁棒性,同时,现有的对抗补丁不能应用于非平面物体。
本文提出Dynamic Adversarial Patch,将Patches
放在目标预定位置,并通过对抗算法进行补丁生成。Dynamic主要是通过切换相机的角度优化Patches。
方法(Method)
为了模型真实世界中设备限制,使用 random noise改变
Patches的 brightness和
contrast,从而增强攻击的Robustness
将Patches 应用于 Img,并且通过检测模型
YOLO 计算 loss,并 最大化
Obj_loss 和 Cls_loss
为保证生成 Patches的平滑度, ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2023/12/12/Hexo-Latex/" title="Hexo-Latex"><img class="post-bg" src="https://z1.ax1x.com/2023/11/25/pi0F6G6.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hexo-Latex"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/12/12/Hexo-Latex/" title="Hexo-Latex">Hexo-Latex</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="2023-12-12T15:12:35.000Z" title="发表于 2023-12-12 23:12:35">2023-12-12</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/Hexo/">Hexo</a></span></div><div class="content">前言
使用Hexo创建博客后,难免会遇到公式的书写问题。但是本地Typora的公式渲染无法直接在博客中显示出来,主要原因是Hexo
默认使用的渲染器不支持latex公式,因此需要更换渲染器(hexo-renderer-pandoc),并且进行后续的一系列操作。
操作流程
卸载默认公式渲染器
npm un hexo-mathnpm un hexo-renderer-marked
npm加速下载(可选)
使用npm 镜像
npm config set registry https://registry.npmmirror.com
查看当前镜像源
npm config get registry
返回官方原始镜像源
npm config set registry https://registry.npmjs.org/
安装新的公式渲染器即插件
npm i hexo-renderer-pandoc
这步可以视具体情况而定,但是如果遗漏可能会没办法正确显示公式
npm i hexo-filter-mathjax
配置文件更改
(eg:\themes\ ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/12/12/Java/" title="Java"><img class="post-bg" src="https://z1.ax1x.com/2023/12/12/pifVTKS.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/12/12/Java/" title="Java">Java</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="2023-12-12T14:16:30.000Z" title="发表于 2023-12-12 22:16:30">2023-12-12</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/Java/">Java</a></span></div><div class="content">前言
由于面临找工作困境,结合大环境和自身分析,暂定目标岗位为java后端开发,因此快速学习一下java基础语法。
基础语法
数据类型包括基本数据类型和引用数据类型,强制转换使用小括号
引用数据类型就是可以被引用的数据类型,包括字符串、
面对对象
内存
Java中的存储空间,栈中间储存函数和变量,堆中储存对象,元空间储存类的信息。
堆中保存的是实例对象的成员属性,元空间中储存的是类的静态属性。
先有类再有对象,因此成员函数中可以调用静态函数,但是静态函数不允许调用成员函数
类的信息加载完成后,会自动调用静态代码块,可以完成静态属性的初始化功能
包
包,容纳类,主要用于功能分类,包含上下级关系
创建对象时,可以使用类的相对路径来准确调用
继承与多态
继承 Extends
类的继承只能单继承,只能有一个父类,不能有多个父类
super和this 分别表示调用父类的成员变量和子类的成员变量
对于一个父类,创建子类n次,那么父类也需要相对应的创建n次,每个不同的子类对应的父类对象不一样
多态,一个对象在不同场景下表现出来的 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2023/12/12/PS-GAN/" title="PS-GAN"><img class="post-bg" src="https://pica.zhimg.com/v2-b58203680f85b36059a2f8c02ba4b3e1.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="PS-GAN"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/12/12/PS-GAN/" title="PS-GAN">PS-GAN</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="2023-12-12T11:57:08.000Z" title="发表于 2023-12-12 19:57:08">2023-12-12</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/Adversarial-attack/">Adversarial attack</a></span></div><div class="content">前言
Title:Perceptual-Sensitive GAN for Generating Adversarial Patches
Subject: AAAI-19
Link:[Paper]
Keyword:Adversarial Patches、GAN、Attention、
动机(Motivation)
对抗补丁(Adversarial Patches)对于网络具有一定的攻击性,但是视觉上不够自然,并且对抗补丁忽略了被攻击模型的感知敏感性。
本文提出PS-GAN,同时增强对抗补丁的视觉保真度和攻击能力。主要是通过
patch-to-patch translation 和
attention mechanism
来产生更自然、更具攻击性的对抗补丁。
方法(Method)
对于Traffic Sign ,通过Attention Model 获得 中最具感知敏感性的位置,该位置对于攻击更加敏感。
对于Seed Patch , 通过Generator 得到对抗补丁
将 应用于 ,得到Fake Traffic Sign
, 将 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2023/11/25/Hexo/" title="从零搭建博客-Hexo"><img class="post-bg" src="https://z1.ax1x.com/2023/11/25/pi0F6G6.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="从零搭建博客-Hexo"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/11/25/Hexo/" 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="2023-11-25T07:39:40.000Z" title="发表于 2023-11-25 15:39:40">2023-11-25</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/Hexo/">Hexo</a></span></div><div class="content">前言
求学以来,零零散散的记录了一些问题,也形成了一些笔记,但是从未有过管理自己的博客的想法。归根结底,到底还是由于平台太多,自己太懒,并不像多平台发布,只想着取悦自己。因此,我搭建了一个专属自己的平台,随性发布一些内容。
选择Hexo+GitHub搭建博客,是因为本人现阶段并不打算租服务器或者在这上面花费太多的💴,因此选择这个组合来搭建博客
为了美化博客,最简单的方式就是使用butterfly等现有的主题,而关于如何使用Node.js、GitHub、Hexo、Butterfly搭建、美化,网络上有太多太多行之有效的教程,多出一份也毫无意义。因此,本人在此专门从小白角度,以身试法,总结一下自己遇到的问题
博客搭建
博客搭建初期,使用Github的进行ssh key连接过程,如果报错,很大程度上是网络问题,需要不断尝试
打开代理-切换代理-关闭代理等多种方法,或者是稍后访问。
基于Hexo的博客搭建常见命令
hexo n page "分类" # 新建页面hexo new "My Blot" # 新建博客,注意冒号是必须带上 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2023/11/24/hello-world/" title="Hello World"><img class="post-bg" src="https://z1.ax1x.com/2023/11/25/pi0F6G6.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hello World"></a></div><div class="recent-post-info"><a class="article-title" href="/2023/11/24/hello-world/" title="Hello World">Hello World</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="2023-11-24T10:04:23.510Z" title="发表于 2023-11-24 18:04:23">2023-11-24</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/Hexo/">Hexo</a></span></div><div class="content">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 troubleshooting or
you can ask me on GitHub.
Quick Start
Create a new post
$ hexo new "My New Post"
More info: Writing
Run server
$ hexo server
More info: Server
Generate static files
$ hexo generate
More info: Generating
Deploy to remote sites
$ hexo deploy
More info: Deployment
Code Test
print('Hello, my zone!&#x ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/img/OIP.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">Kegard</div><div class="author-info__description">吾心安处</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">6</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">3</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/Kegard"><i class="fab fa-github"></i><span>Follow Me</span></a></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">Welcome to my world</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"><a class="thumbnail" href="/2023/12/13/DAP/" title="Dynamic Adversarial Patch"><img src="https://pica.zhimg.com/v2-b58203680f85b36059a2f8c02ba4b3e1.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Dynamic Adversarial Patch"/></a><div class="content"><a class="title" href="/2023/12/13/DAP/" title="Dynamic Adversarial Patch">Dynamic Adversarial Patch</a><time datetime="2023-12-13T07:25:25.000Z" title="发表于 2023-12-13 15:25:25">2023-12-13</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/12/12/Hexo-Latex/" title="Hexo-Latex"><img src="https://z1.ax1x.com/2023/11/25/pi0F6G6.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hexo-Latex"/></a><div class="content"><a class="title" href="/2023/12/12/Hexo-Latex/" title="Hexo-Latex">Hexo-Latex</a><time datetime="2023-12-12T15:12:35.000Z" title="发表于 2023-12-12 23:12:35">2023-12-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/12/12/Java/" title="Java"><img src="https://z1.ax1x.com/2023/12/12/pifVTKS.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Java"/></a><div class="content"><a class="title" href="/2023/12/12/Java/" title="Java">Java</a><time datetime="2023-12-12T14:16:30.000Z" title="发表于 2023-12-12 22:16:30">2023-12-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/12/12/PS-GAN/" title="PS-GAN"><img src="https://pica.zhimg.com/v2-b58203680f85b36059a2f8c02ba4b3e1.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="PS-GAN"/></a><div class="content"><a class="title" href="/2023/12/12/PS-GAN/" title="PS-GAN">PS-GAN</a><time datetime="2023-12-12T11:57:08.000Z" title="发表于 2023-12-12 19:57:08">2023-12-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2023/11/25/Hexo/" title="从零搭建博客-Hexo"><img src="https://z1.ax1x.com/2023/11/25/pi0F6G6.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="从零搭建博客-Hexo"/></a><div class="content"><a class="title" href="/2023/11/25/Hexo/" title="从零搭建博客-Hexo">从零搭建博客-Hexo</a><time datetime="2023-11-25T07:39:40.000Z" title="发表于 2023-11-25 15:39:40">2023-11-25</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/Adversarial-attack/"><span class="card-category-list-name">Adversarial attack</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Hexo/"><span class="card-category-list-name">Hexo</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Java/"><span class="card-category-list-name">Java</span><span class="card-category-list-count">1</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/papernotes/" style="font-size: 1.3em; color: rgb(84, 199, 181)">papernotes</a><a href="/tags/Hexo/" style="font-size: 1.45em; color: rgb(1, 171, 46)">Hexo</a><a href="/tags/CS/" style="font-size: 1.15em; color: rgb(27, 133, 185)">CS</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/2023/12/"><span class="card-archive-list-date">十二月 2023</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/2023/11/"><span class="card-archive-list-date">十一月 2023</span><span class="card-archive-list-count">2</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">6</div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">5.9k</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="2023-12-13T12:16:46.560Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('/img/home.png')"><div id="footer-wrap"><div class="copyright">©2020 - 2023 By Kegard</div><div class="footer_custom_text">Hi, welcome to my blog!</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="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></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 {
getScript('https://cdn.jsdelivr.net/npm/typed.js/dist/typed.umd.min.js').then(subtitleType)
}
} else {
subtitleType()
}
}
}
</script><script>function subtitleType () {
if (true) {
typedJSFn.init(["春有百花秋有月,夏有凉风冬有雪。若无闲事挂心头,便是人间好时节","方寸之间,宽窄自如"])
} else {
document.getElementById("subtitle").textContent = "春有百花秋有月,夏有凉风冬有雪。若无闲事挂心头,便是人间好时节"
}
}
typedJSFn.run(subtitleType)</script></div><canvas class="fireworks" mobile="false"></canvas><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/fireworks.min.js"></script><script id="canvas_nest" defer="defer" color="0,0,255" opacity="0.7" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></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="is-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>