Skip to content

Instantly share code, notes, and snippets.

View simonyoung's full-sized avatar
:octocat:

Simon Young simonyoung

:octocat:
View GitHub Profile
git commit --allow-empty -m "Trigger notification"
@simonyoung
simonyoung / ssh_keys_per_github_account.md
Last active August 5, 2017 16:35
SSH keys per Github account

SSH keys per Github account

Use these instructions to be able to automatically push to a particular Github repo with a specific Github username.

Setup SSH keys

Ensure your SSH keys are created and present in ~/.ssh Refer to http://help.github.com/ssh-issues/ for common SSH issues.

Add your individual SSH keys as follows (example keys here are named id_rsa_username1, id_rsa_username2)

Keybase proof

I hereby claim:

  • I am simonyoung on github.
  • I am simonyoung (https://keybase.io/simonyoung) on keybase.
  • I have a public key whose fingerprint is 6414 1DFC 7570 7726 20A4 4097 20EC 3E6B 5EDB 70FC

To claim this, I am signing this object:

@simonyoung
simonyoung / service
Created February 11, 2014 19:10
Scripts to manage OS X launchctl scripts
#!/bin/bash
# Mac OS launchctl utility
# Support partial match
# Will exit on error if no of more than one service is found.
#
# @link http://blog.lavoie.sl/2013/08/service-management-utility-for-mac-osx.html
#
# Usage:
# service selfupdate
# update from the Gist