Skip to content

Instantly share code, notes, and snippets.

View awhillas's full-sized avatar

Alexander Whillas awhillas

View GitHub Profile
@jmeekhof
jmeekhof / Dockerfile
Last active January 17, 2019 00:08
quick and dirty docker for python-lambda
FROM amazonlinux
RUN yum update -y && \
yum install -y shadow-utils \
which \
gcc \
zlib \
zlib-devel \
openssl \
openssl-devel \
@goodevilgenius
goodevilgenius / fortune_variety_quotes.py
Last active October 28, 2023 05:09
[Variety fortune plugin] Plugin for Variety background changer that uses the UNIX fortune program as a quotes source
#!/usr/bin/python
from variety.plugins.IQuoteSource import IQuoteSource
import subprocess, re
from locale import gettext as _
class FortuneSource(IQuoteSource):
@classmethod
def get_info(cls):
return {