Skip to content

Instantly share code, notes, and snippets.

View dontcry2013's full-sized avatar

Zac Qin dontcry2013

View GitHub Profile
@dontcry2013
dontcry2013 / multiple_ssh_setting.md
Last active February 22, 2024 06:07 — forked from jexchan/multiple_ssh_setting.md
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]"
@dontcry2013
dontcry2013 / cookies.js
Last active April 10, 2019 00:33 — forked from CrocoDillon/cookies.js
Export your awesome module using AMD, CommonJS, Node.js or just as global.
/*
* Inspiration (well… copy pasting more or less) from:
* https://github.com/ScottHamper/Cookies/blob/0.3.1/src/cookies.js#L127-L140
*
* Thanks Scott!
*/
(function (global) {
'use strict';
var MyModule = function () {