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
pragma solidity ^0.7.0; | |
library bytesSwap { | |
string public test_string = "hello"; | |
function bytes32ToString(bytes32 _bytes32) public pure returns (string memory) { | |
uint8 i = 0; | |
while(i < 32 && _bytes32[i] != 0) { | |
i++; | |
} |
" Specify a directory for plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'scrooloose/nerdtree' | |
"Plug 'tsony-tsonev/nerdtree-git-plugin' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'airblade/vim-gitgutter' |
#!/bin/bash | |
# Minify all jpg and png images in current directory recursively | |
command_exists () { | |
type "$1" &> /dev/null ; | |
} | |
# Learn more about optipng at http://sweetme.at/2013/09/11/how-to-maximize-png-image-compression-with-optipng/ | |
if command_exists optipng ; then | |
optipng -o2 -strip all **/*.png | |
else |
import { Dispatch } from 'redux'; | |
type StoreState = any; // preferable this should be the real Type of the store | |
/** Default action with just the type */ | |
interface Action<T extends string> { | |
readonly type: T; | |
} | |
/** Action extended with a payload that could be any value, used for the reducer */ |
import * as React from 'react'; | |
import * as Loadable from 'react-loadable'; | |
import OptionsWithRender = LoadableExport.OptionsWithRender; | |
import AsyncLoader from '../components/AsyncLoader'; | |
import {IProps} from './AddBeer'; | |
const loadableOptions: OptionsWithRender<IProps, any> = { | |
loader: () => import(/* webpackChunkName: "AddBeer" */ './AddBeer'), | |
loading: AsyncLoader, | |
render(loaded: any, props: IProps) { |
103.120.66.35 | |
103.120.66.51 | |
103.227.255.101 | |
103.60.9.27 | |
103.60.9.75 | |
103.62.49.193 | |
103.62.49.195 | |
103.62.49.198 | |
103.62.49.203 | |
103.62.49.205 |
server { | |
listen 80; | |
server_name your.domain.com; | |
location = /analytics.js { | |
# you have to compile nginx with http://nginx.org/en/docs/http/ngx_http_sub_module.html (this is not default) | |
# and http://nginx.org/en/docs/http/ngx_http_proxy_module.html (it's a default module) | |
proxy_set_header Accept-Encoding ""; |
import { Link } from 'react-router-dom' | |
import { Badge, Col, Menu } from 'antd' | |
const StyledBadge = styled(Badge)` | |
.ant-badge-count { | |
background-color: #7ECBBF; | |
color: white; | |
box-shadow: 0 0 0 1px #d9d9d9 inset; | |
} | |
` |