Skip to content

Instantly share code, notes, and snippets.

@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@jexchan
jexchan / hack.sh
Created April 2, 2012 11:38 — forked from DAddYE/hack.sh
OSX For Hackers
#!/usr/bin/env bash
##
# This is a script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# Download and auto-run with:
# $ curl -sL https://raw.github.com/gist/2108403/hack.sh | bash
#
# or download and prompt before change defaults:
@jexchan
jexchan / hack.sh
Created April 2, 2012 11:38 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@jexchan
jexchan / markdown_example.md
Created April 1, 2012 15:49
Markdown usage

项目内容概述

这里可以对项目的作简单介绍。 标题为一级标题大写
此处为换行测试。

段落分隔、示例链接 列举。

使用方法

@jexchan
jexchan / mirror_internal.md
Created April 1, 2012 14:56
Mirror sites for Linux
@jexchan
jexchan / node-and-npm-in-30-seconds.sh
Created December 28, 2011 14:11 — forked from isaacs/node-and-npm-in-30-seconds.sh
BASH:install node wherever.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl http://npmjs.org/install.sh | sh
@jexchan
jexchan / visualization_in_js.md
Created December 25, 2011 13:48 — forked from entaroadun/visualization_in_js.md
README:Visualization using Javascript on Github