Skip to content

Instantly share code, notes, and snippets.

View xiang578's full-sized avatar
🎯
Focusing

Ryen Xiang xiang578

🎯
Focusing
View GitHub Profile
@xiang578
xiang578 / Highlight
Created January 5, 2023 03:08 — forked from Xuanwo/Highlight
Readwise Logseq Output
> {{ highlight_text }}
date:: [[{{highlight_date}}]] \
{% if highlight_location_url %}location:: {{highlight_location_url}}{% elif highlight_location %}location:: {{highlight_location}}{% endif %} \
{% if highlight_note %}
{{ highlight_note }}
{% endif %}
---
@xiang578
xiang578 / vim8.0_ubuntu16LTS
Created September 30, 2018 02:50
Installing vim 8.0.X with lua, python on Ubuntu 16.04
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev
sudo rm -rf /usr/local/share/vim
sudo rm /usr/bin/vim
sudo mkdir /usr/include/lua5.1/include
sudo cp /usr/include/lua5.1/*.h /usr/include/lua5.1/include/
@xiang578
xiang578 / tmux-cheatsheet.markdown
Created September 5, 2018 00:06 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

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

Tmux 快捷键 & 速查表

启动新会话:

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

恢复会话:

@xiang578
xiang578 / markdownhere.css
Created January 28, 2018 04:45 — forked from xiaolai/markdownhere.css
markdown-here-css
.markdown-here-wrapper {
font-size: 16px;
line-height: 1.8em;
letter-spacing: 0.1em;
}
pre, code {
font-size: 14px;
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace;