-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
435 lines (244 loc) · 16.1 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>我的Hexo博客</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:type" content="website">
<meta property="og:title" content="我的Hexo博客">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="我的Hexo博客">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">
<link rel="alternate" href="/atom.xml" title="我的Hexo博客" type="application/atom+xml">
<link rel="shortcut icon" href="/favicon.png">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
<meta name="generator" content="Hexo 7.3.0"></head>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">我的Hexo博客</a>
</h1>
<h2 id="subtitle-wrap">
<a href="/" id="subtitle">希望能坚持写技术博客</a>
</h2>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"><span class="fa fa-bars"></span></a>
<a class="main-nav-link" href="/">Home</a>
<a class="main-nav-link" href="/archives">Archives</a>
</nav>
<nav id="sub-nav">
<a class="nav-icon" href="/atom.xml" title="RSS Feed"><span class="fa fa-rss"></span></a>
<a class="nav-icon nav-search-btn" title="Search"><span class="fa fa-search"></span></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="http://example.com"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="'config-pc" class="h-entry article article-type-'config" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2024/10/23/pc/" class="article-date">
<time class="dt-published" datetime="2024-10-22T16:29:06.000Z" itemprop="datePublished">2024-10-23</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2024/10/23/pc/">pc'</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>a new post for new pc</p>
</div>
<footer class="article-footer">
<a data-url="http://example.com/2024/10/23/pc/" data-id="cm2knvrko0005w4x5e8goe7yz" data-title="pc'" class="article-share-link"><span class="fa fa-share">Share</span></a>
</footer>
</div>
</article>
<article id="post-hello-world" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2024/10/22/hello-world/" class="article-date">
<time class="dt-published" datetime="2024-10-22T14:43:30.512Z" itemprop="datePublished">2024-10-22</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2024/10/22/hello-world/">Hello World</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">"My New Post"</span></span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>
</div>
<footer class="article-footer">
<a data-url="http://example.com/2024/10/22/hello-world/" data-id="cm2knvrkm0004w4x5cdtz43je" data-title="Hello World" class="article-share-link"><span class="fa fa-share">Share</span></a>
</footer>
</div>
</article>
<article id="post-hexo-部署到github-pages关键步骤" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2023/10/12/hexo-%E9%83%A8%E7%BD%B2%E5%88%B0github-pages%E5%85%B3%E9%94%AE%E6%AD%A5%E9%AA%A4/" class="article-date">
<time class="dt-published" datetime="2023-10-12T03:03:06.000Z" itemprop="datePublished">2023-10-12</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2023/10/12/hexo-%E9%83%A8%E7%BD%B2%E5%88%B0github-pages%E5%85%B3%E9%94%AE%E6%AD%A5%E9%AA%A4/">hexo 部署到github pages关键步骤</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>1.hexo工程文件,博客内容的markdown文件,需要保存在一个分支。而生成的静态网站,需要存放在另外分支。<br>2.生成的静态网站并且发布到另外一个分支,可以通过hexo的插件完成。</p>
<p>步骤1:<br>修改_config.yml文件,在最后加入以下配置:<br> deploy:<br> type: git<br> repository: <a target="_blank" rel="noopener" href="https://github.com/username/username.github.io">https://github.com/username/username.github.io</a><br> branch: main</p>
<p>需要注意的发布分支bran需要和归档分支不同,发布分支需要和git仓pages设置中的分支一致</p>
<p>步骤2:<br>安装<br>npm install hexo-deployer-git –save</p>
<p>步骤3:<br>生成和发布<br>hexo clean<br>hexo g<br>hexo d</p>
</div>
<footer class="article-footer">
<a data-url="http://example.com/2023/10/12/hexo-%E9%83%A8%E7%BD%B2%E5%88%B0github-pages%E5%85%B3%E9%94%AE%E6%AD%A5%E9%AA%A4/" data-id="cm2knvrkm0003w4x5eecld1oo" data-title="hexo 部署到github pages关键步骤" class="article-share-link"><span class="fa fa-share">Share</span></a>
</footer>
</div>
</article>
<article id="post-gcc多版本切换" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2023/10/11/gcc%E5%A4%9A%E7%89%88%E6%9C%AC%E5%88%87%E6%8D%A2/" class="article-date">
<time class="dt-published" datetime="2023-10-11T09:12:30.000Z" itemprop="datePublished">2023-10-11</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2023/10/11/gcc%E5%A4%9A%E7%89%88%E6%9C%AC%E5%88%87%E6%8D%A2/">gcc多版本切换</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>执行以下命令 </p>
<p> sudo apt install build-essential<br> $ sudo apt -y install gcc-7 g++-7 gcc-8 g++-8 gcc-9 g++-9 </p>
<p> sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-7 7 </p>
<p> sudo update-alternatives –install /usr/bin/g++ g++ /usr/bin/g++-7 7 </p>
<p> sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-8 8 </p>
<p> sudo update-alternatives –install /usr/bin/g++ g++ /usr/bin/g++-8 8 </p>
<p> sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-9 9 </p>
<p> sudo update-alternatives –install /usr/bin/g++ g++ /usr/bin/g++-9 9 </p>
<p>$ sudo update-alternatives –config gcc<br>There are 3 choices for the alternative gcc (providing /usr/bin/gcc).<br>Selection Path Priority Status————————————————————<br>0 /usr/bin/gcc-9 9 auto mode<br>1 /usr/bin/gcc-7 7 manual mode*<br>2 /usr/bin/gcc-8 8 manual mode<br>3 /usr/bin/gcc-9 9 manual mode<br>Press to keep the current choice[*], or type selection number: </p>
<p>$ sudo update-alternatives –config g++<br>There are 3 choices for the alternative g++ (providing /usr/bin/g++).<br> Selection Path Priority Status————————————————————*<br>0 /usr/bin/g++-9 9 auto mode<br>1 /usr/bin/g++-7 7 manual mode<br>2 /usr/bin/g++-8 8 manual mode<br>3 /usr/bin/g++-9 9 manual mode<br>Press to keep the current choice[*], or type selection number:</p>
<p>$ gcc –version<br>$ g++ –version</p>
</div>
<footer class="article-footer">
<a data-url="http://example.com/2023/10/11/gcc%E5%A4%9A%E7%89%88%E6%9C%AC%E5%88%87%E6%8D%A2/" data-id="cm2knvrkk0001w4x5h0oaevyf" data-title="gcc多版本切换" class="article-share-link"><span class="fa fa-share">Share</span></a>
</footer>
</div>
</article>
<article id="post-fftw编译" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2023/10/11/fftw%E7%BC%96%E8%AF%91/" class="article-date">
<time class="dt-published" datetime="2023-10-11T09:11:33.000Z" itemprop="datePublished">2023-10-11</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2023/10/11/fftw%E7%BC%96%E8%AF%91/">fftw编译</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>fftw 3.3.10版本,目前支持cmake编译</p>
<p>windows编译过程如下<br>mkdir build<br>cd build<br>cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DENABLE_FLOAT=ON -DENABLE_SSE=ON -DENABLE_SSE2=ON -DENABLE_AVX=ON -DENABLE_AVX=ON -A x64 ..<br>1)去掉-A X64,就会编译x86架构<br>2) 会生成visual studio工程,然后用IDE编译或者通过命令行触发编译即可</p>
</div>
<footer class="article-footer">
<a data-url="http://example.com/2023/10/11/fftw%E7%BC%96%E8%AF%91/" data-id="cm2knvrkl0002w4x52pui8un1" data-title="fftw编译" class="article-share-link"><span class="fa fa-share">Share</span></a>
</footer>
</div>
</article>
<article id="post-My-New-Post" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2023/10/11/My-New-Post/" class="article-date">
<time class="dt-published" datetime="2023-10-11T08:37:25.000Z" itemprop="datePublished">2023-10-11</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2023/10/11/My-New-Post/">我的第一篇文章</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<h1 id="哈哈"><a href="#哈哈" class="headerlink" title="哈哈"></a>哈哈</h1><p>这个家伙很懒,估计写不出什么东西!</p>
</div>
<footer class="article-footer">
<a data-url="http://example.com/2023/10/11/My-New-Post/" data-id="cm2knvrkh0000w4x5428k7q82" data-title="我的第一篇文章" class="article-share-link"><span class="fa fa-share">Share</span></a>
</footer>
</div>
</article>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">Archives</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2024/10/">October 2024</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/10/">October 2023</a></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>
<li>
<a href="/2024/10/23/pc/">pc'</a>
</li>
<li>
<a href="/2024/10/22/hello-world/">Hello World</a>
</li>
<li>
<a href="/2023/10/12/hexo-%E9%83%A8%E7%BD%B2%E5%88%B0github-pages%E5%85%B3%E9%94%AE%E6%AD%A5%E9%AA%A4/">hexo 部署到github pages关键步骤</a>
</li>
<li>
<a href="/2023/10/11/gcc%E5%A4%9A%E7%89%88%E6%9C%AC%E5%88%87%E6%8D%A2/">gcc多版本切换</a>
</li>
<li>
<a href="/2023/10/11/fftw%E7%BC%96%E8%AF%91/">fftw编译</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2024 John Doe<br>
Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">Home</a>
<a href="/archives" class="mobile-nav-link">Archives</a>
</nav>
<script src="/js/jquery-3.6.4.min.js"></script>
<script src="/fancybox/jquery.fancybox.min.js"></script>
<script src="/js/script.js"></script>
</div>
</body>
</html>