Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user
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 |
<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 "ci@my-compnany.com" | |
- git config --global user.name "My Company" | |
stages: | |
# - test | |
- development | |
- stage |
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user
import $store from '../store' | |
const remove = (vnode) => vnode.elm.parentElement.removeChild(vnode.elm) | |
export default { | |
install (Vue) { | |
Vue.directive('permission', { | |
inserted (el, binding, vnode) { | |
if (binding.arg !== 'can') { | |
return |
<?php | |
class BlaBlaBla extends Migration | |
{ | |
// ... up, down whatever | |
protected function existsForeignKey($table, $foreignKey) | |
{ | |
$sql = "SELECT KEY_COLUMN_USAGE.CONSTRAINT_NAME | |
FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE | |
WHERE KEY_COLUMN_USAGE.TABLE_NAME = '{$table}' AND KEY_COLUMN_USAGE.COLUMN_NAME = '{$foreignKey}'"; |
<?php | |
declare(strict_types=1); | |
namespace App\Application\Http; | |
use Psr\Http\Message\ResponseInterface as Response; | |
use Psr\Http\Message\ServerRequestInterface as Request; | |
use Psr\Log\LoggerInterface; | |
use Slim\Exception\HttpBadRequestException; |