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
| config.tx_extbase { | |
| persistence{ | |
| classes { | |
| Tx_Foo_Domain_Model_ContentElement { | |
| # define the subclasses | |
| subclasses { | |
| Tx_Foo_Domain_Model_Ce1 = Tx_Foo_Domain_Model_Ce1 | |
| Tx_Foo_Domain_Model_Ce2 = Tx_Foo_Domain_Model_Ce2 | |
| } | |
| mapping { |
| <?php | |
| class Tx_Polarmedia_Controller_MediaController extends Tx_Extbase_MVC_Controller_ActionController { | |
| /** | |
| * @var defaultViewObjectName use custom extended Tx_Fluid_View_TemplateView | |
| */ | |
| protected $defaultViewObjectName = 'Tx_Pnutility_View_VariantView'; | |
| public function teaserAction() { | |
| $variant = $this->settings['variant']); // or anything else(userState...) |
| <?php | |
| class Tx_Pnphptal_MVC_Controller_ActionController extends Tx_Extbase_MVC_Controller_ActionController { | |
| /** | |
| * Prepares a view for the current action and stores it in $this->view. | |
| * By default, this method tries to locate a view with a name matching | |
| * the current action. | |
| * | |
| * @return void |
| <?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(); |
| 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() { |
| <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"> |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| Created on 29.03.2012 | |
| @author: pn | |
| ''' | |
| import sys | |
| import traceback | |
| import argparse |
| ################################### | |
| # 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 { |
| Demonstrate the usage of makeInstance and/or php namespaces adressing background |