This file contains hidden or 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 | |
class SQLQuery { | |
public $query = ""; | |
private $allowed_query_types = array( | |
'insert' | |
, 'delete' | |
, 'update' | |
, 'select' | |
); |
This file contains hidden or 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
| 1684 | 275.96 | -13.04 | | |
| 1685 | 39.22 | -0.54 | | |
| 1686 | pitch | yaw | | |
| 1687 | pitch | yaw | | |
| 1691 | pitch | yaw | | |
| 1689 | pitch | yaw | | |
| 1690 | pitch | yaw | | |
| 1692 | pitch | yaw | | |
| 1694 | pitch | yaw | | |
| 1695 | pitch | yaw | |
This file contains hidden or 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
$("#brandmenu div").click(function(){ | |
var newBackground = $(this).attr("background"); | |
var backgroundString = "transparenet url (img/" + newBackground + ") top left no-repeat"; | |
$("body").css("background", backgroundString); | |
if(newBackground == "intel_2a_1.png") { | |
$("#breakoutSession").show(); | |
} else { | |
$("#breakoutSession").hide(); |
This file contains hidden or 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 | |
function hash_password($password, $salt = false) { | |
if(!$salt) { | |
$gen_salt = generate_random_string(); | |
$hashed['salt'] = '$6$rounds=150000$' . $gen_salt . '$'; | |
} else { | |
$hashed['salt'] = '$6$rounds=150000$' . $salt . '$'; | |
} |
This file contains hidden or 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 // BRAD | |
$numbers = array("1", "2", "3", "4", "5"); | |
function array_print($values) { | |
$array = array_reverse($values); | |
print_values($array); | |
} | |
function print_values($array) { | |
echo array_pop($array); |
This file contains hidden or 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 | |
define("ALTERNATE_LANGUAGE_DIRECTORY", "sp"); | |
$referer = $_SERVER['HTTP_REFERER']; | |
$redirect = create_redirect($referer); | |
header("Location: $redirect"); | |
function create_redirect($referer) { |
NewerOlder