MEMO 5

Lenna standard test image, 512×512 px, image/tiff

I can eat glass, it doesn't hurt me.


Python: generate any blank image

python -c "from PIL import Image;Image.new('1', (w,h), color=(1)).save('blank_%TIME::=%.png')"


Youtubde-dl: download with aria2

youtube-dl -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" https://www.youtube.com/watch?v=[Video Hash] --external-downloader aria2c --external-downloader-args "-j 16 -x 16 -s 16 -k 1M"


Unicode: 漫画嵌字用标点

⁉ ⁈ ‼


Windows: fast way to copy plenties of small files

robocopy [source_path] [target_path] /NS /NC /NFL /NDL /NP


Douyin: video metadata

https://www.iesdouyin.com/web/api/v2/aweme/iteminfo/?item_ids={vid}


Avatar: template

https://tvax2.sinaimg.cn/large/images/default_avatar_male_180.gif

https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png

https://i0.hdslb.com/bfs/face/member/noface.jpg


PON manage account

useradmin - fzdri

telecomadmin - nE7jA%5m


Shell: split file to 3 evenly

split -n 3 filename


favicon: Stop favicon request

<link rel="icon" href="data:,">

Edit

Pub: 23 Dec 2022 02:59 UTC

Edit: 30 Dec 2022 15:59 UTC

Views: 151