Skip to content

Instantly share code, notes, and snippets.

@brunobord
brunobord / debug_middleware.py
Last active February 27, 2018 11:21
A Django Debug Middleware class
import warnings
class DebugMiddleware(object):
"""
Dummy debug middleware. For Developers only.
Simply add it at the end of your MIDDLEWARE_CLASSES, in your
:file:`local.py`, for example, like this::
MIDDLEWARE_CLASSES += ['peopleask.toolkit.middlewares.DebugMiddleware']
@brunobord
brunobord / changelog.md
Last active September 15, 2018 09:32
minimal d6ringer, a Wild West minimald6 settings

Changelog

master

  • typofix "duelist" -> "duelists"
  • Updated link to the original minimald6 page.

v0.0-DRAFT2 (2018-02-08)

  • renamed the game -> minimal d6ringer.
@brunobord
brunobord / static.py
Last active June 15, 2020 00:30
Simple static server in Python
#!/usr/bin/env python3
"""
Usage:
./static.py # serve current directory on port 8080
./static.py --port 9090 /path/to/serve
Why that? because `python -m http.server` can't serve a specified directory.
What's the use case? Let's say we're building a Sphinx documentation, situated
@brunobord
brunobord / pirate-so1um.md
Last active September 15, 2017 21:04
The quest of Tommy "Blue-eye" Shifter

The quest of Tommy "Blue-eye" Shifter

A solo RPG adventure using So1um v0.4, by Matt Jackson.

Character generation

Name: Tommy "Blue-eye" Shifter

Body: 3
diff --git a/brennus.py b/brennus.py
index 247eca6..36f6aa4 100644
--- a/brennus.py
+++ b/brennus.py
@@ -4,4 +4,5 @@ from workalendar.europe import France
class ClermontFerrand(France):
FIXED_HOLIDAYS = France.FIXED_HOLIDAYS + (
(5, 29, "Brennus 2010"),
+ (6, 4, "Brennus 2017"),
)
@brunobord
brunobord / index_card_dnd.fr.md
Created March 28, 2017 19:55
D&D sur fiche bristol

D&D sur fiche bristol

Tout le monde invente un élément de chaque. Faites-en quelque chose d'intéressant, mais n'en faites pas un roman. Mélangez les classes et distribuez-les. On ne peut pas démarrer avec la classe qu'on a inventé. Écrivez vos PV et les autres scores sur un bout de papier ou une fiche bristol. Mélangez les salles et écartez-en une. Mélangez tout le reste et tirez une des cartes quand vous cherchez quelque chose. De manière optionnelle, vous pouvez déclarer que vous cherchez des pièges avant de tirer la carte, et lancer un d20 pour égaler le ND du piège.

Combat – lancez un d6 pour l'initiative, un pour les PJs, un pour les monstres. Départagez les ex-aequo en relançant. Les monstres désignent aléatoirement leurs cibles. Pas besoin de miniatures ou de plan pour le champ de bataille. Si un membre du groupe est niveau 4, doublez le nombre de monstres présents.
Sorts – dépensez une partie de votre réserve de d6 pour essayer de lancer un sort. Si la somme de dés atteint au moins le ND

@brunobord
brunobord / smuggler-so1um.md
Last active January 19, 2017 23:42
The Star Smuggler so1um

The tale of Jet Starrow

A solo RPG adventure using the so1um v0.2 rules

Character generation

Name: Jet Starrow, smuggler

Body: 2
Mind: 2
@brunobord
brunobord / sword-and-backpack-en.md
Created December 16, 2016 22:50
Sword & Backpack

Sword and Backpack

A tabletop role playing game for the young adventurer

The Sword & Backpack RPG

In the world of Sword & Backpack you are a young explorer just beginning a career of high adventure in a fantastic and dangerous land. You live in a vast kingdom of boundless and supernatural wonder, of busy cities and sleepy villages, of gloomy dungeons and haunted ruins. You are eager to see and experience all of it, but because you are at the start of your adventure, you don't have much to your name! You will set out with a only a sword (or spellbook or lockpicks), a roomy backpack and a group of like minded adventurers.

How to play

@brunobord
brunobord / meuh.md
Created November 22, 2016 09:31
Meuh

Meuh?

meuh.

@brunobord
brunobord / sentinelles-sylvestres.md
Created September 7, 2016 19:51
Sentinelles Sylvestres

Tu es une...

Sentinelle Sylvestre

jeu de rôle pour écolo-warrior en herbe (mais pas que), d'après Robot Ranger par Éric Nieudan.

Choisis ton Nom et ton apparence / origine : Elfe, Farfadet, Lutin, Troll, Gnome, Sylphe, Nymphe, Pixie, etc.

Choisis un Trait par colonne :