Skip to content

Instantly share code, notes, and snippets.

Avatar
😒

Spyros Stathopoulos foucault

😒
View GitHub Profile
View golang-buster-slim.Dockerfile
FROM docker.io/debian:buster-slim
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates \
wget \
gnupg \
; \
rm -rf /var/lib/apt/lists/*
View checkupd.py
#!/usr/bin/python
import ctypes
import difflib
import glob
import json
import os
import os.path
import re
import requests
View make-bootable-alpine.sh
#!/bin/bash
ARCH="x86_64"
TARGET="/tmp/alpinefs"
ROOTGZ="/tmp/alpine-rootfs.tar.gz"
MIRROR="http://dl-cdn.alpinelinux.org/alpine"
echoerr() {
printf "%s\n" "$*" >&2;
}
@foucault
foucault / middle-click-emu-enable.py
Last active Aug 12, 2017
Enable middle click emulation with xinput
View middle-click-emu-enable.py
#!/usr/bin/python
# 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
View keybase.md

Keybase proof

I hereby claim:

  • I am foucault on github.
  • I am spystath (https://keybase.io/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: