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
<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
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
/**
* @interface StoreState
*/
export interface StoreState {
[key: string]: any
export default {
/**
*/
props: {
value: {
type: [String, Number],
default: ''
},
name: {
type: String,
@wilcorrea
wilcorrea / 01_opcache.ini
Created July 4, 2019 21:31 — forked from abdala/01_opcache.ini
Preload opcache in Dockerfile
opcache.validate_timestamps=0
opcache.save_comments=0
opcache.enable_cli=1
opcache.enable_file_override=1
opcache.file_cache=/app/opcache
import Schema from 'src/app/Agnostic/Schema'
import { orderPath } from './routeFile'
import { amount, customer, payments, status } from 'src/domains/Order/helperTable'
import { hookFetchRecord, statuStyling, statusFormatting } from 'src/domains/Order/helperForm'
import $lang from 'src/lang'
import OrderCustomer from './Components/OrderConsumer.vue'
import OrderItems from './Components/OrderItems'
const OrderDetails = () => import('src/domains/Order/Components/OrderDetails.vue')