Skip to content

Instantly share code, notes, and snippets.

View mverteuil's full-sized avatar
🍇
Doing grape, thanks for asking.

M. de Verteuil mverteuil

🍇
Doing grape, thanks for asking.
View GitHub Profile
@mverteuil
mverteuil / Makefile
Created May 24, 2019 22:24 — forked from prwhite/Makefile
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@mverteuil
mverteuil / auto-sign-commits-mac.md
Created October 25, 2018 20:48 — forked from lucko/auto-sign-commits-mac.md
Auto-sign commits with IntelliJ on MacOS

Run:

  • brew install gnupg gnupg2 pinentry-mac
  • git config --global user.signingkey <key>
  • git config --global commit.gpgsign true
  • git config --global gpg.program gpg

Followed by:

  • nano ~/.gnupg/gpg.conf
import socket
import struct
import sys
from httplib import HTTPResponse
from BaseHTTPServer import BaseHTTPRequestHandler
from StringIO import StringIO
import gtk
import gobject