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 "firstname.lastname@example.org"
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
|// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).|
|// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.|
|var FORMAT_ONELINE = 'One-line';|
|var FORMAT_MULTILINE = 'Multi-line';|
|var FORMAT_PRETTY = 'Pretty';|
|var LANGUAGE_PYTHON = 'Python';|
|.replace(/\s+/g, '-') // Replace spaces with -|
|.replace(/[^\w\-]+/g, '') // Remove all non-word chars|
|.replace(/\-\-+/g, '-') // Replace multiple - with single -|
|.replace(/^-+/, '') // Trim - from start of text|
|.replace(/-+$/, ''); // Trim - from end of text|
Locate the section for your github remote in the
.git/config file. It looks like this:
[remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = email@example.com:joyent/node.git
Now add the line
fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
|# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env|
|# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced|
|# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start|
|# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.|
|# Add the following to your shell init to set up gpg-agent automatically for every shell|
|if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then|
|LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(TRIM('My String'), ':', ''), ')', ''), '(', ''), ',', ''), '\\', ''), '\/', ''), '\"', ''), '?', ''), '\'', ''), '&', ''), '!', ''), '.', ''), ' ', '-'), '--', '-'), '--', '-')) AS `post_name`|