This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* local.settings.php (Drupal 6.x) | |
* | |
* This settings file is intended to contain settings specific to a local | |
* development environment, by overriding options set in settings.php. | |
* | |
* Include this file from your regular settings.php by including this at the | |
* bottom: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A friend of mine (yes I have non-Drupal friends) is ready to dive into | |
development, specifically Drupal. He was going to go to one of those developer | |
bootcamps like Hackreactor but isn't really interested in the Silicon Valley | |
startup scene and lifestyle. That said, he does want a bootcamp style on-ramp | |
to Drupal and the community. He wants to dive in hard and spend a significant | |
amount of time to get on-boarded as quickly as possible. He wants to switch | |
careers. I have offered to mentor him and get him plugged into the Drupal | |
community. He is 35 with two kids and a spouse. Fortunately he is able to | |
take some time off his current job to get going. He says he has studied HTML/CSS | |
and basic JS. He recently studied and was certified with some Cisco cert, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> | |
> 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implementation of hook_perm(). | |
*/ | |
function pre_conference_sessions_perm() { | |
return array('change pre-conference sessions', 'allow check or money order payment'); | |
} | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
config.vm.share_folder("platforms", "/var/aegir/platforms/.", "../platforms", :owner => "aegir", :group => "www-data") | |
config.vm.share_folder("builds", "/var/aegir/builds", "../builds", :owner => "aegir", :group => "aegir") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Duplicity Backup script | |
# written by mig5 | |
# Functions that define which API to use | |
function amazon_s3() { | |
export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXX | |
export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="cse" style="width: 100%;">Loading</div> | |
<script src="https://www.google.com/jsapi" type="text/javascript"></script> | |
<script type="text/javascript"> | |
google.load('search', '0', {language : 'en'}); | |
google.setOnLoadCallback(function() { | |
var customSearchControl = new google.search.CustomSearchControl('012175768895571244741:5zxvz8g5isy'); | |
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); | |
var options = new google.search.DrawOptions(); | |
options.setAutoComplete(true); | |
customSearchControl.draw('cse', options); |
OlderNewer