Skip to content

Instantly share code, notes, and snippets.

RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates \
wget \
gnupg \
; \
rm -rf /var/lib/apt/lists/*
import ctypes
import difflib
import glob
import json
import os
import os.path
import re
import requests
echoerr() {
printf "%s\n" "$*" >&2;
foucault /
Last active August 12, 2017 00:40
Enable middle click emulation with xinput
# This small script will enable middle click emulation for all pointing
# devices available. For some reason GNOME does not expose any option at all
# for middle click emulation so the only way to enable it is through the
# `xinput` program, which must be installed for the script to work
from subprocess import check_output, check_call
import re

Keybase proof

I hereby claim:

  • I am foucault on github.
  • I am spystath ( on keybase.
  • I have a public key whose fingerprint is 3915 72CF 5690 CAF6 0BB3 20C6 A68E 5115 BB81 7582

To claim this, I am signing this object: