You have installed GPG, then tried to commit and suddenly you see this error message after it:
error: gpg failed to sign the data
fatal: failed to write commit object
Debug
// components/component.vue | |
<template lang="pug"> | |
div {{ new Date() | moment("dddd, MMMM Do YYYY, h:mm:ss a") }} | |
b-form-select(:value="locale" @change="changeLocale($event)") | |
option(v-for="lang in locales" :value="lang" :key="lang") | |
i(:class="'flag-icon-' + lang").flag-icon | |
</template> | |
<script> |
#!/bin/bash | |
DOCKER_COMPOSE_NAME='web' | |
DOCKER_COMPOSE_FOLDER='/home/mateus/Projetos/api-agro1' | |
cd $DOCKER_COMPOSE_FOLDER | |
echo '==> Pulling...' | |
docker-compose pull |
#!/usr/bin/env bash | |
CONTAINER_NAME="$1" | |
PROJECT_NAME="app" | |
# lets find the first container | |
FIRST_NUM=`docker ps | awk '{print $NF}' | grep app_$CONTAINER_NAME | awk -F "_" '{print $NF}' | sort | head -1` | |
NUM_OF_CONTAINERS=1 | |
MAX_NUM_OF_CONTAINERS=2 |
<?php | |
namespace Axelvkn\AppBundle\Filter; | |
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter; | |
use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface; | |
use ApiPlatform\Core\Exception\InvalidArgumentException; | |
use Doctrine\ORM\QueryBuilder; | |
class OrSearchFilter extends SearchFilter |
# This is a GitLab CI configuration to build the project as a docker image | |
# The file is generic enough to be dropped in a project containing a working Dockerfile | |
# Author: Florent CHAUVEAU <[email protected]> | |
# Mentioned here: https://blog.callr.tech/building-docker-images-with-gitlab-ci-best-practices/ | |
# do not use "latest" here, if you want this to work in the future | |
image: docker:20 | |
stages: | |
- build |
# [UPDATE] | |
# Its no longer complicated! Yay! | |
# Install Glassit Linux VSCode Extension | |
# then install this: | |
sudo apt install -y wmctrl x11-utils bash | |
# then restart VSCode. Done! |
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_indentation' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => [ | |
'default' => 'single_space', |
Suggested by lcaprini
// nuxt.config.js
build: {
extend(config, ctx) {
if (ctx.dev && ctx.isClient) {
config.module.rules.push({
enforce : 'pre',