Skip to content

Instantly share code, notes, and snippets.

View evildmp's full-sized avatar

Daniele Procida evildmp

  • Canonical
  • Cardiff, Wales
View GitHub Profile
@evildmp
evildmp / House with a hundred rooms
Last active March 7, 2025 14:29
The CHills, House with a hundred rooms
The Chills, House with a hundred rooms
Thunderwarm autumn winds blow,
Their inevitable decay to trees that know
In fresh summer shade where the leaf let go
But just standing still in twilight gloom,
By my house with a hundred rooms,
The lights are for the likes of you.
@evildmp
evildmp / hamlet.py
Last active July 27, 2016 15:10
Hamlet for two voices, in Python
# coding=UTF8
# Hamlet, for two voices
# after Ulises Carrión
#
# https://en.wikipedia.org/wiki/Ulises_Carrión
#
# Ulises Carrión's recording of Hamlet, for two voices:
# https://www.dropbox.com/s/vyi3psnt0da2hu0/Hamlet%20for%20two%20voices.mp3?dl=0
# Requires:
@evildmp
evildmp / notes.md
Last active April 17, 2016 16:25
Loops, self-reference, hierarchies - poetry, programmers, Python
@evildmp
evildmp / poets-programmers-python.md
Last active March 12, 2016 15:42
Poets & programmers and Python at PyCon Slovakia 2016 - resources
About the event
PyCon Namibia is an initiative of the Namibian Python community.
The event aims to bring together 180 attendees from Namibia and around the world, including professional software developers, scientists, academics and students.
Location and dates
PyCon Namibia will be hosted at the main Windhoek campus of the University of Namibia, from the 1st to the 5th February.
Supporters
The event is supported by:
f = open(...)
try:
json.loads(f.read())
except ValueError:
print "Invalid JSON"
raise
finally:
f.close()
import shutil, os
from ds_store import DSStore
PATH_TO_TRASH = '/Users/divio/.Trash/' # for my disk
# PATH_TO_TRASH = '/Volumes/untitled/Trash/' # for the backup disk
PATH_TO_DS_STORE = PATH_TO_TRASH + '.DS_Store'
filelist = []
usable_files = 0
unusable_files = 0

Subject: Your DjangoCon Workshop proposal

Hello ,

Firstly, I would like to apologise for how long we took to get back to you. We received so many workshop proposals that the scheduling took longer than we expected

We'd love to run your workshop at the conference, and we have been able to give you a slot for it.

Can you send us a black and white photograph for the website please?

py26 installdeps: -r/Users/divio/Arkestra/Arkestra/REQUIREMENTS.txt, -e.[test]
/Users/divio/Arkestra/Arkestra$ /Users/divio/Arkestra/Arkestra/.tox/py26/bin/pip install -r/Users/divio/Arkestra/Arkestra/REQUIREMENTS.txt -e.[test] >/Users/divio/Arkestra/Arkestra/.tox/py26/log/py26-1.log
ERROR: invocation failed (exit code 1), logfile: /Users/divio/Arkestra/Arkestra/.tox/py26/log/py26-1.log
ERROR: actionid=py26
msg=getenv
cmdargs=[local('/Users/divio/Arkestra/Arkestra/.tox/py26/bin/pip'), 'install', '-r/Users/divio/Arkestra/Arkestra/REQUIREMENTS.txt', '-e.[test]']
env={'LESS': '-R', 'LC_CTYPE': 'en_GB.UTF-8', 'TERM_PROGRAM_VERSION': '343.7', 'TMPDIR': '/var/folders/0s/8b2x6bm945zfk9ft69rmt3dh0000gn/T/', 'DOCKER_HOST': 'tcp://192.168.59.103:2376', 'LOGNAME': 'divio', 'USER': 'divio', 'PATH': '/Users/divio/Arkestra/Arkestra/.tox/py26/bin:/Users/divio/Arkestra/Arkestra/.env/bin:/Users/divio/bin:/Users/divio/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sb
Getting started with Python
===========================
The Python interpreter
----------------------
Type ``python`` in a terminal window::
$ python
Python 2.7.2+ (default, Jul 20 2012, 22:15:08)