I hereby claim:
- I am dan2k3k4 on github.
- I am dan2k3k4 (https://keybase.io/dan2k3k4) on keybase.
- I have a public key ASD9fx8QAi-IoBSQQ0_ybQk8QUKn4-LasTWxcMA9LC99tgo
To claim this, I am signing this object:
#!/usr/bin/php | |
<?php | |
/** | |
* .git/hooks/post-commit | |
* | |
* This post-commit hook is just for fun. | |
* Set up your central repository then set the post-commit hook into your other repositories that you want to log | |
* | |
* @author dan2k3k4 http://github.com/dan2k3k4 | |
* @since April 29 2014 |
// This is the rawData, key'd by date | |
$dataKey = sha1(serialize($config) . date('d m Y H')); | |
// testing, no cache | |
$this->cacheService->removeItem($dataKey); | |
// Use cacheService | |
if (!$data = $this->cacheService->getItem($dataKey)) { | |
$data = $this->weatherService->fetchWeatherData($config); | |
$data = json_encode($data); | |
$this->cacheService->setItem($dataKey, $data); |
I hereby claim:
To claim this, I am signing this object:
#!/usr/local/bin/php | |
<?php | |
/** | |
* Just a quick script for Headless Chrome testing | |
*/ | |
if (!is_dir('tests-visual')) { | |
mkdir('tests-visual', 0777); | |
} |
version: '2' | |
services: | |
api: | |
volumes: | |
- "nfsmount:${CONTAINER_DIR}" | |
volumes: | |
nfsmount: | |
driver: local | |
driver_opts: |
{"lastUpload":"2020-03-10T11:26:13.594Z","extensionVersion":"v3.4.3"} |