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 | |
$post_data = $HTTP_RAW_POST_DATA; | |
$header[] = "Content-type: text/xml"; | |
$header[] = "Content-length: ".strlen($post_data); | |
$ch = curl_init( $_GET['url'] ); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_TIMEOUT, 10); |
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
#pragma strict | |
private var position : Vector2; | |
private var startPosition : Vector2; | |
private var guiButtonPressed : boolean = false; | |
private var relativeRotation : Vector2; | |
private var relativeMovement : Vector2; | |
private var textureSize : int = 75; |
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 loadContent(sources, callback) { | |
var contents = {}; | |
var loadedContents = 0; | |
var numContents = 0; | |
for (var src in sources) | |
numContents++; | |
for (var src in sources) { | |
$.getJSON(sources[src], function(data) { |
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 sw = 1680; | |
var sh = 1050; | |
function init() { | |
mainContainer = document.getElementById('container'); | |
slidesContainer = document.getElementById('slideshowcontainer'); | |
var loader = document.getElementById('preloader'); | |
if (loader) { |
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 | |
/* | |
* Implements hook_permission | |
*/ | |
function jonasdeherdt_permission() { | |
return array( | |
'administer jonasdeherdt module' => array( | |
'title' => t('Administer jonasdeherdt module'), | |
'description' => t('Perform admin tasks for this module'), |