Skip to content

Instantly share code, notes, and snippets.

View NicoPennec's full-sized avatar
🍼
daddy cool (again)

Nicolas PENNEC NicoPennec

🍼
daddy cool (again)
View GitHub Profile
@NicoPennec
NicoPennec / Dockerfile
Created October 11, 2017 16:27
dockerfile ubuntu : node 8.x + npm + yarn
FROM ubuntu
USER root
RUN apt-get -y update && apt-get -y install curl
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
RUN npm -g i yarn
RUN yarn global add npm
@NicoPennec
NicoPennec / gist:8c6c0d7e55c96681bc4ab7957d674904
Created April 12, 2017 14:24
nginx config http 2 + CSP level 3
server {
listen 80;
listen [::]:80;
server_name example.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@NicoPennec
NicoPennec / 45-tools-to-boost-your-front-end.md
Last active August 29, 2015 14:23
"45 Tools to Boost Your Front-End" (BreizhCamp 2015)