#!/bin/bash | |
# ๅ็จ ๅฏ่ฎๆจกๅผ | |
sudo steamos-readonly disable | |
# ๅๅงๅ Pacman Keys | |
sudo pacman-key --init | |
sudo pacman-key --populate archlinux | |
# ้ๆฐๅฎ่ฃ glibc | |
sudo pacman -S glibc --noconfirm | |
# ็ทจ่ผฏ locale.gen | |
sudo sed -i "s%#zh_TW.UTF-8 UTF-8%zh_TW.UTF-8 UTF-8%" /etc/locale.gen |
// ==UserScript== | |
// @name Youtube: Automatic clapping machine | |
// @name:zh Youtube: ่ชๅๆๆๆฉๅจ | |
// @version 1.4.5 | |
// @description ๅจๅ ถๅฎไบบๆๆๆ่ชๅ่ท่ไธ่ตทๆ | |
// @author ็ณ(jim60105) | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @license GPL3 | |
// ==/UserScript== |
// ==UserScript== | |
// @name Youtube: Automatically press like after watching 5 minutes of video | |
// @name:zh Youtube: ่ง็5ๅ้ๅฝฑ็ๅพ่ชๅๆๅๆญก | |
// @version 1.1.3 | |
// @description Youtube: Automatically press like after watching 5 minutes of video | |
// @author ็ณ(jim60105) | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @license GPL3 | |
// ==/UserScript== |
/* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
* | |
* You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. | |
**/ | |
header { | |
display: flex; | |
justify-content: center; |
ๆฌๆ่ญฏ่ช [Tokio internals: Understanding Rust's asynchronous I/O framework from the bottom up][tokio-internals]ใ
Thanks [David Simmons][david-simmons] for this awesome article!
[Tokio][tokio] ๆฏ Rust ็้็ผๆกๆถ๏ผ็จๆผ้็ผ้ๅๆญฅ I/O ็จๅผ๏ผasynchronous I/O๏ผไธ็จฎไบไปถ้ฉ ๅ็ไฝๆณ๏ผๅฏๅฏฆ็พๆฏๅณ็ตฑๅๆญฅ I/O ๆดๅฅฝ็ๅปถไผธๆงใๆ่ฝ่่ณๆบๅฉ็จ๏ผใๅฏๆ็ๆฏ๏ผTokio ้ๆผ็ฒพๅฏ็ๆฝ่ฑก่จญ่จ๏ผๆ่ด้ฃไปฅๅญธ็ฟ็ๆกๅใๅณไฝฟๆ่ฎๅฎๆ็จๅพ๏ผไพ็ถไธ่ช็บ่ชๅทฑๅ ๅๅ งๅ้ไบๆฝ่ฑกๅฑค๏ผไปฅไพฟๆจๆทๅฏฆ้็ผ็็ไบๆ ใ
ๅพๅ็้ๅๆญฅ I/O ็ธ้้็ผ็ถ้ฉ็่ณ้ป็คๆๅญธ็ฟ Tokioใๆ็ฟๆ
ฃไฝฟ็จไฝๆฅญ็ณป็ตฑๆไพ็ selection ๅทฅๅ
ท๏ผไพๅฆ Linux epoll๏ผ็ถไฝ่ตท้ป๏ผๅ่ฝ็งป่ณ dispatchใstate machine ็ญ็ญใๅ่ฅ็ดๆฅๅพ Tokio ๆฝ่ฑกๅฑคๅบ็ผ๏ผๅปๆฒๆๆธ
ๆฅไบ่งฃ epoll_wait()
ๅจไฝ่ๅๅฆไฝ็ผ็๏ผๆๆ่ฆบๅพ้ฃไปฅ้ฃ็ตๆฏๅๆฆๅฟตใTokio ่ future-driven ็ๆนๆณๅฐฑๅฅฝๅไธๅ้ป็ๅญใ
Last updated: April 2021
Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22
).
Depending on the age and/or popularity of the video, not all formats will be available.
Resolution | AV1 HFR High | AV1 HFR | AV1 | VP9.2 HDR HFR | VP9 HFR | VP9 | H.264 HFR | H.264 |
---|---|---|---|---|---|---|---|---|
MP4 | MP4 | MP4 | WebM | WebM | WebM | MP4 | MP4 |
wget --no-check-certificate --content-disposition https://github.com/joyent/node/tarball/v0.7.1 | |
# --no-check-cerftificate was necessary for me to have wget not puke about https | |
curl -LJO https://github.com/joyent/node/tarball/v0.7.1 |