Skip to content

Instantly share code, notes, and snippets.

View IchHabRecht's full-sized avatar

Nicole Hummel IchHabRecht

  • biz-design
  • Berlin, Germany
View GitHub Profile
@IchHabRecht
IchHabRecht / gist:6300193
Created August 21, 2013 20:58
[VCL] Advanced Varnish-TYPO3 Configuration
backend default {
.host = "127.0.0.1";
.port = "8080";
}
# Enable flushing access only to internals
acl flushers {
"127.0.0.1";
}
@IchHabRecht
IchHabRecht / gist:6300228
Created August 21, 2013 21:01
[GIT] Perform Git update on subdirectories
#!/bin/sh
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && if git status | grep -q \"nothing to commit\"
then
git pull
else
git stash && git pull && git stash pop
fi" \;
@IchHabRecht
IchHabRecht / gist:6300309
Created August 21, 2013 21:06
[PHP] Add memory usage to output
$content = '<!-- BEFORE: ' . (memory_get_peak_usage() / 1048576) . ' -->';
$content .= '<!-- AFTER: ' . (memory_get_peak_usage() / 1048576) . ' -->';
@IchHabRecht
IchHabRecht / gist:6521965
Last active December 22, 2015 19:49
Composer installation of mink/behat
"C:\Users\Nicole\Version Control\Composer\behat\composer.json"
{
"require": {
"behat/behat": "2.4.*@stable",
"behat/mink": "1.4@stable",
"behat/mink-goutte-driver": "*",
"behat/mink-selenium-driver": "*",
"behat/mink-selenium2-driver": "*",
"behat/mink-sahi-driver": "*",
@IchHabRecht
IchHabRecht / git-write-changelog
Last active December 22, 2015 19:49
Writes a ChangeLog depending on your git commits
#!/bin/sh
WRITE=false
FILE="ChangeLog"
GITPATH="master..HEAD"
while [ "$1" != "" ]; do
case $1 in
-c )
GITPATH=""
@IchHabRecht
IchHabRecht / typo3file.reg
Created September 17, 2013 20:42
Automatic creation of ENABLE_INSTALL_TOOL for TYPO3 CMS
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.typo3]
@="typo3file"
[HKEY_CLASSES_ROOT\.typo3\typo3file]
[HKEY_CLASSES_ROOT\.typo3\typo3file\ShellNew]
"NullFile"=""

Keybase proof

I hereby claim:

  • I am IchHabRecht on github.
  • I am ichhabrecht (https://keybase.io/ichhabrecht) on keybase.
  • I have a public key whose fingerprint is 1549 2BEA 7A59 985D 7384 DA66 3867 F053 5B17 52E2

To claim this, I am signing this object:

@IchHabRecht
IchHabRecht / git-flow-settings
Created September 27, 2017 14:18
Set git-flow merge behaviour as intended
git config --global gitflow.hotfix.finish.nobackmerge true
git config --global gitflow.release.finish.nobackmerge true
@IchHabRecht
IchHabRecht / setup.typoscript
Created March 24, 2018 12:36
TypoScript-Kopie vs. Referenz
lib.foo = TEXT
lib.foo.value = blau
lib.bar < lib.foo
lib.foo.value = rot
=> lib.bar.value ist hier blau
lib.foo = TEXT
@chapi yoast_seo - Yoast SEO for TYPO3 (https://extensions.typo3.org/extension/yoast_seo/)
@helhum fal_file_delivery - Tokenbasierter Dateizugriff (noch nicht öffentlich erhältlich)
@IchHabRecht begroups_roles - Use backend user groups as switchable roles (https://extensions.typo3.org/extension/begroups_roles/)
@JochenWeiland avalex - automatisch erzeugte Datenschutzerklärung (https://extensions.typo3.org/extension/avalex/)
@spooner_web fluid_form_elements - Simplifies usage of core Fluid form elements (https://extensions.typo3.org/extension/fluid_form_elements/)
@wahnsinn joro/typo3reversedeployment - Export DB and files to your TYPO3 dev installation (https://packagist.org/packages/joro/typo3reversedeployment)