Skip to content

Instantly share code, notes, and snippets.

View goldie-lin's full-sized avatar

Goldie Lin goldie-lin

  • Puli, Taiwan
  • 10:55 (UTC +08:00)
View GitHub Profile
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active July 5, 2025 17:24
Hyperlinks in Terminal Emulators
@manasthakur
manasthakur / submodules.md
Last active June 22, 2025 16:41
Using git submodules to version-control Vim plugins

Using git-submodules to version-control Vim plugins

If you work across many computers (and even otherwise!), it's a good idea to keep a copy of your setup on the cloud, preferably in a git repository, and clone it on another machine when you need. Thus, you should keep the .vim directory along with your .vimrc version-controlled.

But when you have plugins installed inside .vim/bundle (if you use pathogen), or inside .vim/pack (if you use Vim 8's packages), keeping a copy where you want to be able to update the plugins (individual git repositories), as well as your vim-configuration as a whole, requires you to use git submodules.

Creating the repository

Initialize a git repository inside your .vim directory, add everything (including the vimrc), commit and push to a GitHub/BitBucket/GitLab repository:

cd ~/.vim
@yunga
yunga / Cliref.md
Last active June 5, 2025 21:11
CLIRef.md
_________ _____ _______________       _____
\_   ___ \\    \\___________   \____ / ____\     ~/.bash/cliref.md
/    \  \/|    | |   ||       _/ __ \  __\    copy/paste from whatisdb
\     \___|__  |_|_  ||    |   \  __/|_ |   http://pastebin.com/yGmGiDQX
 \________  /_____ \_||____|_  /____  /_|     [email protected]
 20160515 \/ 1527 \/         \/     \/

alias CLIRef.txt='curl -s "http://pastebin.com/raw/yGmGiDQX" | less -i'

@XVilka
XVilka / TrueColour.md
Last active April 27, 2025 10:17
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@dz1984
dz1984 / Regular.md
Last active November 28, 2019 07:01
這篇收藏起來,以備不時之需。

資料來源:http://disp.cc/b/11.cj-2q1S

Regular expression: 貪婪、非貪婪

貪婪與非貪婪

當要抓取一段不固定的字串,例如 <b></b> 中間的字。 最常看到的方法就是使用正規表示式 regular expression (以下簡稱 regex):