- Open Powershell in Admin mode and run wsl --install
Programmer's Stack
{{theTime}}
Search This Blog
Total Pageviews
ImportError: cannot import name 'soft_unicode' from 'markupsafe'
Check the markupsafe version. To fix the problem install 2.0.1
pip install markupsafe==2.0.1
Java Script GET request Sample Code
fetch('https://api.public.com/api')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
ImmutableList Example
private ImmutableList<String> getServerProps(){
ImmutableList.Builder<String> serverProps = ImmutableList.builder();
serverProps.add(String.format("Azure", "Yes"));
serverProps.add(String.format("AWS", "Yes"));
serverProps.add("DisasterRecovery", "Yes");
return serverProps ;
}
Java Shutdown Hook
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
System.out.println("Shutdown started");
System.out.println("Shutdown started");
// Close all the resource locks
System.out.println("Shutdown successful");
}));
}));
gradlew : The term 'gradlew' is not recognized as the name of a cmdlet, function, script file , or operable program
The command gradlew was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. Try '.\gradlew'
Type Matching Code Completion in IntelliJ
Invoke (Ctrl + Shift + Space) twice when collection type is expected will search for arrays with the same component type.
Subscribe to:
Posts (Atom)
How to install Windows Subsystem for Linux?
- Open Powershell in Admin mode and run wsl --install