You have installed GPG, then tried to perform a git commit and suddenly you see this error message after it 😰
error: gpg failed to sign the data
fatal: failed to write commit object
Understand the error (important to solve it later!)
| // ==UserScript== | |
| // @name Medium Paywall Bypass (Manual Button + Badge + Fallback + Offline) | |
| // @namespace Violentmonkey Scripts | |
| // @run-at document-start | |
| // @match *://*.medium.com/* | |
| // @match *://medium.com/* | |
| // @match *://*/* | |
| // @grant none | |
| // @version 3.5 | |
| // @inject-into content |
| # Basic Makefile for Golang project | |
| # Includes GRPC Gateway, Protocol Buffers | |
| SERVICE ?= $(shell basename `go list`) | |
| VERSION ?= $(shell git describe --tags --always --dirty --match=v* 2> /dev/null || cat $(PWD)/.version 2> /dev/null || echo v0) | |
| PACKAGE ?= $(shell go list) | |
| PACKAGES ?= $(shell go list ./...) | |
| FILES ?= $(shell find . -type f -name '*.go' -not -path "./vendor/*") | |
| # Binaries | |
| PROTOC ?= protoc |
| set ignorecase | |
| set smartcase | |
| set scrolloff=3 " 3 lines above/below cursor when scrolling | |
| " Emulated Plugins | |
| set surround | |
| " Copy to system clipboard as well | |
| set clipboard+=unnamed |
| #!/bin/sh | |
| # Configure homebrew permissions to allow multiple users on MAC OSX. | |
| # Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
| # allow admins to manage homebrew's local install directory | |
| chgrp -R admin /usr/local | |
| chmod -R g+w /usr/local | |
| # allow admins to homebrew's local cache of formulae and source files | |
| chgrp -R admin /Library/Caches/Homebrew |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| #!/usr/bin/env bash | |
| vm='minikube' | |
| natnet='vboxipv6' | |
| echo 'Fixing virtualbox/minikube IPV6 problems' | |
| if ! command -v vboxmanage &> /dev/null; then | |
| echo 'vboxmanage is not installed' | |
| exit 1 |
| #include <sys/socket.h> | |
| #include <sys/un.h> | |
| #include <sys/event.h> | |
| #include <netdb.h> | |
| #include <assert.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <stdio.h> | |
| #include <errno.h> |
| package main | |
| import ( | |
| "fmt" | |
| "net" | |
| "os" | |
| "syscall" | |
| ) | |
| const ( |