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
def cmd_evedata(self, charName): | |
# Get character ID and then data. | |
charID = self.eve_getID(charName) | |
print "char id is .... %s" % charID | |
if charID == 0: | |
self._send_message("- Character ( %s ) Not Found." % charName) | |
else: | |
charData = self.eve_getCharData(charID) | |
self._send_message("- %s" % charData) | |
return |
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
package com.goon.fleet; | |
import android.annotation.SuppressLint; | |
import android.app.Activity; | |
import android.content.ComponentName; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.ServiceConnection; | |
import android.content.SharedPreferences; | |
import android.os.Bundle; |
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
<? | |
$ids = (isset($_REQUEST['ids']))?$_REQUEST['ids']:false; | |
if(!$ids || $ids=="") | |
die('API - LocationID to Name conversion, supply comma seperated list of location IDs returns results as json.'); | |
$idList = explode(",", $ids); // Create an array to work with. | |
array_unique($idList); // Remove duplicates | |
function sortArray(&$val){$val=intval($val);} | |
array_walk($idList, "sortArray"); | |
$ids = implode(",", $idList); // Convert back to string list. | |
$mysqli = new mysqli('localhost', 'user', 'pass', 'dbname'); |
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
package userdata; | |
import java.util.*; | |
import java.text.*; | |
public class ClockingIn { | |
public static void main(String[] args) | |
{ | |
ClockingIn clockingIn = new ClockingIn(); |
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
<? | |
error_reporting(E_ALL & ~E_NOTICE); | |
define("ALE_DIR","./ale/factory.php"); | |
require_once(ALE_DIR); | |
$keyID = "80085"; | |
$vCode = "GSPEEF4EI8NMSL20UPU1REALLY2THINK3I4WOULD5GIVE6YOU7MY8KEYI1LCMGZ7MUDUD"; | |
$charID = "1365215823"; | |
function sortByDate($a, $b) { | |
$d1 = new DateTime($a['date']); | |
$d2 = new DateTime($b['date']);# |
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
<? | |
$url = "http://api.eve-online.com/Server/ServerStatus.xml.aspx"; | |
$xml = simplexml_load_file(file_get_contents($url)); | |
$serverUp= (bool)$xml->result->serverOpen; | |
echo ($serverUp)?"Server online :)":"Server offline :("; |
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
<? | |
$dayzBeltItems = array( | |
"ItemCompass"=>"compass", | |
"ItemEtool"=>"entrenchment tool", | |
"ItemFlashlight"=>"flashlight", | |
"ItemGPS"=>"GPS", | |
"ItemKnife"=>"Knife", | |
"ItemMap"=>"map", | |
"ItemMatchbox"=>"matchbox", | |
"ItemFlashlightRed"=>"Military Flashlight", |
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
//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); |
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
//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; |