This file contains hidden or 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
| Viele arbeiten unter Linux mit oh-my-zsh als Shell. Doch manchmal macht es die Projektsituation erforderlich, dass man unter Windows arbeiten muss – ohne dabei aber auf den Komfort von oh-my-zsh verzichten zu wollen. In diesem Beitrag erfährst du, warum oh-my-zsh auch für native Windows User interessant sein kann und wie oh-my-zsh mit dem Agnoster Theme auf Windows installiert wird. | |
| Es ist unter Windows nicht sehr komfortabel, auf der CMD oder auf der Powershell zu arbeiten. Meistens muss die CMD auch nicht benutzt werden. Doch auch unter Windows gibt es Anwendungen, die sich komfortabler auf einer Shell bedienen lassen als über eine GUI. Beispiel wäre die Anwendung git. Git liefert eine Git Bash für Windows mit. Diese macht das Arbeiten mit Git schon etwas „bequemer“ als unter CMD. Das kann aber mit oh-my-zsh und dem git Plugin noch verbessert werden. | |
| Babun Installation und Konfiguration | |
| Kommen wir dazu, wie oh-my-zsh auf Windows installiert wird. Dabei wird oh-my-zsh nicht direkt installiert, sondern über |
This file contains hidden or 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 | |
| /** @var \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController $GLOBALS['TSFE'] */ | |
| $GLOBALS['TSFE']->pageNotFoundAndExit(); |
This file contains hidden or 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
| config.contentObjectExceptionHandler = 0 |
This file contains hidden or 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
| Wenn die Funktionalen Test fehlschlagen liegt das im TYPO3 an der Extension "phpunit". | |
| 1. Gehe in den Ordner "/htdocs/typo3conf/ext/phpunit/Composer/" | |
| 2. Führe den Befehl "composer dump-autoload" aus. | |
| Jetzt sollte es funktionieren! |
This file contains hidden or 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
| let task = NSTask(); | |
| task.launchPath = "/bin/sh"; | |
| task.arguments = ["-c", "sleep 0.2; open \"\(NSBundle.mainBundle().bundlePath)\""]; | |
| task.launch(); | |
| NSApplication.sharedApplication().terminate(nil); |
This file contains hidden or 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
| convert dragon.gif -resize 64x64^ -gravity center -extent 64x64 fill_crop_dragon.gif |
This file contains hidden or 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 | |
| // Note: This will return all results with if true | |
| $neededObject = array_filter( | |
| $arrayOfObjects, | |
| function ($element) use (&$searchedValue) { | |
| /**@var element $element*/ | |
| return $element->id == $searchedValue; | |
| } | |
| ); |
This file contains hidden or 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
| ## Lang = de, falls de default-Sprache | |
| page { | |
| config { | |
| htmlTag_stdWrap { | |
| cObject = TEXT | |
| cObject.value ( | |
| <!--[if lt IE 7]> <html lang="de" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
| <!--[if IE 7]> <html lang="de" class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
| <!--[if IE 8]> <html lang="de" class="no-js lt-ie9"> <![endif]--> | |
| <!--[if gt IE 8]><!--> <html lang="de" class="no-js"> <!--<![endif]--> |
This file contains hidden or 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 AppBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| /** | |
| * Class Example | |
| * @package AppBundle\Entity | |
| * @ORM\Entity | |
| * @ORM\Table(name="example") |
This file contains hidden or 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 AppBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| /** | |
| * Class Example | |
| * @package AppBundle\Entity | |
| * @ORM\Entity | |
| * @ORM\Table(name="example") |