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 / 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)
The 2015 edition of DjangoCon Europe, the biggest event in the international Django community’s calendar, will be held in Cardiff (Wales) 2nd-7th June.
<http://2015.djangocon.eu>
We’re putting a huge emphasis on diversity and accessibility at this event, to encourage more women and members of other minorities in the field to attend and submit proposals for talks.
<http://2015.djangocon.eu/welcome/diversity/>
<http://2015.djangocon.eu/welcome/accessibility/>
We’ve also taken the unusual step of opening registration only to members of under-represented groups for the first month: <http://2015.djangocon.eu/news/registration-opens/>.
Rules for using technical words in documentation
------------------------------------------------
There should be one consistent way of rendering any technical word. Please follow these rules:
In general use, simply use the word as if it were any ordinary word, with no capitalisation or
highlighting: "Your placeholder can now be used."
At the start of sentences or titles, capitalise in the usual way: "Placeholder management guide".