Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Up and running...

Bruno Tomé ibrunotome

👨‍💻
Up and running...
Block or report user

Report or block ibrunotome

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ibrunotome
ibrunotome / cloudbuild.yaml
Created Feb 22, 2019
Cloud Build example settings for serverless functions
View cloudbuild.yaml
steps:
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', '${_EXAMPLE}', '.env.yaml']
id: 'setenv'
- name: 'gcr.io/cloud-builders/gcloud'
waitFor: ['setenv']
args:
- functions
- deploy
- myNodeJsMethod
@ibrunotome
ibrunotome / cloudbuild.yaml
Last active Feb 22, 2019
Cloud Build example settings for a Laravel application
View cloudbuild.yaml
steps:
- name: 'gcr.io/cloud-builders/gsutil'
args:
- cp
- .env.testing
- .env
- name: 'docker/compose:1.23.1'
args:
- run
- app
@ibrunotome
ibrunotome / cloudbuild.yaml
Last active Feb 22, 2019
Cloud Build example settings for a Nuxt.js application
View cloudbuild.yaml
steps:
- name: 'gcr.io/cloud-builders/gsutil'
args:
- cp
- ${_PRODUCTION_CONFIG}
- config/production.json
- name: 'gcr.io/cloud-builders/npm'
args:
- install
- name: 'gcr.io/cloud-builders/npm'
@ibrunotome
ibrunotome / laravel-ddd-approach.md
Last active Jul 9, 2019
A Domain Driven Design (DDD) approach to the Laravel Framework
View laravel-ddd-approach.md
/app
├── /Application
|  ├── /Exceptions
|  ├── /Middlewares
|  ├── /Providers
|  ├── /Requests
├── /Domain
|  ├── /MyDomainA
|  |   ├── /Contracts
@ibrunotome
ibrunotome / PdfCarne.php
Created Apr 7, 2018
Layout carnê para o laravel-boleto.
View PdfCarne.php
<?php
namespace App\Transformers;
use Eduardokum\LaravelBoleto\Boleto\Render\AbstractPdf;
use Eduardokum\LaravelBoleto\Contracts\Boleto\Boleto as BoletoContract;
use Eduardokum\LaravelBoleto\Contracts\Boleto\Render\Pdf as PdfContract;
use Eduardokum\LaravelBoleto\Util;
class PdfCarne extends AbstractPdf implements PdfContract
View docker-compose.yml
################################################################
# ATENTION:
#
# Replace all occurences of sandbox with your project's name
#
# Thank's to @hernandev
################################################################
version: '3.4'
services:
@ibrunotome
ibrunotome / laravel-echo-server.json
Last active May 30, 2018
laravel-echo-server.json
View laravel-echo-server.json
{
"authHost": "http://localhost",
"authEndpoint": "/broadcasting/auth",
"clients": [],
"database": "redis",
"databaseConfig": {
"redis": {},
"sqlite": {
"databasePath": "/database/laravel-echo-server.sqlite"
}
@ibrunotome
ibrunotome / supervisord.service
Last active Oct 5, 2018 — forked from mozillazg/supervisord.service
Install and configure supervisord on centos 7.
View supervisord.service
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/bin/supervisord -c /etc/supervisor/supervisord.conf
ExecReload=/bin/supervisorctl reload
ExecStop=/bin/supervisorctl shutdown
You can’t perform that action at this time.