Skip to content

Instantly share code, notes, and snippets.

View Schrank's full-sized avatar

Fabian Blechschmidt Schrank

View GitHub Profile
@Schrank
Schrank / varnish3.rb
Created September 28, 2017 11:05 — forked from klein0r/varnish3.rb
require 'formula'
class Varnish3 <Formula
url 'http://repo.varnish-cache.org/source/varnish-3.0.2.tar.gz'
homepage 'http://www.varnish-cache.org/'
sha256 '973f60625e9690e0989e1bbc73c37ea53fc6291b8f7b03d617b76f8084a4a243'
depends_on 'pkg-config' => :build
depends_on 'pcre' => :build
@Schrank
Schrank / 0_reuse_code.js
Created March 18, 2016 21:29
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Schrank
Schrank / Builder.php
Created September 15, 2012 15:47 — forked from mrflory/Builder.php
Twitter Bootstrap Twig Template for KnpMenuBundle in Symfony2
<?php
namespace Linkofy\CommonBundle\Menu;
use Knp\Menu\FactoryInterface;
use Symfony\Component\DependencyInjection\ContainerAware;
class Builder extends ContainerAware
{
public function mainMenu(FactoryInterface $factory, array $options)