Skip to content

Instantly share code, notes, and snippets.

View Hipfox's full-sized avatar

Chen-Sheng Lin Hipfox

  • NETivism
  • Taiwan
View GitHub Profile
@Hipfox
Hipfox / .vimrc
Last active October 25, 2025 01:28
platform: linux
" Setting Minimalist Vim Plugin Manager
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
" Plug 'phpactor/phpactor', {'for': 'php', 'tag': '*', 'do': 'composer install --no-dev -o'}
@Hipfox
Hipfox / fuzzy find container.sh
Created February 27, 2020 10:13
fuzzy find container
function dc() {
local cid
cid=$(docker ps --format '{{.ID}} {{.Names}} {{.Image}}' | fzf -q "$1" | awk '{print $1}')
[ -n "$cid" ] && docker exec -it "$cid" bash
}
@Hipfox
Hipfox / .gitconfig
Last active June 2, 2025 02:35
gitconfig
[user]
name = example
email = [email protected]
[core]
excludesfile = ~/.gitignore
autocrlf = input
editor = vim
[color]
ui = auto
[column]
@Hipfox
Hipfox / umatch.xcs
Last active August 29, 2015 14:25
An xshell color scheme suited for the nanotech/jellybeans.vim background color.
[Names]
count=1
name0=umatch
[umatch]
text(bold)=f9f8f5
magenta(bold)=e1a3ee
text=f9f8f5
white(bold)=f9f8f5
green=689312
red(bold)=deaf8f