Skip to content

Instantly share code, notes, and snippets.

Download specific version

Download a specific version from the Releases page (https://github.com/graalvm/graalvm-ce-builds/releases). Note you should not take the latest by default, as Quarkus does not always support the latest version.

Move to JVM directory

Unzip and move to JVM directory sudo mv ~/Downloads/graalvm-ce-java8-20.0.0 /Library/Java/JavaVirtualMachines

Check installed JVMs

/usr/libexec/java_home -V # note the uppercase V Sample output:

@yashpatil
yashpatil / keybase.md
Last active September 12, 2019 08:41

Keybase proof

I hereby claim:

  • I am yashpatil on github.
  • I am yashdeep (https://keybase.io/yashdeep) on keybase.
  • I have a public key whose fingerprint is D526 F767 50E5 0E58 5D09 579E 4C43 897C C3F9 9F0E

To claim this, I am signing this object:

@yashpatil
yashpatil / SecurityConfig.java
Created January 5, 2017 02:31 — forked from virgium03/SecurityConfig.java
Spring Security Java configuration for Pre-authenticated scenario
import org.springframework.boot.context.embedded.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.access.AccessDecisionVoter;
import org.springframework.security.access.vote.AffirmativeBased;
import org.springframework.security.access.vote.RoleVoter;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.ProviderManager;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
@yashpatil
yashpatil / JolokiaCommands.md
Last active January 6, 2023 14:59
Jolokia URLs for quick access to A-MQ statistics

This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console.