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
# aktuelles rasbian installieren | |
# hostname, password etc setzen | |
sudo raspi-config | |
# alles auf aktuellen Stand bringen | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Feste IP konfigurieren |
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
diff --git i/Classes/Domain/Repository/DceRepository.php w/Classes/Domain/Repository/DceRepository.php | |
index dafb5dd..fa07347 100644 | |
--- i/Classes/Domain/Repository/DceRepository.php | |
+++ w/Classes/Domain/Repository/DceRepository.php | |
@@ -166,9 +166,10 @@ class DceRepository extends \TYPO3\CMS\Extbase\Persistence\Repository | |
*/ | |
protected function processFillingFields( | |
\ArminVieweg\Dce\Domain\Model\Dce $dce, | |
- array $fieldList, | |
+ array $fieldList = null, |
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
<?php | |
namespace Foo\Bar\Hooks; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
class Systemlog | |
{ | |
private $severityLabel = [ | |
GeneralUtility::SYSLOG_SEVERITY_INFO => 'INFO', |
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
#!/bin/sh | |
tail -n 1 -f /var/path/to/file.log | while read line; do | |
echo $line | grep -v "PATTERN TO IGNORE" | |
if `test $? -eq 0`; then | |
cleanLine=`echo $line | tr -d '"'` | |
payload="payload={\"channel\": \"#channel\", \"username\": \"dev:typo3-sys.log\", \"text\": \"$cleanLine\", \"icon_emoji\": \":interrobang:\"}" | |
curl -X POST --data-urlencode "$payload" https://TEAM.slack.com/services/hooks/incoming-webhook\?token\=TOKEN | |
fi | |
done |
OlderNewer