Skip to content

Instantly share code, notes, and snippets.

View dragonmantank's full-sized avatar

Chris Tankersley dragonmantank

View GitHub Profile
#!/bin/bash
VERSION=0.5
usage() {
cat <<EOF
Domain Administration Script v${VERSION}
=================================
Allows various functions for administering domains on this machine.
@dragonmantank
dragonmantank / gist:b342a690bf3ab4fef1c2
Last active August 29, 2015 14:15
Setting up Windows for git and PHP
* Download http://windows.php.net/downloads/releases/php-5.6.5-nts-Win32-VC11-x86.zip and extract it to C:\php56
* Copy C:\php56\php.ini-development to C:\php56\php.ini
* Edit C:\php56\php.ini and turn on any extensions you need
* Download git from http://git-scm.com/downloads and install it. When asked about adjusting your PATH settings, select the 3rd option ('Use Git and optional tools from the Windows Command Prompt')
* Open up powershell and run 'ssh-keygen.exe -t rsa' to generate an SSH key for Github
* This should be availabe in C:\Users\[username]\.ssh\id_rsa.pub

Keybase proof

I hereby claim:

  • I am dragonmantank on github.
  • I am ctankersley (https://keybase.io/ctankersley) on keybase.
  • I have a public key whose fingerprint is E6C3 AAA1 2B6B 10E4 A610 D90A F609 384F 830C 38BC

To claim this, I am signing this object: