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
# .---------------- minute (0 - 59) | |
# | .------------- hour (0 - 23) | |
# | | .---------- day of month (1 - 31) | |
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ... | |
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat | |
# | | | | | | |
# * * * * * command to be executed |
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 <cstdlib> | |
#include <cmath> | |
#include <limits> | |
double generateGaussianNoise(double mu, double sigma) | |
{ | |
const double epsilon = std::numeric_limits<double>::min(); | |
const double two_pi = 2.0*3.14159265358979323846; | |
static double z0, z1; | |
static bool generate; |
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 sendData(url) { | |
function remove() { | |
img = null; | |
} | |
var img = new Image(); | |
img.onerror = remove; | |
img.onload = remove; | |
img.src = url; | |
} |
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 | |
/** | |
* Main class that interacts with the EscapiaAPI. | |
*/ | |
class EscapiaAPI { | |
const API_VERSION = '1.030'; | |
const MAX_RESPONSES = 10000; | |
const SOAP_NAMESPACE = 'http://www.escapia.com/EVRN/2007/02'; |