# 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
<?php | |
echo "hallo welt"; | |
?> |
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 : '')); |
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
<?php | |
// Start Confixx backups | |
// Created by Johannes Würbach | |
// http://nerd20.de | |
/* SETTINGS */ | |
$confixx_user = "web123"; // Your username | |
$confixx_password = "your_password"; // Your password | |
$confixx_host = "your_host"; // Host of your confixx installation |
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
require "mysql" | |
require "json" | |
db_host = "" | |
db_user = "" | |
db_pass = "" | |
db_name = "" | |
# Test database conneciton | |
requests = 0 |
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 | |
# | |
# Forked from http://pastebin.com/WpRpaLAn | |
require 'fileutils' | |
# Settings | |
dvdLibPath = "/System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback" | |
search = "Internal" | |
replace = "External" |
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 "rubygems" | |
require "thor" | |
require "pty" | |
class LazyExtract < Thor | |
desc "extract archive", "lazy extract an archive" | |
method_option :password, :aliases => "-p", :desc => "Password for protected archives." | |
method_option :verbose, :default => false, :aliases => "-v", :desc => "Print unrar output." |
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
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:250: [BUG] Segmentation fault | |
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux] | |
-- Control frame information ----------------------------------------------- | |
c:0050 p:0010 s:0214 b:0212 l:000196 d:000211 BLOCK /home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:250 | |
c:0049 p:---- s:0208 b:0208 l:000207 d:000207 FINISH | |
c:0048 p:---- s:0206 b:0206 l:000201 d:000205 IFUNC | |
c:0047 p:---- s:0204 b:0204 l:000203 d:000203 CFUNC :each | |
c:0046 p:---- s:0202 b:0202 l:000201 d:000201 CFUNC :inject | |
c:0045 p:0252 s:0198 b:0197 l:000196 d:000196 METHOD /home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:250 |
OlderNewer