Skip to content

Instantly share code, notes, and snippets.

It appears you need a SMTP relayhost added
in your Postfix /etc/postfix/main.cf config.
Please enter your SMTP relay host name
as a value for _SMTP_RELAY_HOST="smtp.your.relay.server"
@kepford
kepford / pre_conference_sessions.module
Created August 2, 2011 21:24
A module adding session selection to UC Signup module
<?php
/**
* Implementation of hook_perm().
*/
function pre_conference_sessions_perm() {
return array('change pre-conference sessions', 'allow check or money order payment');
}
/**
@kepford
kepford / check_all.js
Created June 1, 2011 21:34 — forked from nathansmith/check_all.js
Used to check all checkboxes in a page.
(function(d) {
var input = d.getElementsByTagName('input');
var i = input.length;
while (i--) {
if (input[i].type === 'checkbox') {
input[i].setAttribute('checked', 'checked');
}
}
})(this.document);
@kepford
kepford / gist:823604
Created February 12, 2011 08:18 — forked from imathis/gist:590559
// Create a simple top to bottom linear gradient with a background-color backup
// The first argument, $color will be output as background-color: $color
//
// This yields a gradient that is 5% brighter on the top and 5% darker on the bottom
//
// +gradient-bg(#777)
//
// This yeilds a gradient where the bright and dark colors are shifted 10% from the original color.
// If you don't specify a third argument it will assign this value for the darkness too, keeping the gradient even.
//
>
> This is a Quix Command File
>
> For the syntax of this file, please refer to http://quixapp.com/syntax/
>
> Permalink to this file: http://dl.dropbox.com/u/18414/quix.txt
> By TJ Luoma
> http://luo.ma
> http://twitter.com/tj
> A lot (MOST! as of right now) of these came from Merlin Mann's Quix file