View Caddyfile
:80 {
root /serve
}
View .gitlab-ci.yml
services:
- docker:dind
variables:
DOCKER_DRIVER: overlay2
build-test-containers:
image: tiangolo/docker-with-compose
before_script:
- docker info
View BC-BREAKS.txt
[BC] REMOVED: Method Doctrine\ORM\ORMException::missingMappingDriverImpl() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::namedQueryNotFound() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::namedNativeQueryNotFound() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::entityMissingForeignAssignedId() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::entityMissingAssignedIdForField() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::unrecognizedField() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::unexpectedAssociationValue() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::invalidOrientation() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::invalidFlushMode() was removed
[BC] REMOVED: Method Doctrine\ORM\ORMException::entityManagerClosed() was removed
View example.php
<?php
use Zend\Diactoros\Response;
use Zend\Diactoros\Server;
use Zend\Stratigility\MiddlewarePipe;
use function Zend\Stratigility\middleware;
require 'vendor/autoload.php';
$app = new MiddlewarePipe();
View NameResolvingParser.php
<?php
declare(strict_types=1);
namespace Roave\BetterReflection\SourceLocator\Ast\Parser;
use PhpParser\ErrorHandler;
use PhpParser\NodeTraverser;
use PhpParser\NodeTraverserInterface;
use PhpParser\NodeVisitor\NameResolver;
View output.txt
/usr/bin/php /home/ocramius/Documents/roave/ApiCompare/bin/api-compare api-compare:compare --from=v2.6.0 --to=master lib/Doctrine/ORM/Mapping/
Comparing from 83cb274a7a4d7dcef9133f6d7973f132b140efd3 to 50da42f2f472a705586a2803f9acbb991b8db0a2...
Loading composer repositories with package information
Updating dependencies
Package operations: 10 installs, 0 updates, 0 removals
- Installing doctrine/lexer (v1.0.1): Loading from cache
- Installing doctrine/annotations (v1.6.0): Loading from cache
- Installing doctrine/cache (v1.7.1): Loading from cache
- Installing doctrine/collections (v1.5.0): Loading from cache
- Installing doctrine/inflector (v1.3.0): Loading from cache
View ImmutableClassGenerator.php
<?php
namespace GoetasWebservices\Xsd\XsdToPhp\Php;
use GoetasWebservices\Xsd\XsdToPhp\Php\Structure\PHPClass;
use GoetasWebservices\Xsd\XsdToPhp\Php\Structure\PHPProperty;
use Zend\Code\Generator\ClassGenerator;
use Zend\Code\Generator\DocBlock\Tag\VarTag;
use Zend\Code\Generator\DocBlockGenerator;
use Zend\Code\Generator\MethodGenerator;
View Caddyfile
{$CADDY_WEB_HOST}:443 {
proxy / the-webserver.internal-network:80
tls self_signed
}
{$CADDY_WEB_HOST}:80 {
redir https://{$CADDY_WEB_HOST}{uri}
}
View example.php
<?php declare(strict_types=1);
require_once "✨.🐘";
✨($_)->strlen("foo")->var_dump($_);
View whiteboardCleaner.md

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results