/
atom.xml
121 lines (75 loc) · 21.7 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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Jescu</title>
<subtitle>Jescu 的芒果</subtitle>
<link href="/atom.xml" rel="self"/>
<link href="http://www.yiyongjie.ml/"/>
<updated>2019-05-21T14:08:56.842Z</updated>
<id>http://www.yiyongjie.ml/</id>
<author>
<name>Jescu Eason</name>
</author>
<generator uri="http://hexo.io/">Hexo</generator>
<entry>
<title>Mysql8.0兼容5.7注意事项</title>
<link href="http://www.yiyongjie.ml/2019/05/21/Mysql8-0%E5%85%BC%E4%BB%BB5-7%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9/"/>
<id>http://www.yiyongjie.ml/2019/05/21/Mysql8-0兼容5-7注意事项/</id>
<published>2019-05-21T14:06:51.000Z</published>
<updated>2019-05-21T14:08:56.842Z</updated>
<content type="html"><![CDATA[<h1 id="使用8-0注意事项"><a href="#使用8-0注意事项" class="headerlink" title="使用8.0注意事项"></a>使用8.0注意事项</h1><a id="more"></a><h3 id="安装完成时修改默认编码"><a href="#安装完成时修改默认编码" class="headerlink" title="安装完成时修改默认编码"></a>安装完成时修改默认编码</h3><figure class="highlight sql"><table><tbody><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><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 查看数据库字符集</span></span><br><span class="line"><span class="keyword">show</span> <span class="keyword">variables</span> <span class="keyword">like</span> <span class="string">'character%'</span>;</span><br><span class="line"></span><br><span class="line"><span class="comment"># 修改字符集,上方语句查出来的哪一条不是utf8就执行下面哪一条</span></span><br><span class="line"><span class="keyword">set</span> character_set_client = utf8;</span><br><span class="line"><span class="keyword">set</span> character_set_server = utf8;</span><br><span class="line"><span class="keyword">set</span> character_set_connection = utf8;</span><br><span class="line"><span class="keyword">set</span> character_set_database = utf8;</span><br><span class="line"><span class="keyword">set</span> character_set_results = utf8;</span><br><span class="line"><span class="keyword">set</span> collation_connection = utf8_general_ci;</span><br><span class="line"><span class="keyword">set</span> collation_database = utf8_general_ci;</span><br><span class="line"><span class="keyword">set</span> collation_server = utf8_general_ci;</span><br><span class="line"><span class="keyword">set</span> character_set_filesystem = utf8;</span><br></pre></td></tr></tbody></table></figure><h3 id="修改mysql8的密码加密-【caching-sha2-password-】规则为-【mysql-native-password】"><a href="#修改mysql8的密码加密-【caching-sha2-password-】规则为-【mysql-native-password】" class="headerlink" title="修改mysql8的密码加密 【caching_sha2_password 】规则为 【mysql_native_password】"></a>修改mysql8的密码加密 【caching_sha2_password 】规则为 【mysql_native_password】</h3><blockquote><p>重置root的密码并指定加密规则<br></p><figure class="highlight sql"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">alter</span> <span class="keyword">user</span> <span class="string">'root'</span>@<span class="string">'localhost'</span> <span class="keyword">identified</span> <span class="keyword">with</span> mysql_native_password <span class="keyword">by</span> <span class="string">'1234'</span>;</span><br></pre></td></tr></tbody></table></figure><p></p></blockquote><h3 id="修改C-ProgramData-MySQL-MySQL-Server-8-0-my-ini"><a href="#修改C-ProgramData-MySQL-MySQL-Server-8-0-my-ini" class="headerlink" title="修改C:\ProgramData\MySQL\MySQL Server 8.0\my.ini"></a>修改C:\ProgramData\MySQL\MySQL Server 8.0\my.ini</h3><figure class="highlight sql"><table><tbody><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">在 [mysqld] 下添加</span><br><span class="line"></span><br><span class="line"><span class="comment"># 服务端默认utf8编码</span></span><br><span class="line">character-<span class="keyword">set</span>-<span class="keyword">server</span>=utf8</span><br><span class="line"><span class="comment"># 用户密码加密规则为5.7的方式 8.0:caching_sha2_password 5.7:mysql_native_password</span></span><br><span class="line">default_authentication_plugin=mysql_native_password</span><br></pre></td></tr></tbody></table></figure><h3 id="在MySQL中创建函数时出现错误的解决方法:"><a href="#在MySQL中创建函数时出现错误的解决方法:" class="headerlink" title="在MySQL中创建函数时出现错误的解决方法:"></a>在MySQL中创建函数时出现错误的解决方法:</h3><blockquote><p>简单介绍一下,当二进制日志启用后,这个变量就会启用。它控制是否可以信任存储函数创建者<br></p><figure class="highlight sql"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">set</span> <span class="keyword">global</span> log_bin_trust_function_creators=<span class="literal">TRUE</span>;</span><br></pre></td></tr></tbody></table></figure><p></p></blockquote><script> document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('img'); img.style = 'display:none !important;'; img.src = el.dataset.src; img.addEventListener('error', () => { img.remove(); el.style.color = 'inherit'; el.style.backgroundImage = 'none'; el.style.background = 'none'; }); img.addEventListener('load', () => { img.remove(); }); document.body.appendChild(img); }); </script>]]></content>
<summary type="html">
<h1 id="使用8-0注意事项"><a href="#使用8-0注意事项" class="headerlink" title="使用8.0注意事项"></a>使用8.0注意事项</h1>
</summary>
<category term="Mysql" scheme="http://www.yiyongjie.ml//tags/Mysql/"/>
</entry>
<entry>
<title>Chrome-自带截取长图</title>
<link href="http://www.yiyongjie.ml/2019/05/03/Chrome-%E8%87%AA%E5%B8%A6%E6%88%AA%E5%8F%96%E9%95%BF%E5%9B%BE/"/>
<id>http://www.yiyongjie.ml/2019/05/03/Chrome-自带截取长图/</id>
<published>2019-05-03T05:34:00.000Z</published>
<updated>2019-05-18T09:29:34.356Z</updated>
<content type="html"><![CDATA[<p>不再需要截图插件了~</p><a id="more"></a><h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>想展示网页全图效果给别人看的时候屏幕可视化区域是有限的,以前为了截取长图还特意找Chrome插件,不过效果不是很理想…<br>直到前几天发现原来Chrome自带全屏截图的,废话不多说了请看下文。</p><h2 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h2><p>摁下 F12,打开开发者模式,使用快捷键 Ctrl+Shift+P,Mac 当中是 Command+Shift+P,调出如下菜单<br></p><figure class="image-bubble"> <div class="img-lightbox"> <div class="overlay"></div> <img src="/2019/05/03/Chrome-自带截取长图/1.png" alt title> </div> <div class="image-caption"></div> </figure><p></p><p>在其中输入 Screenshot 即可看到内容:<br></p><figure class="image-bubble"> <div class="img-lightbox"> <div class="overlay"></div> <img src="/2019/05/03/Chrome-自带截取长图/2.png" alt title> </div> <div class="image-caption"></div> </figure><p></p><p>第一个是区域截屏; 第二个是自动截取全部网页; 第三个是当前节点; 第四个是当前屏幕;截取之后,图片自动下载。</p><h3 id="效果图-这里以哔哩哔哩为例"><a href="#效果图-这里以哔哩哔哩为例" class="headerlink" title="效果图 [这里以哔哩哔哩为例]"></a>效果图 [这里以哔哩哔哩为例]</h3><figure class="image-bubble"> <div class="img-lightbox"> <div class="overlay"></div> <img src="/2019/05/03/Chrome-自带截取长图/bilibili.png" alt title> </div> <div class="image-caption"></div> </figure><h2 id="结束语"><a href="#结束语" class="headerlink" title="结束语"></a>结束语</h2><p>日常记录~ 还有很多有用的技巧请点击下方~ 本文只记录对作者感兴趣的地方~ <br><br>原文链接:<a href="https://www.zhihu.com/question/34682699" target="_blank" rel="noopener">Chrome 的审查元素功能有哪些奇技淫巧?</a></p><script> document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('img'); img.style = 'display:none !important;'; img.src = el.dataset.src; img.addEventListener('error', () => { img.remove(); el.style.color = 'inherit'; el.style.backgroundImage = 'none'; el.style.background = 'none'; }); img.addEventListener('load', () => { img.remove(); }); document.body.appendChild(img); }); </script>]]></content>
<summary type="html">
<p>不再需要截图插件了~</p>
</summary>
<category term="工具" scheme="http://www.yiyongjie.ml//categories/%E5%B7%A5%E5%85%B7/"/>
<category term="Chrome" scheme="http://www.yiyongjie.ml//tags/Chrome/"/>
</entry>
<entry>
<title>Git终端加速</title>
<link href="http://www.yiyongjie.ml/2019/05/03/Git%E7%BB%88%E7%AB%AF%E5%8A%A0%E9%80%9F/"/>
<id>http://www.yiyongjie.ml/2019/05/03/Git终端加速/</id>
<published>2019-05-03T05:34:00.000Z</published>
<updated>2019-05-03T07:58:03.100Z</updated>
<content type="html"><![CDATA[<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>几天前重装了一下系统,git clone 老是下不来,一直失败…;今天下载一个项目等待了许久也是一直未开始下载,本身也开了科学上网,体验极差…。</p><p>无奈上网查了一下,速度真的快了很多,在此记录一下。</p><a id="more"></a><h2 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h2><p>在 hosts [C:\Windows\System32\drivers\etc]文件中添加:<br></p><figure class="highlight plain"><table><tbody><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><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"># GitHub Begin</span><br><span class="line">192.30.255.113 github.com</span><br><span class="line">192.30.255.119 gist.github.com</span><br><span class="line">185.199.110.153 assets-cdn.github.com</span><br><span class="line">151.101.228.133 raw.githubusercontent.com</span><br><span class="line">151.101.228.133 gist.githubusercontent.com</span><br><span class="line">151.101.228.133 cloud.githubusercontent.com</span><br><span class="line">151.101.228.133 camo.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars0.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars1.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars2.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars3.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars4.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars5.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars6.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars7.githubusercontent.com</span><br><span class="line">151.101.228.133 avatars8.githubusercontent.com</span><br><span class="line"># GitHub End</span><br></pre></td></tr></tbody></table></figure><p></p><p>添加后打开cmd输入 <code>ipconfig /flushdns</code> 刷新DNS即可,无需重启。</p><h2 id="结束语"><a href="#结束语" class="headerlink" title="结束语"></a>结束语</h2><p>方便以后查阅,不用临时去找。</p><script> document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('img'); img.style = 'display:none !important;'; img.src = el.dataset.src; img.addEventListener('error', () => { img.remove(); el.style.color = 'inherit'; el.style.backgroundImage = 'none'; el.style.background = 'none'; }); img.addEventListener('load', () => { img.remove(); }); document.body.appendChild(img); }); </script>]]></content>
<summary type="html">
<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>几天前重装了一下系统,git clone 老是下不来,一直失败…;今天下载一个项目等待了许久也是一直未开始下载,本身也开了科学上网,体验极差…。</p>
<p>无奈上网查了一下,速度真的快了很多,在此记录一下。</p>
</summary>
<category term="工具" scheme="http://www.yiyongjie.ml//categories/%E5%B7%A5%E5%85%B7/"/>
<category term="Git" scheme="http://www.yiyongjie.ml//tags/Git/"/>
</entry>
<entry>
<title>Open Blog</title>
<link href="http://www.yiyongjie.ml/2019/05/02/Open-Blog/"/>
<id>http://www.yiyongjie.ml/2019/05/02/Open-Blog/</id>
<published>2019-05-02T12:20:40.000Z</published>
<updated>2019-05-03T08:03:29.008Z</updated>
<content type="html"><![CDATA[<p>几年前就想写一个博客但是一直没有动手,从今天开始执行,我写博客的目的是为了记录一些东西;</p><a id="more"></a><p>好记性不如烂笔头,有很多东西发生过没有记录下来,结果忘记了又重新去找,我觉得这样很麻烦。</p><p>本来一直想手撸一个博客,但是由于工作原因没有时间去写,写出来可能也没这么精美。感谢 <a href="https://tomotoes.com/blog/" tatget="_blank" target="_blank" rel="noopener">一个烂番茄</a> 的主题。</p><figure class="highlight java"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">System.out.println(<span class="string">"Open Blog."</span>);</span><br></pre></td></tr></tbody></table></figure><script> document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('img'); img.style = 'display:none !important;'; img.src = el.dataset.src; img.addEventListener('error', () => { img.remove(); el.style.color = 'inherit'; el.style.backgroundImage = 'none'; el.style.background = 'none'; }); img.addEventListener('load', () => { img.remove(); }); document.body.appendChild(img); }); </script>]]></content>
<summary type="html">
<p>几年前就想写一个博客但是一直没有动手,从今天开始执行,我写博客的目的是为了记录一些东西;</p>
</summary>
</entry>
<entry>
<title>Hello World</title>
<link href="http://www.yiyongjie.ml/2019/04/28/hello-world/"/>
<id>http://www.yiyongjie.ml/2019/04/28/hello-world/</id>
<published>2019-04-28T14:24:43.565Z</published>
<updated>2019-05-03T08:04:34.830Z</updated>
<content type="html"><![CDATA[<p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="noopener">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" target="_blank" rel="noopener">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="noopener">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><tbody><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></tbody></table></figure><a id="more"></a><p>More info: <a href="https://hexo.io/docs/writing.html" target="_blank" rel="noopener">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><tbody><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></tbody></table></figure><p>More info: <a href="https://hexo.io/docs/server.html" target="_blank" rel="noopener">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><tbody><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></tbody></table></figure><p>More info: <a href="https://hexo.io/docs/generating.html" target="_blank" rel="noopener">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><tbody><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></tbody></table></figure><p>More info: <a href="https://hexo.io/docs/deployment.html" target="_blank" rel="noopener">Deployment</a></p><script> document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('img'); img.style = 'display:none !important;'; img.src = el.dataset.src; img.addEventListener('error', () => { img.remove(); el.style.color = 'inherit'; el.style.backgroundImage = 'none'; el.style.background = 'none'; }); img.addEventListener('load', () => { img.remove(); }); document.body.appendChild(img); }); </script>]]></content>
<summary type="html">
<p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="noopener">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" target="_blank" rel="noopener">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="noopener">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><tbody><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></tbody></table></figure>
</summary>
</entry>
</feed>