Skip to content

Instantly share code, notes, and snippets.

View wawashra's full-sized avatar
🇵🇸
Composer 🎵

Waseem Awashra wawashra

🇵🇸
Composer 🎵
View GitHub Profile
# git
alias g="git"
alias gs="git status"
alias ga="git add ."
alias gc="git commit -m"
alias gn="git init && git add . && git commit -m \"init\""
# laravel
alias pa="php artisan"
alias l="php artisan serve"
@wawashra
wawashra / openjdk-12-pi-3-guide.txt
Created November 26, 2019 13:56 — forked from NotAlexNoyle/openjdk-12-pi-3-guide.txt
A step-by-step tutorial on installing OpenJDK 12 on a Raspberry Pi 3 running Raspbian
Do you use your Raspberry Pi 3 to develop Java applications using OpenJDK? You may have noticed that the latest version available on the default apt repositories is OpenJDK 9. This is because the armhf architecture is underserved by the Oracle open source community. Luckilly, you can build and run the latest version (OpenJDK 12.x) on your device. It will just take some time, given the minimal power of the Pi 3's CPU.
The first step is to boot into raspbian and launch the shell.
Next, we are going to create 1GB of swap space for the build.
Get the 'pv' package:
> sudo apt-get install pv