brew install mkcert
# First time
# If you want to add to Java as well, need to go to IntelliJ > Choose your project on the left side > F4 to open Project Structure > Project > SDK > Edit > Get the PATH to setup JAVA_HOME
# Eg: Mine is: /Users/your_name/Library/Java/JavaVirtualMachines/corretto-19.0.2/Contents/Home
Credit to https://camillehdl.dev/podman-machine-stuck-currently-starting/
If podman machine list (or Podman Desktop) shows your machine βCurrently startingβ but it never actually starts, this might help you.
Find the file ~/.config/containers/podman/machine/applehv/<your podman machine name>.json
(in my case, ~/.config/containers/podman/machine/applehv/podman-machine-default.json
) and edit it.
import java.util.*; | |
public class MyClass { | |
public static void main(String args[]) { | |
ArrayList<String> a = new ArrayList<>(); | |
add1(a,"1"); | |
System.out.println("a:" + a); // Guess the output | |
add2(a,"2"); |
BOTH root router and WDS router need to support WDS.
No need to do anything on the root router, just need to setup on the WDS router. From now, everything just on this router.
- Set IP address of the WDS router: Advanced > Network > LAN > IP Address. (default: 192.168.0.1. If root router is 192.168.1.1, then you can set this WDS router IP to be: 192.168.1.2). Restart.
- Turn off DHCP server: Advanced > Network > DHCP Server > Uncheck enable > Save
- Go to Advanced > System Tools > System Parameters
https://www.liquibase.com/download
Download database driver (.jar file) then put it in /your_liquibase_installation_path/lib
Your company is using a proxy to decrypt the HTTPS in between. It has a self-signed certificate. You will get this kind of Exception when sending a HTTPS request if your Java project doesn't have that self-signed certificate in its CaCerts
detailed message sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
You can't login to Github to use Github Colpilot in your IntelliJ due to you are using self-certificate.
And you got this error message
Sign in failed. Reason: Request signInInitiate failed with message: self signed certificate in certificate chain, request id: 3, error code: -32603
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start