Skip to content

Instantly share code, notes, and snippets.

@ricardo-rossi
ricardo-rossi / build.sh
Created Dec 21, 2015 — forked from patrickarlt/build.sh
ES 7 async/await demo!
View build.sh
babel github-es6.js -o github.js --optional runtime --experimental
@ricardo-rossi
ricardo-rossi / maven-333.sh
Last active Sep 17, 2020 — forked from ervinb/maven-333.sh
Install Maven 3.3.3 on Ubuntu 14.04
View maven-333.sh
#!/bin/sh
sudo apt-get purge -y maven
if ! [ -e apache-maven-3.3.3-bin.tar.gz ]; then (curl -OL http://mirror.olnevhost.net/pub/apache/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz); fi
sudo tar -zxf apache-maven-3.3.3-bin.tar.gz -C /usr/local/
sudo ln -s /usr/local/apache-maven-3.3.3/bin/mvn /usr/bin/mvn
echo "Maven is on version `mvn -v`"