Skip to content

Instantly share code, notes, and snippets.

View christianjul's full-sized avatar

Christian Jul Jensen christianjul

View GitHub Profile
{
"name": "justinrainbow/json-schema",
"description": "A library to validate a json schema.",
"keywords": ["json", "schema"],
"homepage": "https://github.com/justinrainbow/json-schema",
"type": "library",
"license": "NewBSD",
"version": "1.1.0",
"authors": [
{
"typo3/buildessentials":
"typo3/flow"
"typo3/flow-base-distribution"
"typo3/flow-composer-installers"
"typo3/fluid"
"typo3/kickstart"
"typo3/party"
"typo3/welcome"
"typo3/surf"
"typo3/typo3cr"
@christianjul
christianjul / gist:3844837
Created October 6, 2012 12:48
Using Composer with TYPO3 Flow now!

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 http://ci.typo3.robertlemke.net/job/composer-packages/ws/repository/packages.json. And http://jul.net/packages.json can be used as a shorthand for that.

so what you can do already now is this:

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

or put this in in your composer root-manifest:

@christianjul
christianjul / DostuffCommandController.php
Created October 6, 2012 09:32
Simple commandcontroller and aspect to demo how to use 3rd party components - and AOP on it - in TYPO3 Flow
<?php
namespace Julle\Demo\Command;
/* *
* This script belongs to the TYPO3 Flow package "Julle.Demo". *
* *
* */
use TYPO3\Flow\Annotations as Flow;
@christianjul
christianjul / stats.txt
Created September 11, 2012 13:00
TYPO3 Phoenix Copenhagen CodeSprint stats
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
christianjul / Installing FLOW3.md
Created September 9, 2012 20:40
Installing FLOW3 via Composer

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
christianjul / composer.json
Created September 9, 2012 11:54
FLOW3 Barebone manifest
{
"name": "christianjul/barebone-flow3",
"description" : "Barebone FLOW3 project",
"license": "GPL-3.0+",
"authors": [
{
"name": "Christian Jul Jensen",
"email": "julle@typo3.org"
}
],
@christianjul
christianjul / HTTP.php
Last active September 2, 2015 12:59
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
<?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
christianjul / safari-privacy-mode-session-storage-polyfill.js
Created February 2, 2014 17:18
Very generic but working implementation of session storage fallback for safari in privacy mode
submission = {
handle: function (event) {
event.preventDefault();
event.stopPropagation();
var id,
data,
storage = submission.getStorage(),
nextUrl;
data = storage.getItem('Opeepl');