Skip to content

Instantly share code, notes, and snippets.

View robertlemke's full-sized avatar
😀

Robert Lemke robertlemke

😀
View GitHub Profile
@robertlemke
robertlemke / composer.json
Last active August 27, 2015 10:54
composer.json for the Neos base distribution (dev-master)
{
"name": "typo3/neos-base-distribution",
"description" : "Neos Base Distribution",
"license": "GPL-3.0+",
"support": {
"email": "hello@neos.io",
"slack": "http://slack.neos.io/",
"forum": "https://discuss.neos.io/",
"issues": "https://jira.neos.io/",
"source": "https://git.typo3.org/"
if (strlen($uriParts['host']) === 40 && strpos($uriParts['host'], '.') === FALSE) {
@robertlemke
robertlemke / functions.xml
Created September 25, 2014 12:28
Examples for inline JavaScript in ant
<?xml version="1.0"?>
<project name="Foo_Functions">
<!--
toLowerCase
Converts the given subject into a lower case string and puts the result into the specified user property.
Attributes:
subject The string to convert

Keybase proof

I hereby claim:

  • I am robertlemke on github.
  • I am robertlemke (https://keybase.io/robertlemke) on keybase.
  • I have a public key whose fingerprint is 2D05 AB0A 508A 5523 AEE8 117E C98E 229B 0B8F F50A

To claim this, I am signing this object:

#
# Regular template
#
page.body {
content.side = Template
content.side.templatePath = "… Main.html"
}
@robertlemke
robertlemke / nginx.conf
Created July 23, 2013 17:37
My very rudimentary nginx.conf file which I use for development on my Mac. I use a special setup with dnsmasq which redirects all URLs like foo.dev, foo.prod etc. to my localhost. I use Nginx in combination with PHP-FPM. You can do the same with Apache, see: https://gist.github.com/robertlemke/4951820
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
@robertlemke
robertlemke / gist:6006430
Created July 16, 2013 07:04
TYPO3 Flow Fallback Route
##
# Fallback route
-
name: 'fallback'
uriPattern: ''
defaults:
'@package': 'TYPO3.Flow'
'@subpackage': 'Mvc'
'@controller': 'Standard'
@robertlemke
robertlemke / httpd-vhosts.conf
Last active January 23, 2022 14:42
Apache Virtualhosts file for creating dynamic virtual hosts
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http:/httpd.apache.org/docs/2.2/vhosts/>
<?php
namespace TYPO3\Form\Factory;
/* *
* This script belongs to the FLOW3 package "TYPO3.Form". *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
* *
<?php
namespace TYPO3\FLOW3\Tests\Functional\Mvc;
/* *
* This script belongs to the FLOW3 framework. *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
* *