Skip to content

Instantly share code, notes, and snippets.

View pniederlag's full-sized avatar

Peter Niederlag pniederlag

View GitHub Profile
@pniederlag
pniederlag / Listing.md
Created January 13, 2016 14:51
TYPO3-Kommentarextensions

name; compat with typo3 ver; technology; latest commit; attach to news comments_plus; ??; extbase ; ~two years; ??? pw_comments; 7.2.99; extbase; 9 months; + comments; 6.1; pibase; 2013; + toc_toc_comments; ???; pibase; ???; +

Dummy Test Repo to test fabric/paramiko ssh_config problems
http://www.fabfile.org
fab hello
# should work without password prompt when you have a key on h12.niekom.de
@pniederlag
pniederlag / README.md
Last active August 29, 2015 14:24
Problems with composer on TYPO3 7.x

Composer install on Windows

Use the composer.json example on windows. In Addition to the composer manifest we provide a LocalConfiguration.php and AdditionalConfiguration with our provisioning. So the bootstrap is not in FIRST_INSTALL mode, maybe that's something that does have an influence? When we hit typo3/install to run DB compare to seed the database we do get:

Fatal error: Uncaught exception 'LogicException' with message 'No class loading information found for TYPO3 CMS. Please make sure you installed TYPO3 with composer or the typo3/contrib/vendor folder is present.' in ....

Note to self:

  • check wether dropping provisionde typo3conf/* items and adding FIRST_INSTALL does make a change
@pniederlag
pniederlag / README
Last active August 29, 2015 14:14
makeInstance adressing issue
Demonstrate the usage of makeInstance and/or php namespaces adressing background
@pniederlag
pniederlag / README.md
Last active August 29, 2015 13:57 — forked from agnoster/README.md
agnoster zsh theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

@pniederlag
pniederlag / 2col-gridelement-typoscript
Last active December 16, 2015 16:49
dynamic width 2-col gridelement
###################################
# gridelements setup for col-2 element
###################################
# copy default grid rendering into grid with id = 2
tt_content.gridelements_pi1.20.10.setup.2 < tt_content.gridelements_pi1.20.10.setup.default
tt_content.gridelements_pi1.20.10.setup.2.columns {
#default.wrap = <div class="span6">|</div>
default.dataWrap.cObject = CASE
default.dataWrap.cObject {
@pniederlag
pniederlag / openerp_setup_gist.py
Created June 29, 2012 07:28
automate openerp setup
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 29.03.2012
@author: pn
'''
import sys
import traceback
import argparse
@pniederlag
pniederlag / FormErrors.html
Created November 9, 2011 09:51
Partial FormErrors
<f:form.errors for="{for}">
<div class="f3-form-error">
<!-- Fehlercode: {error.code} -->
<f:if condition="{error.propertyName}">
<f:then>
<f:for each="{error.errors}" as="errorDetail">
<f:if condition="{errorDetail.errors}">
<f:then>
<f:for each="{errorDetail.errors}" as="propertyError">
@pniederlag
pniederlag / gerrit-anon.patch
Created June 24, 2011 06:47
gerrit: enable anon access with HTTP auth
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/Gerrit.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/Gerrit.java
index d0e5192..0b6605f 100644
--- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/Gerrit.java
+++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/Gerrit.java
@@ -492,6 +492,13 @@ public class Gerrit implements EntryPoint {
switch (cfg.getAuthType()) {
case HTTP:
case HTTP_LDAP:
+ menuRight.addItem(C.menuSignIn(), new Command() {
+ public void execute() {
@pniederlag
pniederlag / BaseController.php
Created June 23, 2011 13:35 — forked from naag/BaseController.php
Multiple argument validation in Extbase
<?php
class Tx_MyExt_Controller_BaseController extends Tx_Extbase_MVC_Controller_ActionController {
/**
* @see Tx_Extbase_MVC_Controller_ActionController::callActionMethod()
*/
protected function callActionMethod() {
$this->validateAll();
parent::callActionMethod();