Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Ryan Hoo ryanhoo

🏠
Working from home
Block or report user

Report or block ryanhoo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View press.one
https://press.one/p/address/v?s=72d1b7084dd7bb5f4f60df187d0b77e10bed41a1ab29ea5760c5cb1a697c2f97760436e18aa625c6df7e73d27651b2eed5541ddfce1d6d4b24d600509df5b3660&h=b34914ed658aa1d090cf0a0edbec6962849f8b2a0c3c419cf9d2349cb6de83c5&a=48babe15363a25c4a89b3062e32d9480b3940379&f=P1&v=2
View press.one
https://press.one/p/address/v?s=a2032c6d2936e11ff7653c51fc0b4754ddbd4de738a163446d069c3fe4944a84dd13bd9be4c1bb497dde9b2b48c00b2f8aa0b753f5691e7747cf2aa7ed6ec9e71&h=9c270ef56783cf329af5109c818075afa9c7901d8bd91cea900daacd0a640f80&a=72daa9d9677745437239c4c33ba732b7dee5f0fb&f=P1&v=2
View press.one
https://press.one/p/address/v?s=a2032c6d2936e11ff7653c51fc0b4754ddbd4de738a163446d069c3fe4944a84dd13bd9be4c1bb497dde9b2b48c00b2f8aa0b753f5691e7747cf2aa7ed6ec9e71&h=9c270ef56783cf329af5109c818075afa9c7901d8bd91cea900daacd0a640f80&a=72daa9d9677745437239c4c33ba732b7dee5f0fb&f=P1&v=2
View press.one
https://press.one/p/address/v?s=a2032c6d2936e11ff7653c51fc0b4754ddbd4de738a163446d069c3fe4944a84dd13bd9be4c1bb497dde9b2b48c00b2f8aa0b753f5691e7747cf2aa7ed6ec9e71&h=9c270ef56783cf329af5109c818075afa9c7901d8bd91cea900daacd0a640f80&a=72daa9d9677745437239c4c33ba732b7dee5f0fb&f=P1&v=2
View press.one
https://press.one/p/address/v?s=a2032c6d2936e11ff7653c51fc0b4754ddbd4de738a163446d069c3fe4944a84dd13bd9be4c1bb497dde9b2b48c00b2f8aa0b753f5691e7747cf2aa7ed6ec9e71&h=9c270ef56783cf329af5109c818075afa9c7901d8bd91cea900daacd0a640f80&a=72daa9d9677745437239c4c33ba732b7dee5f0fb&f=P1&v=2
View press.one
{"sig":"36fe434d9d9412a21b61bf33a28e24985089d442ec2e7e94f95e0cf87af7f298aacd6aa997b8074bf801c8cc00ebd9ee64f8f524ff5e133b6a746120187ce9bf0","msghash":"7018294b630ca3a85a4444ddbbd7e0a986ed10e24782a4f555e04a03cdbe0123"}
View git.md

1.同一台电脑可以有2个git账号(不同网站的)

首先不同网站,当然可以使用同一个邮箱,比如我的github,gitlab,bitbucket的账号都是monkeysuzie[at]gmail.com 这时候不用担心密钥的问题,因为这些网站push pull 认证的唯一性的是邮箱 比如我的windows 上 2个账号一个gitlab 一个github (用的都是id_rsa)

host github
  hostname github.com
  Port 22
host gitlab.zjut.com
View Ryan-简历.md
@ryanhoo
ryanhoo / 0_reuse_code.js
Created Apr 16, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View node-and-npm-in-30-seconds.sh
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 https://www.npmjs.org/install.sh | sh
You can’t perform that action at this time.