-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.xml
87 lines (75 loc) · 6.47 KB
/
index.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
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Yonghui Lin</title>
<link>https://therolf07200.github.io/</link>
<description>Recent content on Yonghui Lin</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 16 Sep 2022 00:36:47 +0800</lastBuildDate><atom:link href="https://therolf07200.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Timer</title>
<link>https://therolf07200.github.io/post/timer/</link>
<pubDate>Fri, 16 Sep 2022 00:36:47 +0800</pubDate>
<guid>https://therolf07200.github.io/post/timer/</guid>
<description>C++ Timer Timer class Timer.h #pragma once #include &lt;chrono&gt;#include &lt;iostream&gt; class Timer { public: Timer(); ~Timer(); void Stop(); private: std::chrono::time_point&lt;std::chrono::high_resolution_clock&gt; m_StartTimepoint; }; Timer.cpp #include &#34;Timer.h&#34; Timer::Timer() { m_StartTimepoint = std::chrono::high_resolution_clock::now(); } Timer::~Timer() { Stop(); } void Timer::Stop() { auto endTimepoint = std::chrono::high_resolution_clock::now(); //convert to milliseconds auto start = std::chrono::time_point_cast&lt;std::chrono::milliseconds&gt;(m_StartTimepoint).time_since_epoch().count(); auto stop = std::chrono::time_point_cast&lt;std::chrono::milliseconds&gt;(endTimepoint).time_since_epoch().count(); auto duration = stop -start; double ms = duration * 1E-3; std::cout &lt;&lt; duration &lt;&lt; &#34; us (&#34; &lt;&lt; ms &lt;&lt; &#34; ms)\n&#34;; } </description>
</item>
<item>
<title>IO</title>
<link>https://therolf07200.github.io/post/io/</link>
<pubDate>Thu, 15 Sep 2022 23:50:32 +0800</pubDate>
<guid>https://therolf07200.github.io/post/io/</guid>
<description>C++ Method how to read file how to write file </description>
</item>
<item>
<title>Markdown</title>
<link>https://therolf07200.github.io/post/markdown/</link>
<pubDate>Wed, 14 Sep 2022 20:01:45 +0800</pubDate>
<guid>https://therolf07200.github.io/post/markdown/</guid>
<description>Markdown 官方教程
Markdown 是一种轻量级标记语言,它允许人们使用易读易写的纯文本格式编写文档,Markdown文件的后缀名便是“.md”。
一般来说,markdown在编写过程中,左边窗口用来编写MD语法与内容,右边窗口实时预览渲染出的排版效果 。不过,有些对Markdown优化的比较好的软件,可在编写过程中实时渲染排版效果,编写体验比较丝滑。
MarkDown语法的简洁而特性,会带来一些特点:编写者只能控制排版的种类,具体的样式由编译平台决定。
特点:详细介绍 专注于文字内容; 纯文本,易读易写,可以方便地纳入版本控制; 语法简单,没有什么学习成本,能轻松在码字的同时做出美观大方的排版。 基本语法速查 语法概览 标题(heading) # H1 ## H2 ### h3 粗体(bold) **blod text** 斜体(Italic) *Italicized text* 引用快(Blockquote) &gt; blockquote 有序列表(Ordered List) 1. first item 2. second item 无序列表(Unordered List) * first item * second item * or - 代码(Code) code 分隔线(Horizonal Rule) --- 链接(Link) [title](https://google.</description>
</item>
<item>
<title>Vim使用入门</title>
<link>https://therolf07200.github.io/post/vim%E4%BD%BF%E7%94%A8%E5%85%A5%E9%97%A8/</link>
<pubDate>Sat, 10 Sep 2022 23:01:10 +0800</pubDate>
<guid>https://therolf07200.github.io/post/vim%E4%BD%BF%E7%94%A8%E5%85%A5%E9%97%A8/</guid>
<description>VIM使用入门 官网
设置 .vimrc
插件
VIM配置 curl -fLo ~/.vim/autolaod/plug.vim --create-dirs \ https://raw.githubusercontent/junegunn/vim-plug/master/plug.vim let mapleader=&#34; &#34; syntax on set number set cursorline set mouse=a set hlsearch set incsearch set smartcase set ignorecase set scrolloff=10 set autoindent map s &lt;nop&gt; map S :w&lt;CR&gt; map Q :wq&lt;CR&gt; map R :source $MYVIMRC&lt;CR&gt; noremap &lt;LEADER&gt;&lt;CR&gt; :nohlsearch&lt;CR&gt; noremap K 5k noremap J 5j map sv :vsplit&lt;CR&gt; map sh :split&lt;CR&gt; call plug#begin(&#39;~/.vim/plugged&#39;) Plug &#39;vim-airline/vim-airline&#39; Plug &#39;ghifarit53/tokyonight-vim&#39; call plug#end() colorscheme tokyonight 基本操作 移动 光标上移 :k</description>
</item>
<item>
<title>Kubuntu安装与配置</title>
<link>https://therolf07200.github.io/post/kubuntu%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE/</link>
<pubDate>Sat, 10 Sep 2022 13:00:47 +0800</pubDate>
<guid>https://therolf07200.github.io/post/kubuntu%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE/</guid>
<description>kubuntu安装 官网
Download
kubuntu 配置 换源 清华源
Ubuntu 的软件源配置文件是 /etc/apt/sources.list
替换内容即可
SHIFT + INSERT 可在vim中粘贴 中文打字法安装 fcitx安装
sudo apt install fcitx reboot #重启 配置
im-comfig -&gt; activate Flexible Iput Method Framework (fcitx)@ -&gt;OK -&gt;OK
fcitx-googlepinyin安装
sudo apt install fcitx-googlepinyin Configuration
fcitx-configtool reboot #可能需要重启 切换打字法
Ctrol + SPACE
安装zsh 安装zsh</description>
</item>
<item>
<title>博客搭建</title>
<link>https://therolf07200.github.io/post/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/</link>
<pubDate>Thu, 08 Sep 2022 20:56:45 +0800</pubDate>
<guid>https://therolf07200.github.io/post/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/</guid>
<description>个人blog搭建 参考视频 hugo linux平台安装
sudo apt install hugo start hugo new site &lt;myblog&gt; #dir_name cd myblog themes 官网 git clone theme 本地启动 hugo server -t m10c --buildDrafts theme 以m10c为例
Ctrl +C 结束
编写 hugo new post/blog.md directory: content/post/blog.md 部署 hugo --theme=m10c --baseUrl=&#34;https://therolf07200.github.io/&#34; --buildDrafts 产生public文件夹 git cd public git init git add . git commit -m &#34;MASSAGE&#34; git remote add origin https://github.</description>
</item>
</channel>
</rss>