Skip to content

Instantly share code, notes, and snippets.

View valentin2105's full-sized avatar

Valentin Ouvrard valentin2105

View GitHub Profile
@valentin2105
valentin2105 / iterm2-solarized.md
Created December 25, 2016 23:46 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font (OS X / macOS)

Solarized

@valentin2105
valentin2105 / nginx.conf
Created September 11, 2016 23:48 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@valentin2105
valentin2105 / install-docker-exp.sh
Last active May 9, 2018 01:37 — forked from katopz/install-docker-exp.sh
Install Docker on Ubuntu 16.04 x64
# Install Docker on Ubuntu 14.04.4 x64
# Ref https://docs.docker.com/engine/installation/linux/ubuntulinux/
# No interactive for now.
export DEBIAN_FRONTEND=noninteractive
# Update your APT package index.
sudo apt-get -y update
# Update package information, ensure that APT works with the https method, and that CA certificates are installed.
sudo apt-get install apt-transport-https ca-certificates
# Add the new GPG key.
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
@valentin2105
valentin2105 / letsencrypt.sh
Created May 17, 2016 07:17 — forked from spalladino/letsencrypt.sh
Template for renewing a letsencrypt certificate in a docker nginx proxy via letsencrypt's docker image
#!/bin/sh
mkdir -p {{ proxy_dir }}/www/{{ domain }}
docker pull quay.io/letsencrypt/letsencrypt
docker run -it --rm --name letsencrypt \
-v "/etc/letsencrypt:/etc/letsencrypt" \
-v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
--volumes-from {{ proxy_docker_container }} \
@valentin2105
valentin2105 / owncloud-docker-compose.yml
Created March 23, 2016 21:42 — forked from MickaelBergem/ owncloud-docker-compose.yml
Docker Compose file for setting up an ownCloud server using a PostgreSQL database
# Composition of the containers
owncloud:
image: owncloud
ports:
- 80:80
volumes_from:
- owncloud-data
links:
- postgres:owncloud-db