Skip to content

Instantly share code, notes, and snippets.

View EmmaSimon's full-sized avatar

Emma Simon EmmaSimon

View GitHub Profile
@EmmaSimon
EmmaSimon / gist:2826f7c3f902ed3c1269fda4daa849e4
Last active February 19, 2018 00:13
paw not pointed 2 stitch 2
row 1 (rs): k2, *yo, k3, k2tog, k2, repeat from * to last 10 sts, k2tog, yo, k6, yo, ssk.
row 2: p2, *p2tog, p2, yo, p3, repeat from * to last 3 sts, p3.
row 3: k3, *yo, k2, ssk, k2tog, k1, yo, repeat from * to last 2 sts, k2.
row 4: k2, *yo, k1, ssk, k2tog, k2, yo, repeat from * to last 3 sts, k3.
row 5: k3, *k2tog, k1, yo, k1, yo, k1, ssk, repeat from * to last 2 sts, k2.
row 7: k2, *yo, k3, k2tog, k2, repeat from * to last 3 sts, k3.
repeat rows 3-6.
@EmmaSimon
EmmaSimon / cmus_notify.py
Last active June 28, 2018 10:55
Gnome notifications for cmus
#!/usr/bin/python3
# Based on https://github.com/cmus/cmus/wiki/cmus_status.py
# Switches to python3, and adds back, forward, and pause buttons
# Requirements:
# * PyGObject - https://pygobject.readthedocs.io/en/latest/getting_started.html
# Optional (for image display):
# * Pillow - pip install Pillow
# * mutagen - pip install mutagen
import gi