Skip to content

Instantly share code, notes, and snippets.

View jhKISS's full-sized avatar

Johannes Habermaas jhKISS

View GitHub Profile
<?php
namespace App\Security;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS and IE text size adjust after device orientation change,
* without disabling user zoom.
*/
html {
font-family: sans-serif; /* 1 */
@jhKISS
jhKISS / code.sh
Last active August 29, 2015 14:22
Symfony2 Standard Composer Configuration => https://github.com/jhKISS/hugeHzFiles
#!/bin/bash
# 2015-05-29
# Symfony 2.3 LTS Standard Installation with Modifications
# Requirements
# 1. Start this script in the parent folder of $rootPathName.
# 2. Choose the value of $rootPathName with PSR in mind.
# 3. The composer.json.template should be modified to fit to the current usage.
# 4. Composer is globally installed.
# 5. The MySQL Database of the new Web Application and the right MySQL User sre created.