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
import Schema from '@devitools/Agnostic/Schema'
import Service from './InviteService'
import { domain } from '../settings'
import { Component, Context, SchemaTable } from '@devitools/Agnostic/Helper/interfaces'
import { positions, scopes, SCOPES } from '@devitools/Agnostic/enum'
import { unique } from '@devitools/Util/general'
import { RULES } from 'src/settings/schema'
import { replacement } from '@devitools/Util/string'
@wilcorrea
wilcorrea / Dockerfile
Last active January 16, 2025 16:38
Quasar with docker
# tevun/quasar
FROM node:alpine
RUN apk --update add openssh-client git
RUN npm install --global \
@vue/[email protected] && \
@vue/[email protected] \
@quasar/[email protected]\
[email protected]
import { Loading, Notify } from 'quasar'
import { register } from 'register-service-worker'
import $lang from '@devitools/Lang'
// The ready(), registered(), cached(), updatefound() and updated()
// events passes a ServiceWorkerRegistration instance in their arguments.
// ServiceWorkerRegistration: https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration
register(process.env.SERVICE_WORKER_FILE, {
// The registrationOptions object will be passed as the second argument
version: '3'
# Networks
networks:
# Internal network
internal:
driver: bridge
# Volumes
volumes:
<?php
declare(strict_types=1);
namespace Source\Domains\General;
use Devitools\Persistence\AbstractModel;
/**
* Class Category
<template>
<QField
class="AppPhoneInternational"
v-bind="{ ...$attrs, ...$props }"
@clear="$emit('input', '')"
>
<div
ref="root"
class="AppPhoneInternational__root"
/>
xdebug.auto_trace = Off
xdebug.cli_color = 1
xdebug.collect_assignments = Off
xdebug.collect_includes = On
xdebug.collect_params = 0
xdebug.collect_return = Off
xdebug.collect_vars = Off
xdebug.coverage_enable = On
xdebug.default_enable = On
xdebug.dump_globals = On
@wilcorrea
wilcorrea / ProductTable.vue
Last active March 25, 2020 19:19
Fazer funcionar filtro conforme valor do combobox
<template>
<va-card :title="$t('menu.products')">
<div class="row">
<div class="flex xs12 md4">
<va-input
:value="term"
:placeholder="$t('tables.searchByProduct')"
@input="search"
removable
>
image: docker:git
before_script:
- git config --global user.email "[email protected]"
- git config --global user.name "My Company"
stages:
# - test
- development
- stage
@wilcorrea
wilcorrea / install-docker.md
Created March 1, 2020 14:49 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command