diff --git a/org/cheatsheet.org b/org/cheatsheet.org index 9824abc..2f2e86e 100644 --- a/org/cheatsheet.org +++ b/org/cheatsheet.org @@ -73,17 +73,20 @@ | TAB | shr-next-link/elpher-next-link | | d | eww-download/elpher-download | | g | eww-reload/elpher-go | +| G | eww | | l | eww-back-url | | \circ | elpher-back-url | | & | eww-browse-with-external-browser | -| v | eww-view-page-source | | w | eww-copy-page-url | +| v | eww-view-page-source | | . | elpher-view-raw | * Git +Git 能离线使用只是个传说, 你仍然需要联网搜索该用哪个命令传什么参数 #+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 }' +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 }' +git log --color --graph --decorate -M --pretty=oneline --abbrev-commit -M #+END_SRC * Fish diff --git a/org/internet_collections.org b/org/internet_collections.org index 6b26f90..23cae15 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -1,17 +1,19 @@ #+TAGS: elixir(e) rust(r) c(c) lisp(l) python(p) #+TAGS: lowlevel(w) frontend(f) backend(b) emacs(m) hack(h) algorithm(a) linux(x) iot(i) +#+TAGS: math(t) #+TAGS: rssable(s) rssub(u) -#+OPTIONS: toc:1 -#+OPTIONS: ^:{} +#+OPTIONS: toc:1 ^:{} #+TITLE: Internet Collections #+DATE: <2022-06-05 日> * 一些(个人)博客收集 +#+BEGIN_CENTER +魔 法 禁 书 目 录 +#+END_CENTER ** [[http://www.paulgraham.com/todo.html][Paul Graham]] ** [[http://www.qiusir.com/][qiusir]] :rssub: ** [[http://xahlee.info][XahLee]] -#+ATTR_ORG: :width 256px #+ATTR_HTML: :width 256px [[http://xahlee.info/emacs/misc/i/Marisa_Kirisame_emacs_magic.png]] ** [[http://www.yinwang.org/][王垠]] @@ -130,9 +132,6 @@ gopher://gopher.lantian.pub *** [[https://ulyc.github.io/2019/08/01/初窥CORB/][Cross-Origin Read Blocking]] ** [[https://kernal.eu][kernal]] Welcome to the darkest dungeon of kernal -#+BEGIN_SRC shell -nc chat.kernal.eu 1337 -#+END_SRC *** [[https://kernal.eu/posts/linuxfx/][Dumping Linuxfx customers - A Windows-like distro including the spyware and activation]] 哈哈哈笑死了! ** [[https://blog.burntsushi.net/ripgrep/][ripgrep is faster than {grep, ag, git grep, ucg, pt, sift}]] @@ -146,6 +145,9 @@ cat-v-like sidebar style #+END_COMMENT **** [[https://citizenlab.ca/2016/11/wechat-china-censorship-one-app-two-systems/][微信一app两制]] *** [[https://vimacs.wehack.space/Mail-vs-IM.htm][谈电子邮件和即时通讯]] +** [[http://www.matrix67.com/blog/][Matrix67]] :math: +The Aha Moments +*** [[http://www.matrix67.com/blog/archives/6039][用三段 140 字符以内的代码生成一张 1024×1024 的图片]] ** B *** [[https://blog.yangmame.org/][yanemame]] 猴哥推荐的 @@ -243,9 +245,6 @@ I agree *** [[https://www.reddit.com/r/ProgrammerHumor/comments/wpnvtg/microsoft_visual_rust_2018/][Microsoft Visual Rust]] *** [[https://www.reddit.com/r/ProgrammerHumor/comments/wsw78u/regex_be_like/][MC enchant: regex be like...]] -* Hacker News -** [[https://news.ycombinator.com/item?id=32012566][A better formulation of DRY(Don't Repeat Yourself) is SPOT (Single Point Of Truth)]] - * Other #+BEGIN_COMMENT #+END_COMMENT @@ -280,3 +279,5 @@ foreign or domestic, requires you to follow Snowden's example. ** [[https://ghinda.net/oxygenos/][oxygenos]] his final year project in high school, 2008 a webos using oxygen visual design +** [[https://news.ycombinator.com/item?id=32012566][Hacker News: A better formulation of DRY(Don't Repeat Yourself) is SPOT (Single Point Of Truth)]] +** [[https://news-web.php.net/php.internals/70691][PHP function hashing mechanism was strlen()]] diff --git a/org/moonboos.org b/org/moonboos.org index affa39d..ccdd885 100644 --- a/org/moonboos.org +++ b/org/moonboos.org @@ -1,5 +1,6 @@ #+TITLE: 庄主其人 #+DATE: <2022-09-11 日> +#+OPTIONS: toc:nil #+BEGIN_QUOTE 互联网是有记忆的