View make-responsive.scss
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
// Based on Twitter Bootstrap Mixins | |
@mixin make-responsive($prefix, $breakpoints: $grid-breakpoints) { | |
@each $breakpoint in map-keys($breakpoints) { | |
$infix: breakpoint-infix($breakpoint, $breakpoints); | |
@if $infix != "" { | |
@include media-breakpoint-down($breakpoint, $breakpoints) { | |
#{$prefix}#{$infix}-down { | |
@content; |
View SimpleArrayTraversable.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 | |
class SimpleArrayTraversable implements \IteratorAggregate | |
{ | |
private $data; | |
public function __construct($a, $b, $c) | |
{ | |
$this->data = [$a, $b, $c]; | |
} |
View redirect
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
https://github.com/tarifhaus/doctrine-nullable-embeddable |
View TariffContext.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 | |
declare(strict_types=1); | |
namespace Thengine\Behat\Context\Domain\Tariff\Model; | |
use Behat\Behat\Context\Context; | |
use Thengine\Domain\Tariff\Model\Tariff; | |
use Thengine\Domain\Tariff\Model\TariffCategory; | |
use Thengine\Domain\Tariff\Exception\CannotRemoveCategoryException; |
View .gitconfig
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
[alias] | |
latest-version = "!git tag --sort=v:refname | tail -n1" |
View ZendKernel.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 | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; | |
use Symfony\Component\HttpKernel\HttpKernelInterface; | |
use Symfony\Component\HttpKernel\TerminableInterface; | |
use Symfony\Component\Routing\Exception\ResourceNotFoundException; | |
class ZendKernel implements HttpKernelInterface, TerminableInterface |
View diesel-preis.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 | |
<<<CONFIG | |
packages: | |
- "fabpot/goutte: ^3.1" | |
- "symfony/console: ^3.1" | |
CONFIG; | |
use Goutte\Client; | |
use Symfony\Component\Console\Input\ArrayInput; |
View zshrc
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
weather () { | |
CITY=${1-"Penzberg"} | |
curl "http://wttr.in/${CITY}" | |
} |
View cs-fixer.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
@@ -37,7 +37,7 @@ final class MailHandler implements HandlerInterface | |
* | |
* @param \Swift_Mailer $mailer | |
* @param \Twig_Environment $twig | |
- * @param string|array $fromAddress The reply-to address is derived from this value, by default. | |
+ * @param string|array $fromAddress The reply-to address is derived from this value, by default | |
*/ | |
public function __construct(\Swift_Mailer $mailer, \Twig_Environment $twig, $fromAddress) | |
{ | |
Stage this hunk [y,n,q,a,d,/,e,?]? n |
View clean-composer-vendors.sh
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
#!/bin/bash | |
find . -type f -name composer.json -maxdepth 4 -exec dirname {} \; | \ | |
xargs -I{} find {} -type d -name vendor -maxdepth 1 | \ | |
xargs rm -Rf |
NewerOlder