This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(location.href="http://www.contao-pool.de/ceris.html?search="+window.prompt("CERIS search:","")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function log_message($strMessage, $strLog='error.log') | |
{ | |
@error_log(sprintf("[%s] %s\n", date('d-M-Y H:i:s'), $strMessage), 3, ROOT_PATH . '/logs/' . $strLog); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{email_open::info@domain.de" title="Schick uns eine E-Mail}}Info E-Mail{{link_close}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# creat a tag (more infos at: http://git-scm.com/book/de/ch2-12.html) | |
git tag -a 1.0.0 -m "Version 1.0.0" | |
git push origin 1.0.0 | |
git tag -a 1.0.0.alpha1 -m "Version 1.0.0 alpha1" | |
git push origin 1.0.0.alpha1 | |
# delete a tag | |
git tag -d 1.0.0 | |
git push origin :refs/tags/1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(document).ready(function() { | |
var targetOffset = $('#main').offset().top; | |
$('html,body').delay(1000).animate({scrollTop: targetOffset}, 1000); | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set /p BRANCH="Branch name: " | |
git fetch upstream | |
git checkout %BRANCH% | |
git reset --hard upstream/%BRANCH% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add these scriptlets as bookmarks to your browser | |
- Open it, enter the contao version (major.minor) and checkout the manual | |
Customization | |
------------- | |
- change 'de' to 'en' for the englisch manual | |
- for preselecting a version change the content of window.prompt(...) to "Contao Version (z.B. 3.2):","3.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Show a list of the latest version for all outdated packages | |
php composer.phar show -o | |
php composer.phar outdated | |
# Update packages (Stato) | |
/usr/bin/php71 -d memory_limit=-1 composer.phar update | |
/usr/bin/php71 -d memory_limit=-1 composer.phar update --dry-run | |
# Update packages (1&1) | |
/usr/bin/php7.1-cli -d memory_limit=-1 composer.phar update |