Skip to content

Instantly share code, notes, and snippets.

@MatTerra
MatTerra / Dockerfile
Last active December 9, 2020 18:30
React dockerfile with multi image build. Also includes a nginx.conf to guarantee that the react router will work as expected.
# use the lightest version of node:linux
FROM node:12.2.0-alpine as build
# directory on the host machine
WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH
#copy 'package.json' to /app/
COPY package.json /app/package.json
@MatTerra
MatTerra / README-Template.md
Last active May 11, 2021 21:13 — forked from PurpleBooth/README-Template.md
Um template para um bom README

Título do projeto

Aqui vai um parágrafo de descrição do seu projeto

Status

Quality Gate

Primeiros Passos

@MatTerra
MatTerra / install_ocv_3_2.sh
Created April 15, 2019 01:26
OpenCV 3.2 and python 3.5 installation on Arch Linux // Instalação de OpenCV3 e python3.5 em Arch Linux
#!/bin/sh
# Creates a new dir to download build files
mkdir install_cv && cd install_cv
# install git
sudo pacman git
#install python35 and clone repo's in parallel
echo 1 | yaourt --noconfirm --maintainer Leryan python35 &
git clone https://github.com/Itseez/opencv.git &