Skip to content

Instantly share code, notes, and snippets.

View wilcorrea's full-sized avatar
🚀
// TODO: be life good

William Correa wilcorrea

🚀
// TODO: be life good
View GitHub Profile
<?php
declare(strict_types=1);
namespace App\Domain\Admin;
use App\Infrastructure\Entity\AbstractEntity;
/**
* Class Profile
<?php
namespace App\Http\Response;
use App\Http\Status;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\Response;
/**
* Class Answer
<?php
namespace App\Exceptions;
use App\Http\Response\AnswerTrait;
use App\Http\Status;
use Exception;
use ForceUTF8\Encoding;
use Illuminate\Database\QueryException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
# configure grep regEx to your ifcongig output
export XDEBUG_REMOTE_HOST=$(ifconfig wlp6s0 | grep -oE 'inet [[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}' | cut -c6-)
<template>
<q-expansion-item
:key="action.uuid"
v-if="action.children && action.children.length"
:icon="action.icon"
:label="action.name"
:value="expanded"
>
<template v-for="(kid, key) in action.children">
<DashboardAction
version: '3'
# volumes
volumes:
mariadb-data:
driver: local
# networks
networks:
internal:
window.procutList5 = []
function add5(quantidade_equipe = undefined, funcaoo = undefined) {
var quantidade = quantidade_equipe || document.getElementById("quantidade_equipe").value
var funcao = funcaoo || document.getElementById("funcaoo").value
window.procutList5.push({ quantidade, funcao })
var list = window.procutList5.map(function (item, index) {
return `<li>${item.funcao} ${item.quantidade}
<input
<template>
<div>
{{ $get(person, 'address.street') }}
</div>
</template>
<template>
<q-input
:mask="mask"
:value="inputValue"
@input="inputUpdateValue($event)"
v-bind="inputAttrs"
>
<template v-slot:append>
<DateWidgetDate
:format="format"
@wilcorrea
wilcorrea / Dockerfile
Created August 15, 2019 20:01 — forked from vinicius73/Dockerfile
Node project with PM2 and Docker
FROM node:10.15-alpine as base
RUN apk --no-cache --virtual build-dependencies add \
python \
make \
g++ \
&& rm -f /var/cache/apk/* \
&& npm config set unsafe-perm true \
&& npm install --quiet node-gyp -g --cache /tmp/empty-cache