Skip to content

Instantly share code, notes, and snippets.

import React from 'react';
import { Provider } from 'react-redux';
import { Router, Route } from 'react-router';
import { reduxRouteComponent } from 'redux-react-router';
import { checkAuthentication } from '../actions/AuthActions.js';
import Root from './Layout/Root';
import Dashboard from './Dashboard';
@merk
merk / fastcgi_params
Last active August 29, 2015 14:06
Development NGINX config
# Added to the end of fastcgi_params
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
<?php
/**
* This file is part of the Infinite SSO project.
*
* (c) Infinite Networks Pty Ltd <http://www.infinite.net.au>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
@merk
merk / Enabled.php
Last active November 18, 2015 02:01
Example Specification pattern implementation
<?php
/**
* This file is part of the Infinite SSO project.
*
* (c) Infinite Networks Pty Ltd <http://www.infinite.net.au>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
@merk
merk / keybase.md
Created April 24, 2014 08:50
Keybase proof

Keybase proof

I hereby claim:

  • I am merk on github.
  • I am merk (https://keybase.io/merk) on keybase.
  • I have a public key whose fingerprint is F4E4 2234 7410 47A2 4D93 1FC3 4D1E 3CE7 61C8 C2C6

To claim this, I am signing this object:

@merk
merk / PlanActiveVoter.php
Created March 23, 2014 22:40
Example Voter
<?php
/**
* This file is part of the X project.
*
* (c) Infinite Networks Pty Ltd <http://www.infinite.net.au>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
@merk
merk / Timestampable.php
Created February 9, 2014 22:37
Timestampable trait
<?php
/**
* This file is part of the Infinite CommonBundle project.
*
* (c) Infinite Networks Pty Ltd <http://www.infinite.net.au>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
@merk
merk / AppKernel.php
Last active May 16, 2019 16:42
Overridden GlobalVariables object to add more to the twig {{ app }} global variable
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
// ....
protected function getKernelParameters()
@merk
merk / FormFactoryTrait.php
Created November 22, 2013 11:37
FormFactoryTrait
<?php
/**
* This file is part of the Infinite Helper library
*
* (c) Infinite Networks Pty Ltd <http://www.infinite.net.au>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
@merk
merk / Timestampable.php
Created September 16, 2013 03:15
Timestampable trait
<?php
/**
* This file is part of the Infinite Helper Library
*
* (c) Infinite Networks Pty Ltd <http://www.infinite.net.au>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/