View apache-2.2-mod_remoteip.c
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
/* Licensed to the Apache Software Foundation (ASF) under one or more | |
* contributor license agreements. See the NOTICE file distributed with | |
* this work for additional information regarding copyright ownership. | |
* The ASF licenses this file to You under the Apache License, Version 2.0 | |
* (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
View gist:5825777
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/Composer/DependencyResolver/RuleSetGenerator.php b/src/Composer/DependencyResolver/RuleSetGenerator.php | |
index b40ce1a..2255c36 100644 | |
--- a/src/Composer/DependencyResolver/RuleSetGenerator.php | |
+++ b/src/Composer/DependencyResolver/RuleSetGenerator.php | |
@@ -12,6 +12,7 @@ | |
namespace Composer\DependencyResolver; | |
+use Composer\Package\LinkConstraint\MultiConstraint; | |
use Composer\Package\PackageInterface; |
View gist:7372480
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 | |
// ... see http://symfony.com/doc/current/components/console/introduction.html#creating-a-basic-command | |
namespace Acme\DemoBundle\Command; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputArgument; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Bridge\Monolog\Handler\ConsoleHandler; |
View gist:7590059
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
LoadModule rpaf_module modules/mod_rpaf.so | |
<IfModule mod_rpaf.c> | |
RPAF_Enable On | |
RPAF_ProxyIPs 10.0.0.0/8 | |
RPAF_SetPort On | |
RPAF_SetHTTPS On | |
</IfModule> |
View phpunit.xsd
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
- Defines a xml schema for PHPUnit xml configuration files as described in | |
- the official PHPUnit documentation at: | |
- http://www.phpunit.de/manual/current/en/appendixes.configuration.html | |
- | |
- @author Matthias Molitor <matthias@matthimatiker.de> | |
- @version $Rev: 371 $ | |
- @since 02.03.2011 | |
--> |
View RepositoryTestHelper.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
<?php | |
namespace Webfactory\Bundle\PagesBundle\Tests; | |
use Doctrine\ORM\Tools\Setup; | |
use Doctrine\ORM\EntityManager; | |
use Doctrine\ORM\Tools\SchemaTool; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Doctrine\Common\Persistence\ObjectRepository; |
View Portfile
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
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 | |
# $Id: $ | |
PortSystem 1.0 | |
PortGroup php 1.1 | |
name php-APCu | |
version 4.0.4 | |
categories php devel |
View gulpfile.js
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
var phlough = require("./conf/phlough-configuration.json"); | |
var gulp = require('gulp'); | |
var $ = require('gulp-load-plugins')(); /// lädt alle gulp-*-Module in $.* | |
var mergeStream = require('merge-stream'); | |
var path = require('path'); | |
var saveLicense = require('uglify-save-license'); | |
var autoprefixer = require('autoprefixer'); | |
var config = { |
View 0004-oversize-dns.diff
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
--- qmail-1.03/dns.c.103 Mon Aug 17 16:06:58 1998 | |
+++ qmail-1.03/dns.c Wed Aug 26 16:28:56 1998 | |
@@ -21,10 +21,12 @@ | |
static unsigned short getshort(c) unsigned char *c; | |
{ unsigned short u; u = c[0]; return (u << 8) + c[1]; } | |
-static union { HEADER hdr; unsigned char buf[PACKETSZ]; } response; | |
+static struct { unsigned char *buf; } response; | |
+static int responsebuflen = 0; | |
static int responselen; |
View phpstorm-init-vcs-roots
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
#!/usr/bin/env php | |
<?php | |
print <<<HEAD | |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="VcsDirectoryMappings"> | |
HEAD; |
OlderNewer