-
Notifications
You must be signed in to change notification settings - Fork 0
/
atom.xml
164 lines (108 loc) · 16.4 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
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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>月隐江楼的小楼</title>
<subtitle>随想 妄想 梦想</subtitle>
<link href="/atom.xml" rel="self"/>
<link href="http://glee0413.github.io/"/>
<updated>2017-06-15T04:17:45.575Z</updated>
<id>http://glee0413.github.io/</id>
<author>
<name>月隐江楼</name>
</author>
<generator uri="http://hexo.io/">Hexo</generator>
<entry>
<title>docker 远程桌面</title>
<link href="http://glee0413.github.io/2017/06/15/docker-%E8%BF%9C%E7%A8%8B%E6%A1%8C%E9%9D%A2/"/>
<id>http://glee0413.github.io/2017/06/15/docker-远程桌面/</id>
<published>2017-06-15T04:06:07.000Z</published>
<updated>2017-06-15T04:17:45.575Z</updated>
<summary type="html">
<h2 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h2><h3 id="下载配置文件"><a href="#下载配置文件" class="headerlink" title="下载配置文件"></a>下载配置文件</h3><p>参考 <a href="https://github.com/fcwu/docker-ubuntu-vnc-desktop">github vnd desktop</a>,将里面的image文件下载好,放到安装目录</p>
<h3 id="需要提前下载tnit,此文件为针对docker使用的init文件"><a href="#需要提前下载tnit,此文件为针对docker使用的init文件" class="headerlink" title="需要提前下载tnit,此文件为针对docker使用的init文件"></a>需要提前下载tnit,此文件为针对docker使用的init文件</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">https://github.com/krallin/tini/releases/download/$&#123;TINI_VERSION&#125;/tini</div></pre></td></tr></table></figure>
<h3 id="编辑sources-list文件"><a href="#编辑sources-list文件" class="headerlink" title="编辑sources.list文件"></a>编辑sources.list文件</h3><p>在安装目录下建立sources.list文件,并加入<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div></pre></td><td class="code"><pre><div class="line">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main multiverse restricted universe</div><div class="line">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main multiverse restricted universe</div><div class="line">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main multiverse restricted universe</div><div class="line">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main multiverse restricted universe</div><div class="line">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main multiverse restricted universe</div><div class="line">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main multiverse restricted universe</div><div class="line">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main multiverse restricted universe</div><div class="line">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main multiverse restricted universe</div><div class="line">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main multiverse restricted universe</div><div class="line">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main multiverse restricted universe</div></pre></td></tr></table></figure></p>
</summary>
<category term="docker" scheme="http://glee0413.github.io/tags/docker/"/>
</entry>
<entry>
<title>基于hexo搭建博客</title>
<link href="http://glee0413.github.io/2017/06/15/%E5%9F%BA%E4%BA%8Ehexo%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2/"/>
<id>http://glee0413.github.io/2017/06/15/基于hexo搭建博客/</id>
<published>2017-06-15T02:42:18.000Z</published>
<updated>2017-06-15T03:15:05.087Z</updated>
<summary type="html">
<h2 id="安装hexo"><a href="#安装hexo" class="headerlink" title="安装hexo"></a>安装hexo</h2><h3 id="安装nodejs环境"><a href="#安装nodejs环境" class="headerlink" title="安装nodejs环境"></a>安装nodejs环境</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">sudo apt-get install -y nodejs</div><div class="line">sudo apt install nodejs-legacy</div></pre></td></tr></table></figure>
<h3 id="安装hexo-1"><a href="#安装hexo-1" class="headerlink" title="安装hexo"></a>安装hexo</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">sudo npm install hexo-cli -g</div></pre></td></tr></table></figure>
<h3 id="初始化blog目录"><a href="#初始化blog目录" class="headerlink" title="初始化blog目录"></a>初始化blog目录</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">hexo init name.github.io/</div></pre></td></tr></table></figure>
</summary>
<category term="blog" scheme="http://glee0413.github.io/tags/blog/"/>
</entry>
<entry>
<title>docker环境配置</title>
<link href="http://glee0413.github.io/2017/06/15/docker%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/"/>
<id>http://glee0413.github.io/2017/06/15/docker环境配置/</id>
<published>2017-06-15T01:03:59.000Z</published>
<updated>2017-06-15T02:07:19.169Z</updated>
<summary type="html">
<h2 id="安装docker"><a href="#安装docker" class="headerlink" title="安装docker"></a>安装docker</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line">sudo apt-get install docker docker.io</div><div class="line">sudo service docker start</div><div class="line">sudo docker info</div></pre></td></tr></table></figure>
<h3 id="不使用sudo进行任务服务查看"><a href="#不使用sudo进行任务服务查看" class="headerlink" title="不使用sudo进行任务服务查看"></a>不使用sudo进行任务服务查看</h3><p>由于docker使用unix域套接字,除了docker和root,普通用户无法直接使用,用root又不太安全因此需要将当前用户加入到docker组中<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">sudo groupadd docker</div><div class="line">sudo usermod -aG docker cosmos</div></pre></td></tr></table></figure></p>
</summary>
<category term="docker" scheme="http://glee0413.github.io/tags/docker/"/>
</entry>
<entry>
<title>qemu 虚拟机模拟raspberry</title>
<link href="http://glee0413.github.io/2017/04/17/qemu-%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%A8%A1%E6%8B%9Fraspberry/"/>
<id>http://glee0413.github.io/2017/04/17/qemu-虚拟机模拟raspberry/</id>
<published>2017-04-17T12:41:18.000Z</published>
<updated>2017-04-17T12:56:34.707Z</updated>
<summary type="html">
<h2 id="1,下载树莓派"><a href="#1,下载树莓派" class="headerlink" title="1,下载树莓派"></a>1,下载树莓派</h2><p>到此目录下下载树莓派的镜像文件<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">https://downloads.raspberrypi.org/raspbian/</div></pre></td></tr></table></figure></p>
<h2 id="2,安装qemu"><a href="#2,安装qemu" class="headerlink" title="2,安装qemu"></a>2,安装qemu</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">apt-get install qemu binfmt-support qemu-user-static</div></pre></td></tr></table></figure>
<h2 id="3,下载树莓派启动内核"><a href="#3,下载树莓派启动内核" class="headerlink" title="3,下载树莓派启动内核"></a>3,下载树莓派启动内核</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">https://github.com/dhruvvyas90/qemu-rpi-kernel</div></pre></td></tr></table></figure>
</summary>
<category term="raspberry" scheme="http://glee0413.github.io/tags/raspberry/"/>
</entry>
<entry>
<title>编写可读代码的艺术笔记</title>
<link href="http://glee0413.github.io/2017/02/25/%E7%BC%96%E5%86%99%E5%8F%AF%E8%AF%BB%E4%BB%A3%E7%A0%81%E7%9A%84%E8%89%BA%E6%9C%AF/"/>
<id>http://glee0413.github.io/2017/02/25/编写可读代码的艺术/</id>
<published>2017-02-25T14:14:18.000Z</published>
<updated>2017-02-25T14:35:55.799Z</updated>
<summary type="html">
<h2 id="1-可读性基本定理"><a href="#1-可读性基本定理" class="headerlink" title="1 可读性基本定理"></a>1 可读性基本定理</h2><pre><code>代码的写法应当使别人**理解它所需的时间最小化**
因此尽管减少代码行数是一个好目标,但把理解代码所需的时间最小 化是一个更好的目标
“表面层次” 的改进开始: 选择好的名字、 写好的注释以及把代码整洁地写成更好的格式
</code></pre><h2 id="2-把信息装到名字里"><a href="#2-把信息装到名字里" class="headerlink" title="2 把信息装到名字里"></a>2 把信息装到名字里</h2><ul>
<li>选择专业的词</li>
<li>避免泛泛的名字</li>
<li>用具体的名字代替抽象的名字</li>
<li>使用前缀或后缀来给名字附带更多信息</li>
<li>决定名字的长度</li>
<li>利用名字的格式来表达含义
</summary>
<category term="技术" scheme="http://glee0413.github.io/categories/%E6%8A%80%E6%9C%AF/"/>
<category term="编程之术" scheme="http://glee0413.github.io/tags/%E7%BC%96%E7%A8%8B%E4%B9%8B%E6%9C%AF/"/>
<category term="读书笔记" scheme="http://glee0413.github.io/tags/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/"/>
</entry>
<entry>
<title>spring boot 初体验1</title>
<link href="http://glee0413.github.io/2017/02/20/spring-boot-%E5%88%9D%E4%BD%93%E9%AA%8C1/"/>
<id>http://glee0413.github.io/2017/02/20/spring-boot-初体验1/</id>
<published>2017-02-19T16:26:31.000Z</published>
<updated>2017-02-21T15:34:53.327Z</updated>
<summary type="html">
<h1 id="spring-boot-web开发初体验"><a href="#spring-boot-web开发初体验" class="headerlink" title="spring boot web开发初体验"></a>spring boot web开发初体验</h1><h2 id="1-spring-boot安装"><a href="#1-spring-boot安装" class="headerlink" title="1 spring boot安装"></a>1 spring boot安装</h2><p>开发环境:mint18 安装java,maven,gradle<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div></pre></td><td class="code"><pre><div class="line">sudo apt-get install openjdk-8-jdk</div><div class="line">sudo apt-get install maven</div><div class="line">curl -s get.sdkman.io | bash</div><div class="line">source &quot;$HOME/.sdkman/bin/sdkman-init.sh&quot; #初始化sdkman</div><div class="line">sdk install gradle #安装gradle</div><div class="line">sdk install springboot</div></pre></td></tr></table></figure></p>
</summary>
<category term="spring" scheme="http://glee0413.github.io/tags/spring/"/>
</entry>
<entry>
<title>第一篇博客</title>
<link href="http://glee0413.github.io/2017/02/19/%E7%AC%AC%E4%B8%80%E7%AF%87%E5%8D%9A%E5%AE%A2/"/>
<id>http://glee0413.github.io/2017/02/19/第一篇博客/</id>
<published>2017-02-19T06:38:39.000Z</published>
<updated>2017-02-19T12:49:15.043Z</updated>
<summary type="html">
<p>终于决定要些博客了,对于一个语文一直不及格的人,写博客这种事总觉得不是一件发自内心且持之以恒的事。但是随着年纪的增加,家庭工作的压力,精力记忆力已经大不如前了,但反而是这种条件,是我变得比以前能稍微勤奋一点点,想着通过记录来将工作和家庭里的一些事情记录下来,以便再老了之后可以通过这一篇篇的博客,来回忆一些事情。</p>
</summary>
<category term="随笔" scheme="http://glee0413.github.io/tags/%E9%9A%8F%E7%AC%94/"/>
</entry>
</feed>