Skip to content

Instantly share code, notes, and snippets.

@rextaylor
rextaylor / multiple_ssh_setting.md
Created December 28, 2015 20:44 — 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 "your_email@youremail.com"
@rextaylor
rextaylor / .gitignore
Created October 16, 2015 02:14 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@rextaylor
rextaylor / webhook.php
Created October 16, 2015 02:06 — forked from thatarchguy/webhook.php
Cpanel deploy.php script
<?php
/**
* GIT DEPLOYMENT SCRIPT
*
* Used for automatically deploying websites via github or bitbucket, more deets here:
*
* https://gist.github.com/1809044
*
* Edited for Cpanel use
*/