-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatom.xml
99 lines (48 loc) · 17.6 KB
/
atom.xml
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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Hexo</title>
<link href="http://example.com/atom.xml" rel="self"/>
<link href="http://example.com/"/>
<updated>2024-04-21T12:44:33.835Z</updated>
<id>http://example.com/</id>
<author>
<name>John Doe</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>博客搭建总结</title>
<link href="http://example.com/2024/04/21/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA%E6%80%BB%E7%BB%93/"/>
<id>http://example.com/2024/04/21/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA%E6%80%BB%E7%BB%93/</id>
<published>2024-04-21T11:46:24.000Z</published>
<updated>2024-04-21T12:44:33.835Z</updated>
<content type="html"><![CDATA[<link rel="stylesheet" class="aplayer-secondary-style-marker" href="\assets\css\APlayer.min.css"><script src="\assets\js\APlayer.min.js" class="aplayer-secondary-script-marker"></script><script class="meting-secondary-script-marker" src="\assets\js\Meting.min.js"></script><iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=454231899&auto=1&height=66"></iframe><p><img src="https://haojen.github.io/Claudia-theme-blog/images/landscape-2.jpg"></p><h2 id="前期准备和框架选择"><a href="#前期准备和框架选择" class="headerlink" title="前期准备和框架选择"></a>前期准备和框架选择</h2><ol><li><p>安装Node.js</p><p>在 Node.js 官网找到下载链接,选择合适的版本,安装完成后在 cmd通过查看版本号来验证安装</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">node -v</span><br><span class="line"></span><br><span class="line">npm -v</span><br></pre></td></tr></table></figure></li><li><p>安装hexo</p><p>为自己的博客仓库准备一个专门的目录,在该目录下打开git bash,输入</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm i hexo-cli -g</span><br></pre></td></tr></table></figure><p>同样,在安装完成后查看版本号来验证安装</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo -v</span><br></pre></td></tr></table></figure></li><li><p>博客目录初始化</p><p>使用 hexo 自带的命令就可以方便地搭建起一个简单的博客页面,在bash 或 cmd 中输入,这样博客目录中也会产生由 hexo 生成的框架代码</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">hexo init</span><br><span class="line"></span><br><span class="line">npm install </span><br><span class="line"></span><br><span class="line">hexo g(generate)</span><br><span class="line">hexo s(本地预览)</span><br></pre></td></tr></table></figure></li></ol><h2 id="选择主题和个性化配置"><a href="#选择主题和个性化配置" class="headerlink" title="选择主题和个性化配置"></a>选择主题和个性化配置</h2><ol><li><p>在 hexo 官网中选择一个主题,并将该主题对应的 github 仓库clone 到本地,放到博客目录的 theme 文件夹下,并修改_config.yml 中的 theme 字段</p><p>我这里选择的主题是 Claudia ,风格简介明晰,但是后续做一些个性化设置对比其他主题,不是很友好</p></li><li><p>添加 404 界面</p><p>在博客目录的 source 通过 hexo 命令新建单独的 404 文件</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo new page 404</span><br></pre></td></tr></table></figure><p>只需要修改该文件夹下名为的 index 的 markdown 文件就可以配置 404 界面了,这里的配置自由度很高,我选择了比较常见的公益 404 界面</p></li><li><p>发布新博文,添加音乐播放块</p><p>输入 hexo 命令</p><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo new post "article title"</span><br></pre></td></tr></table></figure><p>就会生成同名的 markdown 文件,在其中嵌入网易云播放器模块,这是一个 HTML 的代码块</p><figure class="highlight html"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag"><<span class="name">iframe</span> <span class="attr">frameborder</span>=<span class="string">"no"</span> <span class="attr">border</span>=<span class="string">"0"</span> <span class="attr">marginwidth</span>=<span class="string">"0"</span> <span class="attr">marginheight</span>=<span class="string">"0"</span> <span class="attr">width</span>=<span class="string">330</span> <span class="attr">height</span>=<span class="string">86</span> <span class="attr">src</span>=<span class="string">"//music.163.com/outchain/player?type=2&id=454231736&auto=1&height=66"</span>></span><span class="tag"></<span class="name">iframe</span>></span></span><br></pre></td></tr></table></figure><p>在博客中插入音乐播放器也有很多花样可以探索,hexo 也提供一些额外的插件,比如 aplayer 和本地视频播放器 dplayer等</p></li></ol><h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h2><p>看了一些其他同学搭建博客的总结,有一些主题会提供个性化配置的详细文档,也搭好了轮子,这类主题就可以很方便按自己所想进行配置和更改。不过我选的这个主题只有基础的配置文档,想要更改一些界面就得自己从零开始学习和配置,应该是需要用到前段的知识,显示效果也不太好。我就从简没有去深入尝试了。</p>]]></content>
<summary type="html"><link rel="stylesheet" class="aplayer-secondary-style-marker" href="\assets\css\APlayer.min.css"><script src="\assets\js\APlayer.min.js" cla</summary>
</entry>
<entry>
<title>新生入学教育</title>
<link href="http://example.com/2024/04/21/%E6%96%B0%E7%94%9F%E5%85%A5%E5%AD%A6%E6%95%99%E8%82%B2/"/>
<id>http://example.com/2024/04/21/%E6%96%B0%E7%94%9F%E5%85%A5%E5%AD%A6%E6%95%99%E8%82%B2/</id>
<published>2024-04-21T11:45:27.000Z</published>
<updated>2024-04-21T11:49:34.591Z</updated>
<content type="html"><![CDATA[<link rel="stylesheet" class="aplayer-secondary-style-marker" href="\assets\css\APlayer.min.css"><script src="\assets\js\APlayer.min.js" class="aplayer-secondary-script-marker"></script><script class="meting-secondary-script-marker" src="\assets\js\Meting.min.js"></script><iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=448316055&auto=1&height=66"></iframe><p><img src="https://haojen.github.io/Claudia-theme-blog/images/landscape-1.jpg"></p><ol><li><strong>掌握领域前沿技术</strong><ol><li>找到自己领域的顶会</li></ol></li></ol><ul><li><p>中国计算机学会推荐国际学术会议和期刊目录</p></li><li><p>搜索学术论文:谷歌学术、DBLP、paperwithcode</p></li><li><p>多查看综述</p></li><li><ol start="2"><li>科研流程:想法 -> 实验 -> 论文<br>为什么读论文:</li></ol></li><li><p>了解学术界规则</p></li><li><p>防止想法翻车</p></li></ul><p>读什么论文:</p><ul><li>确定研究方向</li><li>找篇综述顺着读</li><li>逛arXiv</li></ul><p>如何读论文:</p><ul><li><p>重要的论文精读</p></li><li><p>注水的论文泛读<br>c. 写出论文的关键</p></li><li><p>基本的代码能力</p><ul><li>确保自己想法能实现</li><li>尽<strong>全力</strong>缩短从想法到实验结果的时间</li></ul></li><li><p>形成循环工作流</p></li><li><p>善用各种工具</p><ul><li>overleaf</li><li>ChatGPT</li><li>Grammarly</li></ul></li><li><p>找导师帮忙修改</p></li></ul><ol start="2"><li>研究生学习进度:</li></ol><table><thead><tr><th></th><th>上学期</th><th>下学期</th></tr></thead><tbody><tr><td>研一</td><td>基础课程学习,跟进课题</td><td></td></tr><tr><td>研二</td><td>完成课题、小论文</td><td>开题</td></tr><tr><td>研三</td><td>完成大论文</td><td>大论文修改,答辩</td></tr></tbody></table><ol start="3"><li><p>明确自己的研究方向</p><ol><li>数据库</li><li>区块链</li><li>系统优化</li><li>大数据挖掘</li><li>人工智能</li><li>联邦与隐私保护</li></ol></li><li><p>写论文的要素</p></li></ol><ul><li>多读论文掌握论文“套路”</li><li>明确故事主线、逻辑性</li><li>动机?贡献?与先前方法的差异和优劣点?</li><li>格式:摘要、引言、相关工作/背景知识、方法、实验与讨论、附录</li><li>积累词汇、专业表达</li></ul>]]></content>
<summary type="html"><link rel="stylesheet" class="aplayer-secondary-style-marker" href="\assets\css\APlayer.min.css"><script src="\assets\js\APlayer.min.js" cla</summary>
</entry>
<entry>
<title>markdown quick start</title>
<link href="http://example.com/2024/04/19/markdown-quick-start/"/>
<id>http://example.com/2024/04/19/markdown-quick-start/</id>
<published>2024-04-19T15:04:24.000Z</published>
<updated>2024-04-21T12:50:16.425Z</updated>
<content type="html"><![CDATA[<link rel="stylesheet" class="aplayer-secondary-style-marker" href="\assets\css\APlayer.min.css"><script src="\assets\js\APlayer.min.js" class="aplayer-secondary-script-marker"></script><script class="meting-secondary-script-marker" src="\assets\js\Meting.min.js"></script><h1 id="Python-Markdown"><a href="#Python-Markdown" class="headerlink" title="Python-Markdown"></a><a href="https://python-markdown.github.io/">Python-Markdown</a></h1><p><img src="https://haojen.github.io/Claudia-theme-blog/images/river.png"></p><iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=1973113851&auto=1&height=66"></iframe><p><a href="https://github.com/Python-Markdown/markdown/actions?query=workflow:CI+event:push"><img src="https://github.com/Python-Markdown/markdown/workflows/CI/badge.svg?event=push" alt="Build Status"></a><br><a href="https://codecov.io/gh/Python-Markdown/markdown"><img src="https://codecov.io/gh/Python-Markdown/markdown/branch/master/graph/badge.svg" alt="Coverage Status"></a><br><a href="https://pypi.org/project/Markdown/"><img src="https://img.shields.io/pypi/v/Markdown.svg" alt="Latest Version"></a><br><a href="https://pypi.org/project/Markdown/"><img src="https://img.shields.io/pypi/pyversions/Markdown.svg" alt="Python Versions"></a><br><a href="https://opensource.org/licenses/BSD-3-Clause"><img src="https://img.shields.io/badge/license-BSD-yellow.svg" alt="BSD License"></a><br><a href="https://github.com/Python-Markdown/markdown/blob/master/CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/code%20of%20conduct-contributor%20covenant-green.svg?style=flat-square" alt="Code of Conduct"></a></p><p>转载自:<a href="https://github.com/Python-Markdown/markdown">https://github.com/Python-Markdown/markdown</a></p><p>This is a Python implementation of John Gruber’s <a href="https://daringfireball.net/projects/markdown/">Markdown</a>.<br>It is almost completely compliant with the reference implementation,<br>though there are a few known issues. See <a href="https://python-markdown.github.io/#Features">Features</a> for information<br>on what exactly is supported and what is not. Additional features are<br>supported by the <a href="https://python-markdown.github.io/extensions">Available Extensions</a>.</p><h2 id="Documentation"><a href="#Documentation" class="headerlink" title="Documentation"></a>Documentation</h2><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">pip install markdown</span><br></pre></td></tr></table></figure><figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> markdown</span><br><span class="line">html = markdown.markdown(your_text_string)</span><br></pre></td></tr></table></figure><p>For more advanced <a href="https://python-markdown.github.io/install/">installation</a> and <a href="https://python-markdown.github.io/reference/">usage</a> documentation, see the <code>docs/</code> directory<br>of the distribution or the project website at <a href="https://python-markdown.github.io/">https://Python-Markdown.github.io/</a>.</p><p>See the change log at <a href="https://python-markdown.github.io/changelog/">https://python-markdown.github.io/changelog/</a>.</p><h2 id="Support"><a href="#Support" class="headerlink" title="Support"></a>Support</h2><p>You may report bugs, ask for help, and discuss various other issues on the <a href="https://github.com/Python-Markdown/markdown/issues">bug tracker</a>.</p><h2 id="Code-of-Conduct"><a href="#Code-of-Conduct" class="headerlink" title="Code of Conduct"></a>Code of Conduct</h2><p>Everyone interacting in the Python-Markdown project’s code bases, issue trackers,<br>and mailing lists is expected to follow the <a href="https://github.com/Python-Markdown/markdown/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a>.</p>]]></content>
<summary type="html"><link rel="stylesheet" class="aplayer-secondary-style-marker" href="\assets\css\APlayer.min.css"><script src="\assets\js\APlayer.min.js" cla</summary>
</entry>
<entry>
<title>Hello World</title>
<link href="http://example.com/2024/04/16/hello-world/"/>
<id>http://example.com/2024/04/16/hello-world/</id>
<published>2024-04-16T14:19:52.658Z</published>
<updated>2024-04-19T14:42:34.971Z</updated>
<content type="html"><![CDATA[<link rel="stylesheet" class="aplayer-secondary-style-marker" href="\assets\css\APlayer.min.css"><script src="\assets\js\APlayer.min.js" class="aplayer-secondary-script-marker"></script><script class="meting-secondary-script-marker" src="\assets\js\Meting.min.js"></script><iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=27493061&auto=1&height=66"></iframe><p><img src="https://haojen.github.io/Claudia-theme-blog/images/tree.png"></p><p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a 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 href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a 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 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 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 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 href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>]]></content>
<summary type="html"><link rel="stylesheet" class="aplayer-secondary-style-marker" href="\assets\css\APlayer.min.css"><script src="\assets\js\APlayer.min.js" cla</summary>
</entry>
</feed>