Skip to content

Instantly share code, notes, and snippets.


Guangwang Huang whatacold

View GitHub Profile
becker990 /
Created December 11, 2011 00:00 — forked from turicas/
Layer on top of Python Imaging Library (PIL) to write text in images easily
#!/usr/bin/env python
# coding: utf-8
# You need PIL <> to run this script
# Download unifont.ttf from <> (or use
# any TTF you have)
# Copyright 2011 Álvaro Justen [alvarojusten at gmail dot com]
# License: GPL <>
from image_utils import ImageText
pvdb /
Last active March 7, 2022 12:51
List all targets (sometimes incorrectly referred to as "goals") in a GNU Makefile
# this gist can be used to list all targets, or - more correctly - rules,
# that are defined in a Makefile (and possibly other included Makefiles)
# and is inspired by Jack Kelly's reply to a StackOverflow question:
# I also found this script - - which does
# something similar using awk, but it extracts targets from the "static" rules from a single
# Makefile, meaning it ignores any included Makefiles, as well as targets from "dynamic" rules