mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-27 21:30:53 +08:00
added to index, newline
This commit is contained in:
parent
3246187ba5
commit
5db976b1cb
1
index.md
1
index.md
@ -10,6 +10,7 @@ Minecraft 红石玩家, [B站](https://space.bilibili.com/489732092)<br>
|
||||
[我对 SciCraft 更新1.19的看法](scicraft_update)<br>
|
||||
[我的 gnome 配置](my_gnome_config)<br>
|
||||
[编辑器操作备忘录](org-html/cheatsheet)<br>
|
||||
[我对显示 IP 属地的看法](org-html/about_showing_ip)<br>
|
||||
<!--
|
||||
[对我将来的视频网站的一些畅想](plan_for_my_video_site)<br>
|
||||
-->
|
||||
|
@ -1,5 +1,6 @@
|
||||
# 收集
|
||||
## 一些(个人)博客收集
|
||||
[qiusir](http://www.qiusir.com/)<br>
|
||||
[王垠](http://www.yinwang.org/)<br>
|
||||
[阮一峰](http://ruanyifeng.com/blog/)<br>
|
||||
[易姐](https://shakaianee.top/)<br>
|
||||
@ -57,6 +58,9 @@
|
||||
Rust, VM, emacs<br>
|
||||
[倔强的程序员](https://www.zhihu.com/column/c_1313110231912726528)
|
||||
编! 译! 原! 理!<br>
|
||||
[24 days of rust](https://siciarz.net)
|
||||
old<br>
|
||||
|
||||
|
||||
## YouTube 收集(没有账号, 这就是我的收藏夹)
|
||||
### Code
|
||||
@ -79,10 +83,15 @@
|
||||
[what if I try to malloc too much memory](https://youtu.be/Fq9chEBQMFE)<br>
|
||||
[fireship bitcoin](https://youtu.be/qF7dkrce-mQ)
|
||||
大概是我见过最好的讲区块链的视频了, 除了...JS 啊啊啊<br>
|
||||
[what your favourite pl says about you](https://youtu.be/zJ-8DZhzBEE)<br>
|
||||
[tsoding aoc 2020 day 12 in perl](https://youtu.be/R00JE6QRbno)
|
||||
(0:20:50 pythonbulubulu~)<br>
|
||||
|
||||
### Minecraft Redstone Survival
|
||||
|
||||
### Minecraft
|
||||
[Mojang & Minecraft 开始衰落了吗?](https://youtu.be/VKydXD6Lr20)<br>
|
||||
[SciCraft Update Plans](https://youtu.be/Y9DIIh0s9cg)<br>
|
||||
[Tantan: MC + Fez](https://youtu.be/m5S0gLgg2rs)<br>
|
||||
|
||||
### ?
|
||||
[IceGuye aka 姑射冰尘](https://www.youtube.com/c/IceGuye)
|
||||
|
@ -3,14 +3,14 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-07-18 一 14:13 -->
|
||||
<!-- 2022-07-24 日 19:09 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>这一天终于来了, B站显示 IP 属地</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="dongdigua" />
|
||||
<style type="text/css">
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<style>
|
||||
#content { max-width: 60em; margin: auto; }
|
||||
.title { text-align: center;
|
||||
margin-bottom: .2em; }
|
||||
.subtitle { text-align: center;
|
||||
@ -31,8 +31,9 @@
|
||||
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||
p.verse { margin-left: 3%; }
|
||||
pre {
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: 3px 3px 3px #eee;
|
||||
border: 1px solid #e6e6e6;
|
||||
border-radius: 3px;
|
||||
background-color: #f2f2f2;
|
||||
padding: 8pt;
|
||||
font-family: monospace;
|
||||
overflow: auto;
|
||||
@ -41,21 +42,21 @@
|
||||
pre.src {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
padding-top: 1.2em;
|
||||
}
|
||||
pre.src:before {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
top: -10px;
|
||||
right: 10px;
|
||||
top: -8px;
|
||||
right: 12px;
|
||||
padding: 3px;
|
||||
border: 1px solid black;
|
||||
color: #555;
|
||||
background-color: #f2f2f299;
|
||||
}
|
||||
pre.src:hover:before { display: inline; margin-top: 14px;}
|
||||
/* Languages per Org manual */
|
||||
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||
pre.src-awk:before { content: 'Awk'; }
|
||||
pre.src-authinfo::before { content: 'Authinfo'; }
|
||||
pre.src-C:before { content: 'C'; }
|
||||
/* pre.src-C++ doesn't work in CSS */
|
||||
pre.src-clojure:before { content: 'Clojure'; }
|
||||
@ -191,85 +192,71 @@
|
||||
.org-info-js_search-highlight
|
||||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
.org-svg { width: 90%; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel='stylesheet' type='text/css' href='./../css/org-css.css' />
|
||||
<script type="text/javascript">
|
||||
// @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt Public Domain
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
function CodeHighlightOn(elem, id)
|
||||
{
|
||||
var target = document.getElementById(id);
|
||||
if(null != target) {
|
||||
elem.classList.add("code-highlighted");
|
||||
target.classList.add("code-highlighted");
|
||||
}
|
||||
}
|
||||
function CodeHighlightOff(elem, id)
|
||||
{
|
||||
var target = document.getElementById(id);
|
||||
if(null != target) {
|
||||
elem.classList.remove("code-highlighted");
|
||||
target.classList.remove("code-highlighted");
|
||||
}
|
||||
}
|
||||
/*]]>*///-->
|
||||
// @license-end
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<div id="content" class="content">
|
||||
<h1 class="title">这一天终于来了, B站显示 IP 属地</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgf21c499">1. 我的看法</a></li>
|
||||
<li><a href="#org5172942">2. reference</a></li>
|
||||
<li><a href="#org6342779">1. 我的看法</a></li>
|
||||
<li><a href="#orgb51cefc">2. reference</a>
|
||||
<ul>
|
||||
<li><a href="#org0ee0cba">2.1. from zhihu</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
卸载吧…
|
||||
卸载吧…<br />
|
||||
</p>
|
||||
<div id="outline-container-orgf21c499" class="outline-2">
|
||||
<h2 id="orgf21c499"><span class="section-number-2">1</span> 我的看法</h2>
|
||||
<div id="outline-container-org6342779" class="outline-2">
|
||||
<h2 id="org6342779"><span class="section-number-2">1.</span> 我的看法</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<p>
|
||||
这个事情真正要打击的那些 <b><b>诈骗/造假/海外势力</b></b>, 并不会受到影响,
|
||||
它们肯定会使用"虚拟专用网络"伪造IP.
|
||||
这个事情真正要打击的那些 <b>诈骗/造假/海外势力</b>, 并不会受到影响,<br />
|
||||
它们肯定会使用"虚拟专用网络"伪造IP.<br />
|
||||
</p>
|
||||
|
||||
<p>
|
||||
那些所谓的"翻车"博主, 大多数可能只是公司在国内, 却因为这件事被各大媒体揪出来.
|
||||
那些所谓的"翻车"博主, 大多数可能只是公司在国内, 却因为这件事被各大媒体揪出来.<br />
|
||||
</p>
|
||||
|
||||
<p>
|
||||
对于那些网络喷子, 这种事估计不会减少它们的言论, 反而会加重"地域黑"…
|
||||
对于那些网络喷子, 这种事估计不会减少它们的言论, 反而会加重"地域黑"…<br />
|
||||
</p>
|
||||
|
||||
<p>
|
||||
对于普通人, 大多数肯定是没什么影响, 也根本不在意,
|
||||
但是有些人, 只想公开自己想让别人看见的,
|
||||
那这种平台的强制行为确实会让TA们很不满.
|
||||
对于普通人, 大多数肯定是没什么影响, 也根本不在意,<br />
|
||||
但是有些人, 只想公开自己想让别人看见的,<br />
|
||||
那这种平台的强制行为确实会让TA们很不满.<br />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org5172942" class="outline-2">
|
||||
<h2 id="org5172942"><span class="section-number-2">2</span> reference</h2>
|
||||
<div id="outline-container-orgb51cefc" class="outline-2">
|
||||
<h2 id="orgb51cefc"><span class="section-number-2">2.</span> reference</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org0ee0cba" class="outline-3">
|
||||
<h3 id="org0ee0cba"><span class="section-number-3">2.1.</span> <a href="https://zhuanlan.zhihu.com/p/508234267">from zhihu</a></h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<p>
|
||||
<a href="https://zhuanlan.zhihu.com/p/508234267">from zhihu</a>
|
||||
掰锝胃, 这个链接的截图在B站不到半小时就被删除了…
|
||||
掰锝胃, 这个链接的截图在B站不到半小时就被删除了…<br />
|
||||
B口口口口( ), 口口口口( ).<br />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: dongdigua</p>
|
||||
<p class="date">Created: 2022-07-18 一 14:13</p>
|
||||
<p class="date">Created: 2022-07-24 日 19:09</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,14 +3,14 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2022-07-18 一 14:13 -->
|
||||
<!-- 2022-07-24 日 19:09 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Editor Chaetsheet</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="dongdigua" />
|
||||
<style type="text/css">
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
<meta name="generator" content="Org Mode" />
|
||||
<style>
|
||||
#content { max-width: 60em; margin: auto; }
|
||||
.title { text-align: center;
|
||||
margin-bottom: .2em; }
|
||||
.subtitle { text-align: center;
|
||||
@ -31,8 +31,9 @@
|
||||
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||
p.verse { margin-left: 3%; }
|
||||
pre {
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: 3px 3px 3px #eee;
|
||||
border: 1px solid #e6e6e6;
|
||||
border-radius: 3px;
|
||||
background-color: #f2f2f2;
|
||||
padding: 8pt;
|
||||
font-family: monospace;
|
||||
overflow: auto;
|
||||
@ -41,21 +42,21 @@
|
||||
pre.src {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
padding-top: 1.2em;
|
||||
}
|
||||
pre.src:before {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
top: -10px;
|
||||
right: 10px;
|
||||
top: -8px;
|
||||
right: 12px;
|
||||
padding: 3px;
|
||||
border: 1px solid black;
|
||||
color: #555;
|
||||
background-color: #f2f2f299;
|
||||
}
|
||||
pre.src:hover:before { display: inline; margin-top: 14px;}
|
||||
/* Languages per Org manual */
|
||||
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||
pre.src-awk:before { content: 'Awk'; }
|
||||
pre.src-authinfo::before { content: 'Authinfo'; }
|
||||
pre.src-C:before { content: 'C'; }
|
||||
/* pre.src-C++ doesn't work in CSS */
|
||||
pre.src-clojure:before { content: 'Clojure'; }
|
||||
@ -191,64 +192,42 @@
|
||||
.org-info-js_search-highlight
|
||||
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||
.org-svg { width: 90%; }
|
||||
/*]]>*/-->
|
||||
</style>
|
||||
<link rel='stylesheet' type='text/css' href='./../css/org-css.css' />
|
||||
<script type="text/javascript">
|
||||
// @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt Public Domain
|
||||
<!--/*--><![CDATA[/*><!--*/
|
||||
function CodeHighlightOn(elem, id)
|
||||
{
|
||||
var target = document.getElementById(id);
|
||||
if(null != target) {
|
||||
elem.classList.add("code-highlighted");
|
||||
target.classList.add("code-highlighted");
|
||||
}
|
||||
}
|
||||
function CodeHighlightOff(elem, id)
|
||||
{
|
||||
var target = document.getElementById(id);
|
||||
if(null != target) {
|
||||
elem.classList.remove("code-highlighted");
|
||||
target.classList.remove("code-highlighted");
|
||||
}
|
||||
}
|
||||
/*]]>*///-->
|
||||
// @license-end
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<h1 class="title">Editor Chaetsheet</h1>
|
||||
<div id="table-of-contents">
|
||||
<div id="content" class="content">
|
||||
<h1 class="title">Editor Cheatsheet</h1>
|
||||
<div id="table-of-contents" role="doc-toc">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#orgd8c83ff">1. VIM</a>
|
||||
<li><a href="#org75f062a">1. VIM</a>
|
||||
<ul>
|
||||
<li><a href="#orgb78a180">1.1. deletion</a></li>
|
||||
<li><a href="#orgf74d90a">1.2. movement</a></li>
|
||||
<li><a href="#orgdc21f17">1.3. visual</a></li>
|
||||
<li><a href="#org3d1d243">1.4. file/split</a></li>
|
||||
<li><a href="#org915baf0">1.1. deletion</a></li>
|
||||
<li><a href="#orgc417b4a">1.2. movement</a></li>
|
||||
<li><a href="#orgbc2ca84">1.3. visual</a></li>
|
||||
<li><a href="#orge536555">1.4. file/split</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7e64464">2. EMACS</a>
|
||||
<li><a href="#orga1b9815">2. EMACS</a>
|
||||
<ul>
|
||||
<li><a href="#org1a48a87">2.1. org-mode</a></li>
|
||||
<li><a href="#orgad86cf4">2.2. normal</a></li>
|
||||
<li><a href="#org020b8c6">2.1. org-mode</a></li>
|
||||
<li><a href="#org63364c1">2.2. normal</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgec4b573">3. Git (虽然不算editor, 但是先也放这吧)</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orgd8c83ff" class="outline-2">
|
||||
<h2 id="orgd8c83ff"><span class="section-number-2">1</span> VIM</h2>
|
||||
<div id="outline-container-org75f062a" class="outline-2">
|
||||
<h2 id="org75f062a"><span class="section-number-2">1.</span> VIM</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
</div>
|
||||
<div id="outline-container-orgb78a180" class="outline-3">
|
||||
<h3 id="orgb78a180"><span class="section-number-3">1.1</span> deletion</h3>
|
||||
<div id="outline-container-org915baf0" class="outline-3">
|
||||
<h3 id="org915baf0"><span class="section-number-3">1.1.</span> deletion</h3>
|
||||
<div class="outline-text-3" id="text-1-1">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -304,8 +283,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf74d90a" class="outline-3">
|
||||
<h3 id="orgf74d90a"><span class="section-number-3">1.2</span> movement</h3>
|
||||
<div id="outline-container-orgc417b4a" class="outline-3">
|
||||
<h3 id="orgc417b4a"><span class="section-number-3">1.2.</span> movement</h3>
|
||||
<div class="outline-text-3" id="text-1-2">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -358,8 +337,8 @@
|
||||
|
||||
|
||||
|
||||
<div id="outline-container-orgdc21f17" class="outline-3">
|
||||
<h3 id="orgdc21f17"><span class="section-number-3">1.3</span> visual</h3>
|
||||
<div id="outline-container-orgbc2ca84" class="outline-3">
|
||||
<h3 id="orgbc2ca84"><span class="section-number-3">1.3.</span> visual</h3>
|
||||
<div class="outline-text-3" id="text-1-3">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -408,8 +387,8 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org3d1d243" class="outline-3">
|
||||
<h3 id="org3d1d243"><span class="section-number-3">1.4</span> file/split</h3>
|
||||
<div id="outline-container-orge536555" class="outline-3">
|
||||
<h3 id="orge536555"><span class="section-number-3">1.4.</span> file/split</h3>
|
||||
<div class="outline-text-3" id="text-1-4">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -453,12 +432,12 @@
|
||||
|
||||
|
||||
|
||||
<div id="outline-container-org7e64464" class="outline-2">
|
||||
<h2 id="org7e64464"><span class="section-number-2">2</span> EMACS</h2>
|
||||
<div id="outline-container-orga1b9815" class="outline-2">
|
||||
<h2 id="orga1b9815"><span class="section-number-2">2.</span> EMACS</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
</div>
|
||||
<div id="outline-container-org1a48a87" class="outline-3">
|
||||
<h3 id="org1a48a87"><span class="section-number-3">2.1</span> org-mode</h3>
|
||||
<div id="outline-container-org020b8c6" class="outline-3">
|
||||
<h3 id="org020b8c6"><span class="section-number-3">2.1.</span> org-mode</h3>
|
||||
<div class="outline-text-3" id="text-2-1">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -499,8 +478,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgad86cf4" class="outline-3">
|
||||
<h3 id="orgad86cf4"><span class="section-number-3">2.2</span> normal</h3>
|
||||
<div id="outline-container-org63364c1" class="outline-3">
|
||||
<h3 id="org63364c1"><span class="section-number-3">2.2.</span> normal</h3>
|
||||
<div class="outline-text-3" id="text-2-2">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@ -533,18 +512,34 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="org-left"> </td>
|
||||
<td class="org-left"> </td>
|
||||
<td class="org-left">M-;</td>
|
||||
<td class="org-left">区域切换注释</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="org-left">C-x C-;</td>
|
||||
<td class="org-left">行切换注释</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgec4b573" class="outline-2">
|
||||
<h2 id="orgec4b573"><span class="section-number-2">3.</span> Git (虽然不算editor, 但是先也放这吧)</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-shell">git log --stat | perl -ne 'END { print $c } $c += $1 if /(\d+) insertions/;'
|
||||
git log --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }'
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: dongdigua</p>
|
||||
<p class="date">Created: 2022-07-18 一 14:13</p>
|
||||
<p class="date">Created: 2022-07-24 日 19:09</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,8 +1,10 @@
|
||||
#+TITLE: 这一天终于来了, B站显示 IP 属地
|
||||
#+STARTUP: indent
|
||||
#+OPTIONS: \n:t
|
||||
|
||||
卸载吧...
|
||||
* 我的看法
|
||||
这个事情真正要打击的那些 **诈骗/造假/海外势力**, 并不会受到影响,
|
||||
这个事情真正要打击的那些 *诈骗/造假/海外势力*, 并不会受到影响,
|
||||
它们肯定会使用"虚拟专用网络"伪造IP.
|
||||
|
||||
那些所谓的"翻车"博主, 大多数可能只是公司在国内, 却因为这件事被各大媒体揪出来.
|
||||
@ -15,5 +17,7 @@
|
||||
|
||||
|
||||
* reference
|
||||
[[https://zhuanlan.zhihu.com/p/508234267][from zhihu]]
|
||||
** [[https://zhuanlan.zhihu.com/p/508234267][from zhihu]]
|
||||
掰锝胃, 这个链接的截图在B站不到半小时就被删除了...
|
||||
B口口口口( ), 口口口口( ).
|
||||
|
||||
|
@ -51,3 +51,18 @@
|
||||
| C-c C-e | 导出 HTML |
|
||||
| | |
|
||||
| | |
|
||||
|
||||
** normal
|
||||
| key | usage |
|
||||
|---------+--------------|
|
||||
| C-s | 搜索 |
|
||||
| M-% | 替换 |
|
||||
| C-_ | [[https://linuxtoy.org/archives/emacs-undo-tree.html][undo/redo]] |
|
||||
| M-; | 区域切换注释 |
|
||||
| C-x C-; | 行切换注释 |
|
||||
|
||||
* Git (虽然不算editor, 但是先也放这吧)
|
||||
#+BEGIN_SRC shell
|
||||
git log --stat | perl -ne 'END { print $c } $c += $1 if /(\d+) insertions/;'
|
||||
git log --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %s, total lines: %s\n", add, subs, loc }'
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user