My translation of Fireship, emacs tool-bar not working

This commit is contained in:
dongdigua 2022-08-26 15:36:28 +08:00
parent 16b2f16c0e
commit 798ca075d2
4 changed files with 31 additions and 3 deletions

View File

@ -46,6 +46,7 @@ export LANG=zh_CN.UTF-8
doas dnf remove gnome-classic-session doas dnf remove gnome-classic-session
``` ```
## use Geary as a replacement of Thunderbird

View File

@ -5,7 +5,8 @@
* VIM * VIM
** deletion ** deletion
| key | usage | | key | usage |
|-------+------------------------| |-----+-----------------------|
| D | delete to end of line |
** edit ** edit
| key | usage | | key | usage |
@ -59,13 +60,21 @@
| M-; | 区域切换注释 | | M-; | 区域切换注释 |
| C-x C-; | 行切换注释 | | C-x C-; | 行切换注释 |
| C-y | paste to minibuffer | | C-y | paste to minibuffer |
| M-&/! | async/shell command |
** dired ** dired
| key | usage | | key | usage |
| R | rename | | R | rename |
* Git (虽然不算editor, 但是先也放这吧) * Git
#+BEGIN_SRC shell #+BEGIN_SRC shell
git log --stat | perl -ne 'END { print $c } $c += $1 if /(\d+) insertions/;' 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 --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 #+END_SRC
* Fish
| key | usage |
|--------------+----------------------------|
| M-Left/Right | jump world, or prevd/nextd |
| M-s | sudo the last command |
| M-W | what is this |

View File

@ -89,6 +89,11 @@ a webos using oxygen visual design
** [[https://www.gilesorr.com/wm/][The Window Manager Report]] ** [[https://www.gilesorr.com/wm/][The Window Manager Report]]
** [[https://collet66.web.fc2.com/][syosa]] ** [[https://collet66.web.fc2.com/][syosa]]
pixel art 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 ** B
*** [[https://blog.yangmame.org/][yanemame]] *** [[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/S4E4yAktjug?t=998][How To Become Invisible Online # level 3]]
*** [[https://youtu.be/QxNsyrftJ8I][The Biggest Linux Security Mistakes]] *** [[https://youtu.be/QxNsyrftJ8I][The Biggest Linux Security Mistakes]]
"Security is a journey, not a destination!" "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 ** Math
*** [[https://youtu.be/KufsL2VgELo][Group Theory]] *** [[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/VKydXD6Lr20][Mojang & Minecraft 开始衰落了吗?]]
*** [[https://youtu.be/Y9DIIh0s9cg][SciCraft Update Plans]] *** [[https://youtu.be/Y9DIIh0s9cg][SciCraft Update Plans]]
*** [[https://youtu.be/m5S0gLgg2rs][Tantan: MC + Fez]] *** [[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://www.youtube.com/c/IceGuye][IceGuye aka 姑射冰尘]]
[[https://odysee.com/@IceGuye][on odysee(lbry)]] [[https://odysee.com/@IceGuye][on odysee(lbry)]]
*** [[https://www.youtube.com/playlist?list=PL5--8gKSku17duy2-GrOfQma5FwsKA9LC][DT: Odysee]] *** [[https://www.youtube.com/playlist?list=PL5--8gKSku17duy2-GrOfQma5FwsKA9LC][DT: Odysee]]
*** [[https://youtu.be/IS5ycm7VfXg][Homemade Silicon Chips!]] *** [[https://youtu.be/IS5ycm7VfXg][Homemade Silicon Chips!]]
*** [[https://youtu.be/4IaOeVgZ-wc][Why I'm Suing YouTube.]]
#+BEGIN_QUOTE
a story about YouTubes intentional efforts to undermine the United States of America in collusion with the Russian government.
Its also a story about copyright infringement
— and YouTubes 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 * r
** [[https://www.reddit.com/r/unixporn/][unixporn]] ** [[https://www.reddit.com/r/unixporn/][unixporn]]

View File

@ -35,6 +35,9 @@ add =seat seat0 xcursor_theme Oxygen_White= in sway comfig file
** notify-send don't work ** notify-send don't work
mako, a notification daemon mako, a notification daemon
** TODO [[https://github.com/WayfireWM/wayfire/issues/1329][Wayfire crashes when closing foot terminal]] ** 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 * Ref