Skip to content

Instantly share code, notes, and snippets.

@cjrequena
cjrequena / install-docker-aws-ec2-user-data
Last active August 31, 2022 07:04 — forked from dhoeric/Ubuntu 16.04
install-docker-aws-ec2-user-data
#!/bin/bash
# Install docker
apt-get update
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
@cjrequena
cjrequena / installing-java-on-macos-with-homebrew.md
Last active December 23, 2020 09:41
Installing java on MacOSX with homebrew

Installing java on MacOSX with homebrew

Find locations of previously installed Java JDK

$ /usr/libexec/java_home -V

Find the location of a specific Java version using -v

$ /usr/libexec/java_home -v 11

Keybase proof

I hereby claim:

  • I am cjrequena on github.
  • I am cjrequena (https://keybase.io/cjrequena) on keybase.
  • I have a public key ASBISkBshNqJPFT4_qdl3XIbaILkmQKnXWfbXnqBtEM2iwo

To claim this, I am signing this object: