Skip to content

Instantly share code, notes, and snippets.

View shaifulazh's full-sized avatar

Shaiful Azhar shaifulazh

  • Malaysia
  • 04:01 (UTC +08:00)
View GitHub Profile
@shaifulazh
shaifulazh / having-multiple-jdk-macos.md
Created April 7, 2023 18:00 — forked from gramcha/having-multiple-jdk-macos.md
Managing multiple Java versions in MacOS

Installing different versions of open jdk through Homebrew(assuming already installed) and already having Java 8.

We need to install a tool called jenv - Java version manager which is similar to nvm(nodeJs version manager).

brew install jenv

Export the jenv path to .bash_profile or .zshrc - whatever you are using. I am using .zshrc

@shaifulazh
shaifulazh / curl.md
Created June 28, 2021 04:52 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.