Skip to content

Instantly share code, notes, and snippets.

t3lib_utility_Debug::debug(xxx);
// per Pfad Array auslesen
Tx_Extbase_Utility_Arrays::getValueByPath(
$Array_Daten
$Array_Pfad
);
<?php
Tx_Extbase_Utility_Localization::translate('key', 'DatamintsErweiterung');
// Standard
mysqldump --no-create-db --opt -Q -uUSER -p -hHOST DATENBANK > DATENBANK.sql
// Standard (Drop + Create Table)
mysqldump -uUSER -p -hHOST --verbose --no-create-db --add-drop-table DATENBANK > DATENBANK.sql
// Gepackt
mysqldump --databases --opt -Q -uUSER -p -hHOST DATENBANK | gzip > DATENBANK.gz
// nur Daten
ln -s /kunden/380113_82377/typo3_sources/typo3_src-6.0-latest typo3_src
@chris-at-github
chris-at-github / Schreibschutz
Last active December 18, 2015 09:58
Berechtigungen / Benutzer
chmod 0444 datei
tar xfv ARCHIV.tar
plugin.tx_extension_pi1._DEFAULT_PI_VARS.filter = Abc
$(function() {
// JavaScript-Code
});
!function($) {
$(function() {
// JavaScript-Code
});
} (window.jQuery);
@chris-at-github
chris-at-github / EqualHeight
Created June 12, 2013 14:28
Praktische 1 - 5 Zeiler
$.fn.equalheight = function() {
return this.height(Math.max.apply(this, $.map(this, function(e) {
return $(e).height()
})));
};