Skip to content

Instantly share code, notes, and snippets.

@gerardolima
gerardolima / github_bitbucket_multiple_ssh_keys.md
Created March 12, 2024 14:49 — forked from yinzara/github_bitbucket_multiple_ssh_keys.md
Managing SSH keys and repo cloning using multiple accounts on GitHub and BitBucket

Why Multiple SSH keys?

There are numerous reasons you may need to use multiple SSH keys for accessing GitHub and BitBucket

You may use the same computer for work and personal development and need to separate your work.

When acting as a consultant, it is common to have multiple GitHub and/or BitBucket accounts depending on which client you may be working for.

You may have different projects you're working on where you would like to segregate your access.

@gerardolima
gerardolima / github_bitbucket_multiple_ssh_keys.md
Created March 12, 2024 14:49 — forked from yinzara/github_bitbucket_multiple_ssh_keys.md
Managing SSH keys and repo cloning using multiple accounts on GitHub and BitBucket

Why Multiple SSH keys?

There are numerous reasons you may need to use multiple SSH keys for accessing GitHub and BitBucket

You may use the same computer for work and personal development and need to separate your work.

When acting as a consultant, it is common to have multiple GitHub and/or BitBucket accounts depending on which client you may be working for.

You may have different projects you're working on where you would like to segregate your access.

@gerardolima
gerardolima / docker-mysql.md
Created July 17, 2019 14:02 — forked from s1moe2/docker-mysql.md
Local Docker MySQL (5.7) server setup

Local Docker MySQL server setup

  • Pull latest MySQL docker image

docker pull mysql:5.7

  • Create a directory to mount volumes and persist container data

mkdir $HOME/docker/volumes/mysql5.7

  • Start the thing

docker run --rm --name mysql5.7-docker -e MYSQL_ROOT_PASSWORD=mypassword -d -p 127.0.0.1:3306:3306 -v $HOME/docker/volumes/mysql5.7:/var/lib/mysql mysql:5.7