Skip to content

Instantly share code, notes, and snippets.

View bmcmurray's full-sized avatar

Brian McMurray bmcmurray

View GitHub Profile
<?php
// $Id: default.settings.php,v 1.8.2.4 2009/09/14 12:59:18 goba Exp $
/**
* @file
* Drupal site-specific configuration file.
*
* IMPORTANT NOTE:
* This file may have been set to read-only by the Drupal installation
* program. If you make changes to this file, be sure to protect it again
@bmcmurray
bmcmurray / gist:1280024
Created October 12, 2011 02:01 — forked from paulirish/gist:366184
html5 geolocation with fallback.
// geo-location shim
// currentely only serves lat/long
// depends on jQuery
;(function(geolocation){
if (geolocation) return;
var cache;
{
"jquery": {
"authUsername": "--your-username-here--",
"authToken": "--your-auth-code-here--",
"swarmUrl": "--your-testswarm-url--",
"testUrl": "--your-testswarm-url--/build/--your-username-here--/",
"runMax": 2
}
}
#!/bin/bash
# Make a static clone the working copy of a Jenkins build
# to a public directory for browser testing.
# Also cleans clones older than 14 days
#
# Parameters:
# $1: Publish target (absolute path, without "$1")
# $2: ID to use for the static clone directory
#