From b5c6a93c183b734b04baf6ba31ecf5ddfc47e2f6 Mon Sep 17 00:00:00 2001 From: dongdigua Date: Fri, 26 Aug 2022 15:36:28 +0800 Subject: [PATCH] My translation of Fireship, emacs tool-bar not working --- my_gnome_config.md | 1 + org/cheatsheet.org | 15 +++- org/internet_collections.org | 16 ++++ org/wayland.org | 3 + org_html/cheatsheet.html | 72 ++++++++++++++--- org_html/internet_collections.html | 122 ++++++++++++++++++++++++----- org_html/wayland.html | 45 ++++++++--- 7 files changed, 227 insertions(+), 47 deletions(-) diff --git a/my_gnome_config.md b/my_gnome_config.md index d807523..41a7e56 100644 --- a/my_gnome_config.md +++ b/my_gnome_config.md @@ -46,6 +46,7 @@ export LANG=zh_CN.UTF-8 doas dnf remove gnome-classic-session ``` +## use Geary as a replacement of Thunderbird diff --git a/org/cheatsheet.org b/org/cheatsheet.org index 89a5d16..9e1722a 100644 --- a/org/cheatsheet.org +++ b/org/cheatsheet.org @@ -4,8 +4,9 @@ * VIM ** deletion -| key | usage | -|-------+------------------------| +| key | usage | +|-----+-----------------------| +| D | delete to end of line | ** edit | key | usage | @@ -59,13 +60,21 @@ | M-; | 区域切换注释 | | C-x C-; | 行切换注释 | | C-y | paste to minibuffer | +| M-&/! | async/shell command | ** dired | key | usage | | R | rename | -* Git (虽然不算editor, 但是先也放这吧) +* 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 }' #+END_SRC + +* Fish +| key | usage | +|--------------+----------------------------| +| M-Left/Right | jump world, or prevd/nextd | +| M-s | sudo the last command | +| M-W | what is this | diff --git a/org/internet_collections.org b/org/internet_collections.org index 8bb2cdf..107b78c 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -89,6 +89,11 @@ a webos using oxygen visual design ** [[https://www.gilesorr.com/wm/][The Window Manager Report]] ** [[https://collet66.web.fc2.com/][syosa]] pixel art +** [[https://www.zhihu.com/column/roartalk][知乎专栏: 嘶吼RoarTalk]] :hack: +回归最本质的信息安全 +** [[https://litchipi.github.io/series/container_in_rust][Writing a container in Rust]] +** [[https://xeiaso.net/][Xe Iaso]] +*** [[https://xeiaso.net/blog/v-vaporware-2019-06-23][V for Vaporware]] ** B *** [[https://blog.yangmame.org/][yanemame]] 猴哥推荐的 @@ -145,6 +150,9 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]] *** [[https://youtu.be/S4E4yAktjug?t=998][How To Become Invisible Online # level 3]] *** [[https://youtu.be/QxNsyrftJ8I][The Biggest Linux Security Mistakes]] "Security is a journey, not a destination!" +*** [[https://youtu.be/pEfrdAtAmqk][Fireship: The Programming Iceberg]] +[[https://www.bilibili.com/video/BV15T411F7js][I translated it]] +*** [[https://youtu.be/yCgHoL9_ZiY][Is LTT Trolling The Linux Community?]] ** Math *** [[https://youtu.be/KufsL2VgELo][Group Theory]] @@ -154,12 +162,19 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]] *** [[https://youtu.be/VKydXD6Lr20][Mojang & Minecraft 开始衰落了吗?]] *** [[https://youtu.be/Y9DIIh0s9cg][SciCraft Update Plans]] *** [[https://youtu.be/m5S0gLgg2rs][Tantan: MC + Fez]] +*** [[https://www.youtube.com/playlist?list=PLhixgUqwRTjwvBI-hmbZ2rpkAl4lutnJG][Minecraft HACKED (LiveOverflow)]] ** ? *** [[https://www.youtube.com/c/IceGuye][IceGuye aka 姑射冰尘]] [[https://odysee.com/@IceGuye][on odysee(lbry)]] *** [[https://www.youtube.com/playlist?list=PL5--8gKSku17duy2-GrOfQma5FwsKA9LC][DT: Odysee]] *** [[https://youtu.be/IS5ycm7VfXg][Homemade Silicon Chips!]] +*** [[https://youtu.be/4IaOeVgZ-wc][Why I'm Suing YouTube.]] +#+BEGIN_QUOTE +a story about YouTube’s intentional efforts to undermine the United States of America in collusion with the Russian government. +It’s also a story about copyright infringement +— and YouTube’s willful blindness to bad actors who openly admit to filing patently fraudulent DMCA counter-notifications to avoid the termination of their accounts. +#+END_QUOTE * r ** [[https://www.reddit.com/r/unixporn/][unixporn]] @@ -175,6 +190,7 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]] #+BEGIN_COMMENT https://www.pixiv.net/users/57759368 https://www.pixiv.net/users/2973809 +https://prnt.sc/ #+END_COMMENT ** [[https://moonboos.fandom.com/zh/wiki/%E6%98%8E%E6%9C%88%E5%BA%84%E4%B8%BB_Wiki][日月脏主 Wiki]] MC 技术区毒瘤! diff --git a/org/wayland.org b/org/wayland.org index d1512d6..06885ae 100644 --- a/org/wayland.org +++ b/org/wayland.org @@ -35,6 +35,9 @@ add =seat seat0 xcursor_theme Oxygen_White= in sway comfig file ** notify-send don't work mako, a notification daemon ** TODO [[https://github.com/WayfireWM/wayfire/issues/1329][Wayfire crashes when closing foot terminal]] +** emacs tool-bar not working(cannot toggle and icon theme missing) +*** cannot toggle: disable custon =default-frame-alist=, or just use floating mode +*** TODO icon theme missing: ? * Ref diff --git a/org_html/cheatsheet.html b/org_html/cheatsheet.html index 62a5396..df9d3e5 100644 --- a/org_html/cheatsheet.html +++ b/org_html/cheatsheet.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Editor Chaetsheet @@ -218,7 +218,8 @@
  • 2.3. dired
  • -
  • 3. Git (虽然不算editor, 但是先也放这吧)
  • +
  • 3. Git
  • +
  • 4. Fish
  • @@ -239,10 +240,16 @@ + + +key +usage + + -key -usage +D +delete to end of line @@ -260,12 +267,13 @@ - + -key -usage +key +usage - + + u/C-r 撤销/重做 @@ -512,6 +520,11 @@ C-y paste to minibuffer + + +M-&/! +async/shell command + @@ -544,8 +557,8 @@ -
    -

    3. Git (虽然不算editor, 但是先也放这吧)

    +
    +

    3. Git

    git log --stat | perl -ne 'END { print $c } $c += $1 if /(\d+) insertions/;'
    @@ -554,10 +567,47 @@ git log  --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 -
     
    + +
    +

    4. Fish

    +
    + + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + +
    keyusage
    M-Left/Rightjump world, or prevd/nextd
    M-ssudo the last command
    M-Wwhat is this
    +
    +

    Author: dongdigua

    -

    Created: 2022-08-18 四 13:32

    +

    Created: 2022-09-01 四 10:40

    diff --git a/org_html/internet_collections.html b/org_html/internet_collections.html index 2ae9edb..3bc02f9 100644 --- a/org_html/internet_collections.html +++ b/org_html/internet_collections.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Internet Collections @@ -213,7 +213,7 @@

    1.3. 阮一峰   rssub

    -

    1.4. 黑客技术   hacker

    +

    1.4. 黑客技术   hack

    really good website, butt, no rss
    @@ -336,7 +336,7 @@ elisp

    -

    1.23. mrxn   hacker

    +

    1.23. mrxn   hack

    网安
    @@ -451,7 +451,7 @@ pretty and concise page

    -

    1.41. lightless blog   hacker

    +

    1.41. lightless blog   hack

    1.42. The State of GPGPU in Rust   rust lowlevel

    @@ -497,47 +497,72 @@ pixel art

    -
    -

    1.48. B

    +
    +

    1.48. 知乎专栏: 嘶吼RoarTalk   hack

    +

    +回归最本质的信息安全
    +

    +
    +
    + +
    +

    1.50. Xe Iaso

    +
    +
    +
    +

    1.50.1. V for Vaporware

    +
    +
    +
    +

    1.51. B

    +
    -

    1.48.1. yanemame

    -
    +

    1.51.1. yanemame

    +

    猴哥推荐的

    -

    1.48.2. 我不会编程

    -
    +

    1.51.2. 我不会编程

    +

    B站: 美味的樱桃菌

    -

    1.48.3. CC   linux

    -
    +

    1.51.3. CC   linux

    +

    B站: 称呼我C先生

    -

    1.48.4. lunaixsky   c lowlevel

    +

    1.51.4. lunaixsky   c lowlevel

    +
    +
    +

    1.51.5. EndlessPeak   linux

    -

    1.49. shenjack/HWS

    -
    +

    1.52. shenjack/HWS

    +
    -

    1.49.1. 老网虫

    +

    1.52.1. 老网虫

    -

    1.49.2. yang-qwq

    +

    1.52.2. yang-qwq

    +
    +
    +

    1.52.3. zhanganzhi

    @@ -640,6 +665,39 @@ and register-based(13 episode)
    + + +
    +

    2.1.21. The Biggest Linux Security Mistakes

    +
    +

    +"Security is a journey, not a destination!"
    +

    +
    +
    + +
    @@ -684,6 +745,21 @@ and register-based(13 episode)

    2.4.2. DT: Odysee

    + +
    +

    2.4.4. Why I'm Suing YouTube.

    +
    +
    +

    +a story about YouTube’s intentional efforts to undermine the United States of America in collusion with the Russian government.
    +It’s also a story about copyright infringement
    +— and YouTube’s willful blindness to bad actors who openly admit to filing patently fraudulent DMCA counter-notifications to avoid the termination of their accounts.
    +

    +
    +
    +
    @@ -695,11 +771,17 @@ and register-based(13 episode)

    3.1. unixporn

    +
    -

    3.1.1. pocket pc

    +

    3.1.2. pocket pc

    -

    3.1.2. win7 :)

    +

    3.1.3. win7 :)

    +
    +
    @@ -780,7 +862,7 @@ invented by a Soviet computer hacker named Linyos Torovoltos.

    Author: dongdigua

    -

    Created: 2022-08-20 六 21:41

    +

    Created: 2022-09-02 五 10:53

    diff --git a/org_html/wayland.html b/org_html/wayland.html index d8c02c8..35d81b7 100644 --- a/org_html/wayland.html +++ b/org_html/wayland.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Something About Wayland(swaywm) @@ -219,8 +219,8 @@ emacs pyim

    -
    -

    1.3. Emacs transparent

    +
    +

    1.3. Emacs transparent, terminal blur

    probably wayfire?
    @@ -304,6 +304,20 @@ mako, a notification daemon

    + +
    +

    1.11. emacs tool-bar not working(cannot toggle and icon theme missing)

    +
    +
    +
    +

    1.11.1. cannot toggle: disable custon default-frame-alist, or just use floating mode

    +
    +
    +

    1.11.2. TODO icon theme missing: ?

    +
    +
    @@ -339,37 +353,42 @@ a great config

    -
    -

    2.7. reddit: family reunion

    -
    -

    2.8. reddit: auto-changing sway background

    +

    2.7. reddit: auto-changing sway background

    -

    2.9. Ruixi-rebirth's dotfiles

    -
    +

    2.8. Ruixi-rebirth's dotfiles

    +

    sway, very beautiful, from COSSIG

    -

    2.10. a Paid config

    -
    +

    2.9. a Paid config

    +

    this is excellent, but…not for me
    I'd like something simpler

    -

    2.10.1. archcraft

    +

    2.9.1. archcraft

    +
    +
    +
    +

    2.10. 夜 - Yoru

    +
    +

    +awesome config!
    +

    Author: dongdigua

    -

    Created: 2022-08-20 六 21:41

    +

    Created: 2022-09-01 四 10:40