This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
use Symfony\Component\DependencyInjection\Definition; | |
use Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\HttpFoundation\Request; | |
$autoloader = require_once __DIR__ . '/vendor/autoload.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php | |
index 2bd0750..3a1385c 100644 | |
--- a/src/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php | |
+++ b/src/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php | |
@@ -12,10 +12,9 @@ | |
namespace Symfony\Component\EventDispatcher\Tests; | |
use Symfony\Component\EventDispatcher\Event; | |
-use Symfony\Component\EventDispatcher\EventDispatcher; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_expire_cache(). | |
* | |
* Expire cache support for the builtin cache handler. | |
*/ | |
function authcache_builtin_expire_v2_expire_cache($urls, $wildcards, $object_type, $object) { | |
$cids = array(); | |
$wildcard_cids = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def contract(g, f): | |
""" | |
Returns a directed acyclic graph with all vertices from the input DAG for | |
which f() returns True. | |
""" | |
vertices = [v for v in g.keys() if f(v)] | |
result = defaultdict(set, ((v, set()) for v in vertices)) | |
stack = zip(vertices, vertices) | |
while len(stack): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stretch | |
# Install basic build dependencies | |
RUN apt-get update && apt-get -y install \ | |
autoconf automake build-essential git libtool python-minimal | |
RUN mkdir -p /src | |
# Build libdpx | |
WORKDIR /src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:7 | |
RUN yum makecache fast && yum groupinstall -y 'Development Tools' | |
RUN mkdir -p /src | |
# Build libdpx | |
WORKDIR /src | |
RUN git clone https://github.com/PatrickPalmer/dpx.git | |
WORKDIR /src/dpx |