Skip to content

Instantly share code, notes, and snippets.

View thomas-barthelemy's full-sized avatar

Thomas Barthelemy thomas-barthelemy

View GitHub Profile
@thomas-barthelemy
thomas-barthelemy / docker_install.sh
Last active May 20, 2016 06:10
(webridge.asia) Docker Install Ubuntu Trusty
#!/bin/bash
if hash docker &> /dev/null; then
echo 'Docker already installed!'
exit
fi
## Installing dependencies
apt-get update
apt-get install -y apt-transport-https ca-certificates linux-image-extra-$(uname -r)
@thomas-barthelemy
thomas-barthelemy / arc_setup.sh
Last active January 11, 2020 22:54 — forked from makinde/arc_setup.sh
W.E. Bridge Phabricator Arcanist (arc) Setup script for Ubuntu
#!/bin/bash
if [ -z "$1" ]; then
echo -e "Missing 1 parameter: Phabricator URL."
echo -e "ex: arc_setup.sh https://phabricator.mycompany.com"
fi
if ! hash git &> /dev/null || ! hash php &> /dev/null; then
echo -e " *****\n ***** INSTALLING GIT AND PHP\n *****"
sudo apt-get install git-core php5-cli php5-curl
fi