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
<!-- Starting on line line 764 of /haoi/611.1009820.1291204/calendar/year.html --> | |
<div id="analyticsData" data-analytics-appEnvironment="stage" data-analytics-brand="HolidayRentals" | |
data-analytics-viewName="/calendar/year" data-analytics-detailTypeSingular="" | |
data-analytics-userID="7977cf4c858c46f4b84edcb3fa204d56" data-analytics-propID="" | |
data-analytics-listingID="" data-analytics-reservationID="" data-analytics-calendarID="" | |
data-analytics-isNewReservation="" data-analytics-listingAction="" data-analytics-UMS-GUID="" | |
data-analytics-purchaseID="" data-analytics-productName="" data-analytics-productQuantity="" | |
data-analytics-productPrice="" data-analytics-inquiryId="" data-analytics-pageType="" | |
data-analytics-pageName="" data-analytics-visitorType="owner" data-analytics-testing="" | |
data-analytics-ppc=""> </div> |
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 (window, document, undefined) { | |
// Load a script and fire callback | |
function loadScript(url, callback) { | |
var cdn = document.createElement('script'); | |
cdn.type = 'text/javascript'; | |
cdn.async = true; | |
cdn.src = url; | |
cdn.onload = function () { | |
if (!cdn.onloadDone) { |
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 () { | |
var cdn = document.createElement('script'); | |
cdn.type = 'text/javascript'; | |
cdn.async = true; | |
cdn.src = '//sub.domain.com/shared/bootstrap/0.8.0.2/js/libs/gas-utils.js'; | |
var s = document.getElementsByTagName('script')[0]; | |
s.parentNode.insertBefore(cdn, s); | |
})(); | |
(function () { | |
webPropertyId = []; |
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
//Helper Functions | |
(function(window, document, undefined) { | |
window.gaGetParameterByName = function(name) { | |
var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); | |
return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | |
}; | |
window.gaGetElementsByClassName = function(e) { | |
var tags = this.all || this.getElementsByTagName('*'); |
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
tfuertes at ha001921 in ~ | |
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install uwsgi | |
==> Downloading http://projects.unbit.it/downloads/uwsgi-1.2.5.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/uwsgi-1.2.5.tar.gz | |
/usr/bin/tar xf /Library/Caches/Homebrew/uwsgi-1.2.5.tar.gz | |
==> python uwsgiconfig.py --build | |
python uwsgiconfig.py --build | |
using profile: buildconf/default.ini | |
detected include path: ['/usr/local/include', '/usr/include/libxml2', '/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/', '/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include', '/usr/include', '/System/Library/Frameworks', '/Library/Frameworks'] | |
configured CFLAGS: -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -arch x86_64 -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_BUILD_DATE="\"04 September 2012 08:52:26\"" -DUWSGI_HAS_IFADDRS -mmacosx-version-min=10.5 -DUWSGI_LOCK_USE_OSX_SPINLOCK -DUWSGI_EVENT_USE_KQUEUE -DUWS |
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
<script type="text/javascript"> | |
/* <![CDATA[ */ | |
var google_conversion_id = 1234567890; | |
var google_conversion_language = "en_US"; | |
var google_conversion_format = "1"; | |
var google_conversion_color = "666666"; | |
var google_conversion_label = "Purchase"; | |
/* ]]> */ | |
</script> | |
<script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> |
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
// 1: how could you rewrite the following to make it shorter? | |
foo ? bar.doSomething(el) : bar.doSomethingElse(el); | |
// 2: what is the faulty logic in the following code? | |
var foo = 'hello'; | |
(function() { | |
var foo = window.foo || 'world'; |
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
/** | |
* GOAL: Get the maximum allowed RUM data pushed into GA each day | |
* Use this formula if you're < 1,000,000 Pageviews / Day | |
* If you're > 1,000,000, disregard this whole thing as the GA auto samples at your capped 1% | |
* About Page Speed: https://support.google.com/analytics/answer/1205784?hl=en | |
* About _setSiteSpeedSampleRate: https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiBasicConfiguration#_gat.GA_Tracker_._setSiteSpeedSampleRate | |
*/ | |
var AVERAGE_DAILY_PAGEVIEWS = 100000; // Replace with your Average Daily Pageviews from Google Analytics |
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
<html> | |
<head> | |
<title>Foo Bar</title> | |
<!-- DATALAYER GOES HERE - JUST BEFORE </head> --> | |
<script>var datalayer = {foo:"bar"};</script> | |
</head> | |
</html> |
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
/** | |
* @preserve Copyright 2011, Cardinal Path and DigitalInc. | |
* | |
* GAS - Google Analytics on Steroids | |
* https://github.com/CardinalPath/gas | |
* | |
* @author Eduardo Cereto <eduardocereto@gmail.com> | |
* Licensed under the GPLv3 license. | |
*/ | |
(function(window, undefined) { |
OlderNewer