Skip to content

Instantly share code, notes, and snippets.

View vipzhicheng's full-sized avatar
🎯
Focusing

Richard Yu vipzhicheng

🎯
Focusing
  • Beijing, China
View GitHub Profile
@vipzhicheng
vipzhicheng / Logseq Text Wrapper Config.json
Created April 16, 2022 05:07
Logseq Text Wrapper Config
{
"disabled": false,
"toolbar": true,
"wrap-link": {
"label": "Wrap Link",
"binding": "",
"template": "[[$^]]",
"icon": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <g clip-path=\"url(#clip0_101_2)\"> <path d=\"M0.114075 14.9953V5.10858H3.19611V6.35077H1.72345V13.7492H3.19611V14.9953H0.114075ZM4.61505 14.9953V5.10858H7.69708V6.35077H6.22443V13.7492H7.69708V14.9953H4.61505ZM10.7957 3.47186V16.6281H9.21759V3.47186H10.7957ZM15.4022 5.10858V14.9953H12.3201V13.7492H13.7928V6.35077H12.3201V5.10858H15.4022ZM19.9031 5.10858V14.9953H16.8211V13.7492H18.2938V6.35077H16.8211V5.10858H19.9031Z\" fill=\"white\"/> </g> <defs> <clipPath id=\"clip0_101_2\"> <rect width=\"20\" height=\"20\" fill=\"white\"/> </clipPath> </defs> </svg>"
},
"wrap-highlight": {
@vipzhicheng
vipzhicheng / newsboat.md
Last active November 13, 2024 15:03
Mac 使用 Newsboat 订阅 RSS 看视频

需要依赖的几个工具命令

brew install newsboat # 同时也会自动安装 youtube-dl
brew install you-get
brew install mpv
npm i -g vercel
@vipzhicheng
vipzhicheng / tmux-cheatsheet.markdown
Created September 8, 2019 15:14 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。

Tmux 快捷键 & 速查表

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

@vipzhicheng
vipzhicheng / full-ffmpeg-brew-install.sh
Last active January 16, 2019 08:44
Full ffmpeg brew install
# https://gist.github.com/clayton/6196167
# if ffmpeg exist, use reinstall instead
brew install ffmpeg --with-chromaprint --with-fdk-aac --with-libass --with-librsvg --with-libsoxr --with-libssh --with-tesseract --with-libvidstab --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-rtmpdump --with-rubberband --with-webp --with-zimg
@vipzhicheng
vipzhicheng / find-alias-definition-location.sh
Created January 16, 2019 05:40
Find where an alias was defined
bash -ixlc : 2>&1 | grep ...
zsh -ixc : 2>&1 | grep ...
@vipzhicheng
vipzhicheng / fix-dyId-library-not-loaded.sh
Created January 16, 2019 05:06
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
# 1
ls -l /usr/local/opt/readline/lib/libreadline.*
# 2, depends on what you miss, and what you have
ln -s /usr/local/opt/readline/lib/libreadline.8.0.dylib /usr/local/opt/readline/lib/libreadline.7.dylib