Skip to content

Instantly share code, notes, and snippets.

View crgrafton's full-sized avatar

Chris Robert crgrafton

View GitHub Profile
#!/usr/bin/env bash
# Import SSH keys from Github to ~/.ssh/authorize_keys for all members of a
# given Github organization.
#
# Will replace authorized_keys, if it looks like authorized_keys was not
# previously created by this script then a backup copy is made.
#
# Depends on jq, will download it if not available (assumes Linux) to ~/bin/jq
#
@crgrafton
crgrafton / README.md
Created October 3, 2019 21:46 — forked from oodavid/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@crgrafton
crgrafton / 00-last-will-and-testament.md.asc
Last active October 18, 2020 20:39
JUST IN CASE I AM DEAD
-----BEGIN PGP MESSAGE-----
hQEMA40JWnZdUp2HAQf+KrC2TFSucOfO06+JGzKIYZ+KHX2uh/vuDoWEMDcs2dwB
szqo1+o1fb2uwjochBQxP2kDo5p33Ag+g87tZ/c7u03aSPHSD1W5G768blf5VTRq
LEovIOSVxPnPBCzx2XJ1S68hJ7sIa+h8DQhYr5BynlGwFawp60muxwmSad3+8JDV
/fpJ19tNnLP5uQJhL1oTouEB8N3BJVAaDQ7tDipmdL4K0OPiuARpPaBB+dJjpRnm
FpvaNxv8U1BJNva5LY9lTDby2E/8vk13h+FqVoxjouCkuuOKrwSnrk17SyPCaGqw
E1NTRGX1ubE6NEh2ZRrrbI2Ftt77AWct6k6QnLpyKdLrAcVITek+GObB5wiViHmL
fBysKFNZ+rr9rkyGacltSE4riXokbIWfp0HqiqhXjW11ilfyjDAPetgbvpml/1wB
25mdGbI1LFcbKq1XGjebtpm0/vAHhbT5T+rgJRMOgCE2uRRprTrFo9SnUiSDXuL8

Keybase proof

I hereby claim:

  • I am crgrafton on github.
  • I am xtofer (https://keybase.io/xtofer) on keybase.
  • I have a public key ASAmgPrsR_w65u3YzbjbaxxK2_gL7iZEBX4uXwiwZw0Tswo

To claim this, I am signing this object: