# This example does an AJAX lookup and is in CoffeeScript
$('.typeahead').typeahead(
# source can be a function
source: (typeahead, query) ->
# this function receives the typeahead object and the query string
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 | |
if [ -z "${SAUCE_USERNAME}" ] || [ -z "${SAUCE_ACCESS_KEY}" ]; then | |
echo "This script can't run without your Sauce credentials" | |
echo "Please set SAUCE_USERNAME and SAUCE_ACCESS_KEY env variables" | |
echo "export SAUCE_USERNAME=ur-username" | |
echo "export SAUCE_ACCESS_KEY=ur-access-key" | |
exit 1 | |
fi | |
SAUCE_TMP_DIR="$(mktemp -d -t sc.XXXX)" |
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 | |
if [ -z "${SAUCE_USERNAME}" ] || [ -z "${SAUCE_ACCESS_KEY}" ]; then | |
echo "This script can't run without your Sauce credentials" | |
echo "Please set SAUCE_USERNAME and SAUCE_ACCESS_KEY env variables" | |
echo "export SAUCE_USERNAME=ur-username" | |
echo "export SAUCE_ACCESS_KEY=ur-access-key" | |
exit 1 | |
fi | |
SAUCE_TMP_DIR="$(mktemp -d -t sc.XXXX)" |
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
// Conventions: | |
// We use angles in degrees in clock-wise fashion | |
RobotHelpers = {}; | |
MathHelpers = {}; | |
RobotHelpers.cannon_rotation_direction = {}; | |
RobotHelpers.shoot = {}; | |
RobotHelpers.target = {}; | |
RobotHelpers.moving_direction = {}; |
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 OA_output = new Array(); | |
OA_output['applifier_bar'] = ''; | |
OA_output['applifier_bar'] += "<"+"div id=\'ox_789690cfb745a99a6d31e30dec8311b2\' style=\'display: inline;\'><"+"img src=\'https://lbopx.plinga.de/www/images/1x1.gif\' alt=\'\' title=\'\' border=\'0\' /><"+"/div>\n"; | |
OA_output['applifier_bar'] += "<"+"script type=\'text/javascript\'><"+"!--// <"+"![CDATA[\n"; | |
OA_output['applifier_bar'] += "var ox_swf = new FlashObject(\'https://plopx.s3.amazonaws.com/120301_FB_FF_120x520_ag.swf\', \'Advertisement\', \'120\', \'520\', \'4\');\n"; | |
OA_output['applifier_bar'] += "ox_swf.addParam(\'allowScriptAccess\',\'always\');\n"; | |
OA_output['applifier_bar'] += "ox_swf.write(\'ox_789690cfb745a99a6d31e30dec8311b2\');\n"; | |
OA_output['applifier_bar'] += "if (ox_swf.installedVer.versionIsValid(ox_swf.getAttribute(\'version\'))) { document.write(\"<"+"div id=\'beacon_4aeeb2a197\' style=\'position: absolute; left: 0px; top: 0px; visibility: hidden;\'><"+"img src=\'https://lbopx.plinga.de/www/delivery/lg.php?bannerid=5473&a |
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 getOpenXBannerCode(oXZones,plingaApi) { | |
var oXLoc=(location.protocol=='https:'?'https':'http') + "://lbopx.plinga.de/www/delivery/spc.php"; | |
var oXZoneIds =''; | |
$.each(oXZones, function(key, value) { | |
oXZoneIds += escape(key+'=' + value + "|"); | |
}); | |
oXLoc += "?zones="+oXZoneIds; | |
oXLoc += (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : '')); |