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
| ### Tutorial oficial: | |
| https://docs.microsoft.com/en-us/windows/wsl/install-win10 | |
| ### Passo 1 (PowerShell Admin): | |
| dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
| ### Passo 2 (PowerShell Admin): | |
| dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
| ### Passo 3 |
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 | |
| // the template | |
| $template = "<h1>{TITLE}</h1>"; | |
| // add any template placeholder key/values here | |
| $map = array( | |
| 'TITLE' => "ExtJS Sucks" | |
| ); | |
| // Quick and dirty template parser, replace occurences of '{KEY}' with |