This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# allow all methods | |
header('Access-Control-Allow-Methods: POST, GET, PUT, PATCH, DELETE, OPTIONS'); | |
# allow some headers | |
header('Access-Control-Allow-Headers: Authorization, Bearer, Device, Origin, Accept, Content-Type'); | |
# allow expose some headers | |
header('Access-Control-Expose-Headers: Authorization, Bearer, Device'); | |
# get the request method | |
$method = $_SERVER['REQUEST_METHOD'] ?? null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<QCard | |
bordered | |
style="min-height: calc(30vh + 40px)" | |
> | |
<QCardSection class="row"> | |
<div class="col-sm-6 flex justify-sm-center justify-start items-center"> | |
<div class="q-mb-md text-weight-medium"> | |
{{ $lang('pages.dashboard.index.charts.transaction-history') }} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Hero; | |
class Router | |
{ | |
private $routes = []; | |
public function on($method, $path, $callback) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Source\Domains\General; | |
use Devitools\Persistence\AbstractModel; | |
/** | |
* Class Category |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<QField | |
class="AppPhoneInternational" | |
v-bind="{ ...$attrs, ...$props }" | |
@clear="$emit('input', '')" | |
> | |
<div | |
ref="root" | |
class="AppPhoneInternational__root" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: docker:git | |
before_script: | |
- git config --global user.email "ci@my-compnany.com" | |
- git config --global user.name "My Company" | |
stages: | |
# - test | |
- development | |
- stage |