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
PROXY_USER=... | |
PROXY_PASS=.... | |
PROXY_IP=185.XXX.XXX.XXX | |
PROXY_PORT=37257 |
git log --graph --oneline --decorate ( git fsck --no-reflog | awk '/dangling commit/ {print $3}' )
This will show you all the commits at the tips of your commit graph which are no longer referenced from any branch or tag – every lost commit, including every stash commit you’ve ever created, will be somewhere in that graph.
const _ = require("lodash"); | |
const moment = require("moment"); | |
// Load the AWS SDK for Node.js | |
const AWS = require("aws-sdk"); | |
// Set the region to us-west-2 | |
AWS.config.update({ region: "us-west-2" }); | |
// Create the SQS service object | |
const sqs = new AWS.SQS({ apiVersion: "2012-11-05" }); |
$ brew install dnsmasq
...
$ cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
/usr/local/etc/dnsmasq.conf
address=/local/127.0.0.1
/^(\+?6?01)[0|1|2|3|4|6|7|8|9]\-*[0-9]{7,8}$/ |
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can nstall it on MacOS and make your defaul shell.
Note that you need the https://brew.sh/ package manager.
You can also download the fish app from their website. I do recomand using brew because update are easier.
Install Fish
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).