Skip to content

Instantly share code, notes, and snippets.

View fernandodebrando's full-sized avatar

Fernando Silva fernandodebrando

View GitHub Profile
version: '3'
services:
skf-angular:
restart: always
image: blabla1337/skf-angular:1.4
ports:
- "8788:8788"
environment:
- FRONTEND_URI=http://skf.domain.net:8888
skf-api:
@fernandodebrando
fernandodebrando / php_test_fest.txt
Last active October 24, 2017 15:35
Roteiro mão na massa PHP TestFest
https://github.com/herdphp/docker-phpqa/wiki
https://medium.com/trainingcenter/vamos-testar-o-php-c0b020608678
- Mão na massa - roteiro (usando docker-phpqa installer)
- Instale o Docker
https://www.docker.com/community-edition
- Instale o php-qa
curl -s https://raw.githubusercontent.com/herdphp/docker-phpqa/master/bin/installer.sh | bash
@fernandodebrando
fernandodebrando / composer.json
Created September 20, 2016 21:10
PHP e ElasticSearch
{
"require": {
"elasticsearch/elasticsearch": "~2.0"
}
}
@fernandodebrando
fernandodebrando / Dockerfile
Created July 10, 2016 03:54
Criando um ambiente de desenvolvimento PHP com Docker Compose
FROM php:5.6-apache
RUN docker-php-ext-install mysqli
@fernandodebrando
fernandodebrando / Procfile
Last active November 28, 2017 10:01
Hospedando aplicação PHP no Heroku (arquivos utilizados neste tutorial)
web: vendor/bin/heroku-php-apache2 public/
@fernandodebrando
fernandodebrando / fotosProartLinux.js
Created May 13, 2016 02:04
Possibilita visualizar fotos no site da produtora Proart
var fotos = document.getElementById("fotos_page").innerHTML;
var res = fotos.replace(/\\/g, "/");
document.getElementById("fotos_page").innerHTML = res;