In urls.py
# urls like "articles/2011/tutorial03" or "articles/2011/tutorial03.html"
urlpatterns = patterns('',
(r'articles/(?P<year>(?U)\\d+)/(?P<item>(?U)[^/]+)(?:\\.htm(?:l)?)?/?\$', 'articles.detail'),
)
israfel:~ almad$ cd /tmp | |
israfel:tmp almad$ git clone git://github.com/paver/paver.git | |
Cloning into paver... | |
remote: Counting objects: 1937, done. | |
remote: Compressing objects: 100% (579/579), done. | |
remote: Total 1937 (delta 1400), reused 1872 (delta 1335) | |
Receiving objects: 100% (1937/1937), 842.45 KiB | 181 KiB/s, done. | |
Resolving deltas: 100% (1400/1400), done. | |
israfel:tmp almad$ cd paver/ | |
israfel:paver almad$ python setup.py sdist |
Scenarios created by Petr Svoboda, kudos to @centrumholdings Operations Department | |
############# | |
# Scenario no. 1 | |
# | |
# @psvo-lenny32 | |
rabbitmqctl stop_app | |
rabbitmqctl reset | |
rabbitmqctl start_app |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
fabfile for Django | |
------------------ | |
see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/ | |
modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle) | |
several additions, corrections and customizations, too |
:⌉ | |
=⌉ | |
¦-) as opposed to | | |
☺ | |
☹ | |
☻ | |
⍣ | |
⍤ | |
⍥ om nom nom | |
⍨ |