Skip to content

Instantly share code, notes, and snippets.


Christian Jul Jensen christianjul

View GitHub Profile
christianjul / HTTP.php
Last active Sep 2, 2015
Version of PHPs parse_str and http_build_query that handles query strings with more than one parameter with the same identifier in the same way as .NET
View HTTP.php
namespace christianjul\util;
/** HTTP related utilities */
class HTTP {
* PHP's built-in parse_str cannot properly handle querystrings that have parameters with the same identifier.
christianjul / safari-privacy-mode-session-storage-polyfill.js
Created Feb 2, 2014
Very generic but working implementation of session storage fallback for safari in privacy mode
View safari-privacy-mode-session-storage-polyfill.js
submission = {
handle: function (event) {
var id,
storage = submission.getStorage(),
data = storage.getItem('Opeepl');
View gist:3945930
"name": "justinrainbow/json-schema",
"description": "A library to validate a json schema.",
"keywords": ["json", "schema"],
"homepage": "",
"type": "library",
"license": "NewBSD",
"version": "1.1.0",
"authors": [
View gist:3878490
christianjul / gist:3844837
Created Oct 6, 2012
Using Composer with TYPO3 Flow now!
View gist:3844837

Using TYPO3 Flow with composer now!

The TYPO3 packages has not yet been submitted to packagist, we want to make sure that everything is working as expected - including the recent name changes, before going official. we do however have our own composer repository available at And can be used as a shorthand for that.

so what you can do already now is this:

composer.phar create-project --repository-url="" typo3/flow-base-distribution TYPO3-Flow

or put this in in your composer root-manifest:

christianjul / DostuffCommandController.php
Created Oct 6, 2012
Simple commandcontroller and aspect to demo how to use 3rd party components - and AOP on it - in TYPO3 Flow
View DostuffCommandController.php
namespace Julle\Demo\Command;
/* *
* This script belongs to the TYPO3 Flow package "Julle.Demo". *
* *
* */
use TYPO3\Flow\Annotations as Flow;
christianjul / stats.txt
Created Sep 11, 2012
TYPO3 Phoenix Copenhagen CodeSprint stats
View stats.txt
TYPO3.FLOW3 60 files changed, 1476 insertions(+), 537 deletions(-)
TYPO3.TYPO3 215 files changed, 61986 insertions(+), 28698 deletions(-)
TYPO3.Admin 83 files changed, 1817 insertions(+), 1478 deletions(-)
TYPO3.TYPO3CR 11 files changed, 495 insertions(+), 76 deletions(-)
Sum : 369 files changed, 65774 insertions(+), 30789 deletions(-)
christianjul / Installing
Created Sep 9, 2012
Installing FLOW3 via Composer
View Installing

Please note: This is work in progress

FLOW3 is installable via Composer and excutable from the commandline with this fork, but has not been fully tested.

Most likely several things are broken. Also the package structure has changed, a migration tool will be provided

Installing FLOW3 with Composer

  1. Create an empty directory for your project
christianjul / composer.json
Created Sep 9, 2012
FLOW3 Barebone manifest
View composer.json
"name": "christianjul/barebone-flow3",
"description" : "Barebone FLOW3 project",
"license": "GPL-3.0+",
"authors": [
"name": "Christian Jul Jensen",
"email": ""