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
#!/usr/bin/env bash | |
#Gibt den Ordner für das Git an | |
DIR=/root/projekt/ | |
quelle="${DIR}"app/web/ | |
#Gibt den Default Webroot Ordner an | |
ziel=/var/www/live/htdocs/ | |
RED='\033[0;31m' | |
NC='\033[0m' # No Color | |
NOW=$(date +"%Y-%m-%d:%H:%M:%S") | |
DELLOGFILE="deletetfiles-$NOW.log" |
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
page.headerData.1337 = TEXT | |
page.headerData.1337 { | |
if.isTrue.field = content_from_pid | |
typolink.parameter.field = content_from_pid | |
typolink.returnLast = url | |
dataWrap = <link rel="canonical" href="{$baseURL}|" /> | |
} |
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
SELECT | |
table_schema AS 'Datenbankname', | |
Round( SUM( data_length ) / 1024 / 1024, 3 ) AS 'Daten (MB)', | |
Round( SUM( index_length ) / 1024 / 1024, 3 ) AS 'Index (MB)', | |
Round( Sum( data_length + index_length ) / 1024 / 1024, 3 ) AS 'Gesamt (MB)', | |
Round( Sum( data_free ) / 1024 / 1024, 3 ) AS 'Freier Speicher (MB)' | |
FROM information_schema.tables | |
GROUP BY table_schema ; | |
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
wget http://ipinfo.io/ip -qO - |
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
update table_name set field = replace(field, 'foo', 'bar') where instr(field, 'foo') > 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
page.headerData.1337 = TEXT | |
page.headerData.1337 { | |
if.isTrue.field = content_from_pid | |
typolink.parameter.field = content_from_pid | |
typolink.returnLast = url | |
dataWrap = <link rel="canonical" href="{$baseURL}|" /> | |
} |
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
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); |
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
find . -type f -exec chmod 664 {} \; | |
find . -type d -exec chmod 775 {} \; |
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
[globalVar = TSFE : beUserLogin > 0] | |
config.simulateStaticDocuments = 0 | |
[global] |
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
rm typo3_src && ln -s typo3_src-XXXX typo3_src |
NewerOlder