Skip to content

Instantly share code, notes, and snippets.

View ahaubold's full-sized avatar

A. H. ahaubold

View GitHub Profile
@ahaubold
ahaubold / daemon.json
Last active February 9, 2018 08:36
Docker
{
"graph": "/home/username/docker"
}
@ahaubold
ahaubold / svn_basics.sh
Last active December 3, 2019 13:53
SVN Basics
###########
### SVN ###
###########
################
# often needed #
################
# checkout a local svn repo
svn checkout file:///home/user/svn/project/trunk .
@ahaubold
ahaubold / gist:3a051aeb2864e1b27439
Created June 10, 2015 10:37
Double quote signs
left double quote: “ “
right double quote: ” ”
left double angle quotes: « «
right double angle quotes: » »
@ahaubold
ahaubold / changelog.sh
Last active August 28, 2019 08:56
GIT Basics
# show log since last version
git log `git describe --tags --abbrev=0`..HEAD --oneline
# show log since a defined version
git log 3.15.0..HEAD --decorate=short --oneline
@ahaubold
ahaubold / gist:abacbfdee65a5d2428b8
Created June 10, 2015 08:03
Property validation in TYPO3/extbase
/*
* @validate \Typovision\Simpleblog\Validation\Validator\WordValidator(max=3)
* @validate Typovision.Simpleblog:Word2(max=5)
*/
//Im Validator unter Classes ... \[Vendor]\[Ext]\Validation\Validator\WordValidator
// !addError entscheidet darüber, ob valide oder nicht (nicht return FALSE)
$this->addError('Verringern Sie die Anzahl der Worte. Es sind maximal '.$max.' erlaubt!', 1383400016);
@ahaubold
ahaubold / gist:f0093bd713d79cbc2dd2
Created June 10, 2015 07:53
powermail: enable debugging output for the T3 devlog
plugin.tx_powermail.settings.setup {
debug {
settings = 1
variables = 1
mail = 1
SaveToTable = 0
spamshield = 0
}
}