Skip to content

Instantly share code, notes, and snippets.

phpunit:
[exec] > php -d newrelic.enabled=off ****.com/vendor/bin/phpunit -c ****.com/phpunit-prod.xml --log-junit build/logs/phpunit-report.xml
[exec] PHPUnit 9.1.4 by Sebastian Bergmann and contributors.
[exec]
[exec] ............................................................... 63 / 310 ( 20%)
[exec] ............................................................... 126 / 310 ( 40%)
[exec] ............................................................... 189 / 310 ( 60%)
[exec] ................................I.....EEEEEEEEEEEEEEEEE.E.EEEEE 252 / 310 ( 81%)
[exec] EEEEEEEE.EEEEEEEEE.EEEEEEEEEEEEEEEE.....EEEEEEFFEEFFEE.... 310 / 310 (100%)
[exec]
@dada-amater
dada-amater / fid-remove.js
Created April 20, 2017 20:00 — forked from milo/fid-remove.js
Flash message _fid parameter remove.
(function (w, timeout) {
setTimeout(function () {
var url = w.location.toString();
if (w.history && w.history.replaceState && url.indexOf('_fid=') !== -1) {
w.history.replaceState({}, null, /[?&]_fid=[^&]+$/.test(url)
? url.replace(/[?&]_fid=[^&]+/, '')
: url.replace(/([?&])_fid=[^&]+&/, '$1')
);
}
}, timeout || 2000);
@dada-amater
dada-amater / gist:9962910
Created April 3, 2014 21:05
Nette Cache for parallel kies
<?php
namespace Nette\Caching;
use Nette;
/**
* Implements the cache for a application.
*