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 updateUser ($userID,$userData) { | |
$salt = $this::MD5_SALT; | |
if ($userData['password']=!"") { | |
$password = md5("{$salt}:{$userData['password']}"); | |
$SQL = | |
"UPDATE `tblUsers` | |
SET `username`=?, `password`=?, `group`=? `access`=? | |
WHERE `user_id`=?;"; | |
} else { | |
$SQL = |
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> | |
<!-- // Timeout for reloading the fucking shit. | |
var repeatTimer = 3000; | |
var timer = false; | |
$(document).ready(function(){ | |
$(window).bind("focus",function(event){ | |
if (repeatTimer!=3000) { | |
repeatTimer = 3000; | |
timer = setTimeout(function(){load()},repeatTimer); | |
} |
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
public int Log(string channel="local", int index=1) | |
{ | |
if (channel == "") return 0; | |
try | |
{ | |
FileInfo lastUpdatedFile = GetLastUpdatedFileInDirectory(channel); | |
if (lastUpdatedFile == null) | |
{ | |
MessageBox.Show("Unable to locate gamelogs", "Couldn't Find File"); | |
return 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
<?php | |
class dbLayer { | |
private $hostname; | |
private $username; | |
private $password; | |
private $dbname; | |
private $current_query; | |
private $validQuery; // while not perfect should be good enough to say if we have chosen a starter and finisher atleast. |
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 | |
class dbLayer { | |
private $hostname; | |
private $username; | |
private $password; | |
private $dbname; | |
private $current_query; | |
private $validQuery; // while not perfect should be good enough to say if we have chosen a starter and finisher atleast. |
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 | |
/* * | |
* @filename downloader.class.php | |
* @author PsyKzz | |
* @version 1.0.0 | |
* @description Simple class to rate limit your downloads, while also providing a custom tickrate to combat timeout issues. | |
* @url http://www.psykzz.co.uk | |
* | |
* @license 'WTFPL ' - "Do What The Fuck You Want To Public License". | |
* This program is free software. It comes without any warranty, to |
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
#include <stdio.h> | |
int main(int argc, const char * argv[]) | |
{ | |
int number, right_digit; | |
printf("Enter your Number: "); | |
scanf("%i", &number); | |
do { |
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
// | |
// main.m | |
// p91e2 | |
// | |
// Created by David Gardiner on 25/09/2012. | |
// Copyright (c) 2012 David Gardiner. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
//Configurational Defines. | |
#define EVAC_HELI "Mi17_Civilian" | |
_wait = 2; | |
// Functions | |
FNC_moveToAndLand = { | |
private ["_heli","_dest"]; | |
_heli = _this select 0; | |
_evacHeli = _this select 1; | |
_dest = _this select 2; |
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
//Configurational Defines. | |
#define EVAC_HELI "MH6J_EP1" | |
_wait = 2; | |
// Functions | |
FNC_moveToAndLand = { // USAGE : _evacHeli, _Destination] call FNC_moveToAndLand; | |
private ["_heli","_dest","_pilot"]; | |
_evacHeli = _this select 0; | |
_dest = _this select 1; | |
_pilot = (crew _evacHeli select 0); |
OlderNewer