I hereby claim:
- I am andho on github.
- I am andho (https://keybase.io/andho) on keybase.
- I have a public key ASAK0Wy7c3kXgiZBiFeQNNcXCpQEMQbHCR3dhlAeQgEFUwo
To claim this, I am signing this object:
<?php | |
use Monolog\Handler\NullHandler; | |
use Monolog\Handler\StreamHandler; | |
use Monolog\Handler\SyslogUdpHandler; | |
return [ | |
/* | |
|-------------------------------------------------------------------------- |
I hereby claim:
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1ANvqvSYdjiDDFh5YAMMHJRnrWrgmSBoM9 https://explorer.blockstack.org/address/1ANvqvSYdjiDDFh5YAMMHJRnrWrgmSBoM9 |
FROM ubuntu:16.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && apt-get install -y \ | |
git \ | |
g++ make binutils autoconf automake autotools-dev libtool pkg-config \ | |
zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev \ | |
libjemalloc-dev cython python3-dev python-setuptools |
<?php | |
$defaults = array( | |
'month' => 'january', | |
'day' => 1, | |
'hour' => 0, | |
'minute' => 0, | |
'second' => 0 | |
); |
<?php | |
if(isset($_POST['submit'])) | |
{ | |
if(isset($_POST['offdays'])) | |
{ | |
//$off is set through the config settings// | |
$shift = $_POST['shift']; | |
$from = $_POST['from']; | |
$to = $_POST['to']; |
$sql = ("UPDATE schedule SET Shift_ID = '$shift' WHERE (`Date` BETWEEN '$from' AND '$to') AND (Emp_ID = '$emp_id')"); | |
if(!$result_shift_update_query = $mysqli->query($sql)) | |
{ | |
echo "INSERT ERROR 1 HERE"; | |
} | |
echo "Shift UPDATE SQL: " . $sql . "<br><br>";//error checking | |
$sql = ("SELECT `Date` FROM schedule WHERE (`Date` BETWEEN '$from' AND '$to') AND (Emp_ID = '$emp_id')"); | |
/** | |
* Invokes a matcher or proxies the method call to the intercepted object | |
* magic call method, if one exists | |
* | |
* @param string $method | |
* @param array $args | |
* @return boolean|mixed | |
*/ | |
public function __call($method, $args) |
<?php | |
$params = array( | |
'query' => 'something', | |
'page' => 1, | |
'items' => 10 | |
); | |
$url = 'http://someapi.com/search'; |
{ | |
"require": { | |
"phpunit/phpunit": "=3.5" | |
} | |
} |