Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am asakurafuuko on github.
  • I am fuuko (https://keybase.io/fuuko) on keybase.
  • I have a public key whose fingerprint is EBCC DA73 18B0 157C D32C DA18 B518 E32E 6852 E11F

To claim this, I am signing this object:

@AsakuraFuuko
AsakuraFuuko / gist:adda145c6b58df7ce038f523e5eb6952
Created July 30, 2017 03:08
git commit with gpg sigining
https://youtrack.jetbrains.com/issue/IDEA-110261#comment=27-1429742
1) brew install gnupg gnupg2 pinentry-mac
2) nano ~/.gnupg/gpg-agent.conf ->
pinentry-program /usr/local/bin/pinentry-mac
3) git config –global gpg.program gpg2
# example: /usr/share/doc/tmux/examples/
# {{{ screen-keys.conf
# $Id: screen-keys.conf,v 1.7 2010/07/31 11:39:13 nicm Exp $
#
# By Nicholas Marriott. Public domain.
#
# This configuration file binds many of the common GNU screen key bindings to
# appropriate tmux key bindings. Note that for some key bindings there is no
# tmux analogue and also that this set omits binding some commands available in
# tmux but not in screen.
/**
* For Google Voice
* @Author zbinlin <zbinlin@outlook.com>
*/
var sleep = delay => new Promise(resolve => setTimeout(resolve, delay));
var composeClick = function x(btn) {
var rect = btn.getBoundingClientRect();
var x = rect.left + rect.width * Math.random();
var y = rect.top + rect.height * Math.random();