Skip to content

Instantly share code, notes, and snippets.

Avatar

Fernando Silva fernandodebrando

View GitHub Profile
@fernandodebrando
fernandodebrando / fotosProartLinux.js
Created May 13, 2016
Possibilita visualizar fotos no site da produtora Proart
View fotosProartLinux.js
var fotos = document.getElementById("fotos_page").innerHTML;
var res = fotos.replace(/\\/g, "/");
document.getElementById("fotos_page").innerHTML = res;
View composer.json
{
"require": {
"elasticsearch/elasticsearch": "~2.0"
}
}
@fernandodebrando
fernandodebrando / php_test_fest.txt
Last active Oct 24, 2017
Roteiro mão na massa PHP TestFest
View php_test_fest.txt
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 / Procfile
Last active Nov 28, 2017
Hospedando aplicação PHP no Heroku (arquivos utilizados neste tutorial)
View Procfile
web: vendor/bin/heroku-php-apache2 public/
View skf-docker-compose.yml
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 / Dockerfile
Created Jul 10, 2016
Criando um ambiente de desenvolvimento PHP com Docker Compose
View Dockerfile
FROM php:5.6-apache
RUN docker-php-ext-install mysqli