Skip to content

Instantly share code, notes, and snippets.

View jorge-lavin's full-sized avatar
🏠
Working from home

Jorge Lavin jorge-lavin

🏠
Working from home
View GitHub Profile
#Python 2
python -m SimpleHTTPServer 8080
#Python 3
python3 -m http.server 8113
@jorge-lavin
jorge-lavin / get_oracle_jdk_linux_x64.sh
Last active January 16, 2018 07:42 — forked from n0ts/get_oracle_jdk_x64.sh
Get latest Oracle JDK package bash shell script
#!/bin/bash
# You must accept the Oracle Binary Code License
# http://www.oracle.com/technetwork/java/javase/terms/license/index.html
# usage: get_jdk.sh <jdk_version> <ext>
# jdk_version: 8(default) or 9
# ext: rpm or tar.gz
jdk_version=${1:-8}
ext=${2:-rpm}