Skip to content

Instantly share code, notes, and snippets.

View davehimself's full-sized avatar

David Heath davehimself

View GitHub Profile
<qscript type="compare" keypath ="name" object="page" compare_constant="ConfirmOrderPage">
<script language="JavaScript" type="text/JavaScript">
function writeBeacons(cat,revenue,ordernum,spnum) {
if (ordernum.indexOf('SP')==0) {
try {
// vertster call
document.write("<iframe src='https://r.vertster.com/views/convert/191' width='0' height='0' frameborder='0'></iframe>");
} catch(err) {}
}
}
var TopOffersTable = new Class({
initialize: function(container, datastore, options) {
this.klass = this;
this.options;
this.header;
this.container = container;
this.store = datastore;
var rows = this.container.getElements('tr');
RewriteEngine On
RewriteRule ^att/?.*$ http://www.whitefence.com/company/att/ [L,R=301]
RewriteRule ^bellsouth/?.*$ http://www.whitefence.com/category/home-phone/ [L,R=301]
RewriteRule ^comcast/?.*$ http://www.whitefence.com/company/comcast/ [L,R=301]
RewriteRule ^qwest/?.*$ http://www.whitefence.com/company/qwest/ [L,R=301]
RewriteRule ^verizon/?.*$ http://www.whitefence.com/company/verizon/ [L,R=301]
RewriteRule .* http://www.whitefence.com/category/home-phone/ [R=301]
dheath@ubuntu:/mnt/hgfs/projects/dropvine/sites/all/modules$ drush status
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
<title>Site off-line | Drupal</title>
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?0" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?0" />
warning: Parameter 2 to admin_system_info_alter() expected to be a reference, value given in /mnt/hgfs/projects/dropvine/includes/common.inc on line 2839.
warning: Parameter 1 to admin_menu_admin_menu() expected to be a reference, value given in /mnt/hgfs/projects/dropvine/includes/module.inc on line 483.
<script type="text/javascript">
var url = 'http://xxx.net/handler.ashx?ci=7794&pi=home';
var tt= new Date().getTime();
document.write('<sc'+'ript type="text/javascript" ');
document.write('src="'+url+'&t'+tt+'='+tt+'">');
document.write('</sc'+'ript>');
</script>
if (typeof(Vswap.recipe.name) != "undefined") {
s.eVar12 = Vswap.recipe.name.replace(' ', '_');
}
var Foo = new Class({
someMethod: function() {}
});
var Bar = new Class({
Implements: Foo,
someOtherMethod: function() {}
});
(function($) {
var $container = null;
var $previous = null;
var config = {}
$.fn.AddressSlider = function(options) {
settings = {
pidData: pidData,
showCallback: null,