Included some free with paid for options for completeness
Updated: 20260723
| ### 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 |
| import org.json.*; | |
| import java.io.*; | |
| public class main { | |
| public static JSONObject obj; | |
| public static void main(String args[]){ | |
| try { | |
| obj = new JSONObject( fileToString("src/main/resources/questions.json") ); | |
| JSONArray questionsArray = obj.getJSONArray("question"); |
It sometimes happen you need change code on a machine from which you cannot push to the repo.
You’re ready to copy/paste what diff outputs to your local working copy.
You think there must be a better way to proceed and you’re right. It’s a simple 2 steps process:
1. Generate the patch:
git diff > some-changes.patch| ### env.cmd: | |
| set ROOT=%~dp0% | |
| set JAVA_HOME=%ROOT%bin\jdk1.8.0_66 | |
| set GRADLE_HOME=%ROOT%bin\gradle | |
| set GRADLE_USER_HOME=%ROOT%gradle_repository | |
| set M2_HOME=%ROOT%bin\maven | |
| set MAVEN_HOME=%ROOT%bin\maven | |
| set M2_REPO=%ROOT%maven_repository | |
| set MAVEN_REPO=%ROOT%maven_repository |
| @echo off | |
| cd %~dp0 | |
| call environment.bat | |
| start %ECLIPSE_HOME%\eclipse.exe -data %ECLIPSE_WORKSPACE% | |
| exit |