I hereby claim:
- I am molivier on github.
- I am molivier (https://keybase.io/molivier) on keybase.
- I have a public key whose fingerprint is 41B7 7501 8C52 08BD 34A1 70FD 46DF 0BAF CFC3 06B3
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Install packages to allow apt to use a repository over HTTPS | |
apt install -y apt-transport-https ca-certificates curl software-properties-common | |
# Add Docker’s official GPG key | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
# Add Docker Repository | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" |
#!/usr/bin/env bash | |
apt-get update | |
apt-get install -y apt-transport-https ca-certificates | |
apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list | |
apt-get update | |
apt-get install -y docker-engine | |
service docker start | |
docker version |
I hereby claim:
To claim this, I am signing this object:
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) |
#!/bin/sh | |
# Kong API Proxy: https://getkong.org | |
# https://blog.martinfjordvald.com/2013/02/websockets-in-nginx/ | |
# WebSockets : proxy_read_timeout 3600s; | |
CASSANDRA_VERSION="2.1.12" | |
KONG_VERSION="trusty_all.deb" | |
# Install Java 7 |
#!/bin/sh | |
# Install Docker Trusted Registry | |
# Source: https://docs.docker.com/docker-trusted-registry/install/install-csengine/ | |
# Docker CS Engine | |
wget -qO- 'https://pgp.mit.edu/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e' | sudo apt-key add --import | |
sudo apt-get update && sudo apt-get install apt-transport-https | |
sudo apt-get install -y linux-image-extra-virtual | |
echo "deb https://packages.docker.com/1.9/apt/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list |
#!/bin/sh | |
# Docker Install - Ubuntu 14.04 | |
# wget https://gist.github.com/molivier/e6ebde37f3405618ea7a/raw/aa3b3369b9862853b4a0784bebc5e0a03fd3e717/docker.sh | |
# chmod +x docker.sh && sh docker.sh | |
# Universal Control Panel | |
UCP=true | |
# Install Docker repository (as root) |
# https://github.com/attardi/wikiextractor | |
# Download latest wikipedia dump | |
wget http://download.wikimedia.org/frwiki/latest/frwiki-latest-pages-articles.xml.bz2 | |
# Extract and compress articles | |
python WikiExtractor.py -b 250K -o extracted frwiki-latest-pages-articles.xml.bz2 | |
# Build single file extraction | |
find extracted -name 'wiki*' -exec cat {} \; > text.xml | |
rm -rf extracted |
# Edit ~/.bash_profile | |
export GOPATH=/Users/$USER/go | |
export PATH=$GOPATH/bin:$PATH | |
# Reload profile : source ~/.bash_profile |