I hereby claim:
- I am jkuchar on github.
- I am honzakuchar (https://keybase.io/honzakuchar) on keybase.
- I have a public key whose fingerprint is F7F9 6B1E 3BFF 9BA1 3E6E 9DD2 3CA7 4879 462B 47F2
To claim this, I am signing this object:
<?php | |
namespace jkuchar\Doctrine\DBAL\Driver\PDOPgSql; | |
use Doctrine\DBAL\Driver\PDOPgSql\Driver as DoctrineOriginalDriver; | |
/** | |
* Adds ability to set search path to PostgreSQL driver | |
* @package App\Doctrine |
{ | |
"require": { | |
"nette/application": "~2.3", | |
"nette/bootstrap": "~2.3" | |
} | |
} |
{ | |
"require": { | |
"nette/nette": "^2.3" | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
# @link https://gist.github.com/jkuchar/499cde5952caab68dcdbe6a28dd9309f | |
# @link http://blog.yohanliyanage.com/2015/05/docker-clean-up-after-yourself/ | |
# @link http://www.projectatomic.io/blog/2015/07/what-are-docker-none-none-images/ | |
# | |
# This will reclaim space and inodes used by stopped containers, dangling images and dangling volumes. | |
# I use this in GitLab CI multi runner with Docker version 1.13.0; should work with Docker >1.9.0 | |
# Currently I run this script every day in cron. | |
echo "Containers cleanup: removing exited containers" | |
docker rm -v $(docker ps -a -q -f status=exited) |
# NPM: cache | |
RUN npm config set cache /cache/.npm | |
# bower: cache | |
ENV bower_storage__packages /cache/.bower/packages | |
ENV bower_storage__registry /cache/.bower/registry | |
ENV bower_storage__links /cache/.bower/links | |
# YARN cache | |
RUN yarn config set cache-folder /cache/yarn |
/* Use Fira Code */ | |
/* in merge requests */ | |
.diff-file .diff-content table, | |
.diff-file .diff-content table .line_holder td, /* to properly override line-height and font-size */ | |
.file-content.code .line-numbers a, /* to align line numbers with lines of source */ | |
/* in file view */ | |
.file-content.code pre code | |
{ |
<?php | |
// https://3v4l.org/LDQ6i | |
// Arrange | |
$object = new SplFixedArray(2); | |
$object[0] = 'first-value'; | |
$object[1] = 'second-value'; | |
// Act | |
foreach ($object as $key1 => $val1) { |