Skip to content

Instantly share code, notes, and snippets.

View Morkhusz's full-sized avatar

José Filho Morkhusz

View GitHub Profile
{
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"font_face": "Monaco, dejavu, Andale Mono",
"font_options":
[
"bold",
"no_italic",
"gray_antialias",
"subpixel_antialias"
],
@Morkhusz
Morkhusz / settings.json
Last active July 18, 2018 14:06
my vscode confs
extensions: {
Auto Close Tag by Juan Han
ESLint by Dirk Baeumer
Material Icon Theme by Phillipp Kief
Prettier by Esben Petersen
vue - Syntax Highlight for Vue.js by Liuji-Jim
vetur
}
apt-get update && \
apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \
ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
@Morkhusz
Morkhusz / gist:a01e0b8671676c6e310064c09651224a
Last active February 19, 2019 22:28
RabbitMQ + PHP (+-45 min)
Intro:
- O que são filas?
- O que é mensageria?
- Pros/Cons filas e mensageria
- O que sao e opcoes de mercado para brokers (gerenciadores de filas)
- Escolha e porque usar RabbitMQ
- Introdução ao RabbitMQ
- PHP-AMQLib (rabbit com php)
RabbitMQ Flows
<?php
namespace Modules\Report\Services;
use Modules\Report\Interfaces\ExcelReportInterface;
use Carbon\Carbon;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
class BookMovelReport implements ExcelReportInterface
{
<?php
namespace App\Domains\Schedule\Services;
class FizzBuzz
{
public function printFizzOnMultiplesOfThree()
{
$integers = '1,2,3,4,5,6,7,8,9,10';
$fizz = array_map(function ($int) {
@Morkhusz
Morkhusz / README-Template.md
Created June 17, 2020 18:52 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites