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
OOo.addEventListener(window, 'load', function () { | |
oo_exit.interruptShow = true; | |
}, false); |
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
var rawData = [{foo: 'bar'}, {bar: 'baz'}, {red: 'yellow'}]; | |
function generateCustomVarObject(keyValue, rawData) { | |
customVariables = {} | |
for (i = 0; i < rawData.length; i++) { | |
customVariables[keyValue + i] = JSON.stringify(rawData[i]); | |
} | |
return customVariables; | |
} |
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
var pathRay = window.location.pathname.split('/'); | |
// Make sure that split returns | |
// an array of at least 2 values | |
// the value we want will be the 2nd value | |
if (pathRay.length >= 2) { | |
var firstRoute = pathRay[1]; | |
} | |
// Make sure the second value |
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
Benchmarking cdn.opinionlab.com (be patient).....done | |
Server Software: AmazonS3 | |
Server Hostname: cdn.opinionlab.com | |
Server Port: 443 | |
SSL/TLS Protocol: TLSv1,AES256-SHA,2048,256 | |
Document Path: /includes/universal/javascripts/compiled/cc-engine-5.1.min.js | |
Document Length: 133779 bytes |
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
Benchmarking secure.opinionlab.com (be patient).....done | |
Server Software: Microsoft-IIS/6.0 | |
Server Hostname: secure.opinionlab.com | |
Server Port: 443 | |
SSL/TLS Protocol: TLSv1,RC4-MD5,2048,128 | |
Document Path: /includes/universal/javascripts/compiled/cc-engine-5.1.min.js | |
Document Length: 133783 bytes |
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 addEvent(element, event, fn) { | |
if (element.addEventListener) { | |
element.addEventListener(event, fn, false); | |
} else if (element.attachEvent) { | |
element.attachEvent('on' + event, fn); | |
} | |
} | |
function newText() { | |
document.getElementById("ovText").innerHTML = "<span class='questionSpan reqQuestion'><label for='overall'>Overall Experience</label></span>"; | |
} |
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
<style> | |
#foot {padding-bottom:20px;} | |
.two_column #customer_service_links { | |
height: inherit; | |
} | |
.tooltip{ | |
display: inline; | |
position: relative; | |
} | |
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
var lang = 'en', | |
omniture = s || {}; | |
if (omniture.prop20 !== undefined) { | |
lang = s.prop20; | |
} |
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
#!/usr/bin/env ruby | |
require 'pp' | |
require 'diff_dirs' | |
pp diff_dirs "~/oplab/UCC-template/Universal-Comment-Card-Template/public/includes/universal/", "~/oplab/CC-Secure/CommentCards.secure/includes/universal/" |
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
cd #Takes you to home directory | |
cd - #Takes you to your previous directory | |
cd ../../ #Takes you back two directorys | |
cd ~/ #Takes you to the home directory | |
cd ~ #Takes you to the home directory | |
pwd #Path to working directory (tells you where you are) | |
ls -l #list directory contents | |
ls -a #list directory contents and hidden files | |
lsof -wni tcp:3000 #get PID for port 3000 | |
time curl https://secure.opinionlab.com/includes/universal/images/foot-logo.png > /dev/null |