Skip to content

Instantly share code, notes, and snippets.

View willmot's full-sized avatar

Tom Willmot willmot

View GitHub Profile
@willmot
willmot / brew-config
Created July 7, 2012 13:38
Brew config
HOMEBREW_VERSION: 0.9.2
HEAD: 26c0d8f475daef5f1ba60625e7fbdad3f002cc78
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.8-x86_64
Xcode: 4.5
CLT: 4.5.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
@willmot
willmot / gist:3066516
Created July 7, 2012 13:41
brew install -v svn on 10.8 with Xcode 4.5 DP2
brew install -v svn
==> Installing subversion dependency: serf
==> Downloading http://serf.googlecode.com/files/serf-1.1.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/serf-1.1.0.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/serf-1.1.0.tar.bz2
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/serf/1.1.0
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/serf/1.1.0
checking for chosen layout... Serf
checking for working mkdir -p... yes
checking build system type... x86_64-apple-darwin12.0.0
<?php
/*
Plugin Name: Gravity Forms Encryptorator
Plugin URI: https://github.com/humanmade/Gravity-Forms-Encryptorator
Description: Encrypt all Gravity Forms data on the way into the database using openssl public encryption, data can only be decrypted with the associated private key.
Author: Human Made Limited
Version: 1.0 Alpha
Author URI: http://www.hmn.md/
*/
@willmot
willmot / functions.php
Created April 12, 2013 10:11
Run all images in the_content through WP Thumb
<?php
/**
* Run images inserted into posts through WP Thumb
*
* This serves a couple of purposes, 1 it allows us to delete the cache folder
* without having to worry about losing images and 2 it ensures all images
* are cropped to the correct size and limited to $content_width
*
* @var string
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
127.0.1.1 salty-wordpress salty-wordpress vagrant-ubuntu-raring-32
@willmot
willmot / gist:8869315
Created February 7, 2014 18:57
Full Provision with Salty WordPress
vagrant provision
[default] Running provisioner: salt...
Copying salt minion config to vm.
Checking if salt-minion is installed
salt-minion found
Checking if salt-call is installed
salt-call found
Using Bootstrap Options: -c /tmp -C
Salt binaries found. Configuring only.
stdin: is not a tty

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post