Skip to content

Instantly share code, notes, and snippets.


Matthias Gutjahr mattsches

View GitHub Profile
kriswallsmith / QSAListener.php
Created Aug 8, 2012
implements QSA on Symfony2 redirects
View QSAListener.php
use JMS\DiExtraBundle\Annotation as DI;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
/** @DI\Service */
class QSAListener
private $blacklist;
dennisfrank /
Created May 23, 2014
Shell script to import a remote database into local environment
# Import a remote database into a local database
# ----------------------------------------------
# Based on
# Don’t forget chmod +x to make the script executable.
# Change the extension to .command to run the script directly from OS X Finder.