Skip to content

Instantly share code, notes, and snippets.

View cod7ce's full-sized avatar
🏠
Working from home

丁楠 cod7ce

🏠
Working from home
View GitHub Profile
@cod7ce
cod7ce / _neo4j_go.md
Last active May 6, 2025 02:12
Neo4j 在 Go 生态中的基本使用

使用 Neo4j 官方包,处理查询

@cod7ce
cod7ce / 1 Gist conventions
Created June 1, 2016 07:10 — forked from PavloBezpalov/1 Gist conventions
Deploy Rails 5.0.0.beta3 to VPS(Ubuntu 14.04.4 LTS). Nginx, Puma, Capistrano3, PostgreSQL, RVM.
<<APP>> change this variables

Fix Brew

Brew still using 1.8 ruby verison. but OSX 10.10 ship with 2.0.0 so symoblinking for now.

$ sudo mkdir -p /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin
$ sudo ln -s /usr/bin/ruby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

Brew update

if [ "x$OH_MY_ZSH_HG" = "x" ]; then
OH_MY_ZSH_HG="hg"
fi
function virtualenv_info {
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
}
function hg_prompt_info {
$OH_MY_ZSH_HG prompt --angle-brackets "\