Skip to content

domcode/rafflers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1911096 · Jul 4, 2016
Feb 3, 2016
Nov 20, 2015
Apr 17, 2015
Apr 20, 2015
Jun 1, 2015
Jun 23, 2016
Feb 4, 2016
Jan 28, 2015
Jan 28, 2015
May 26, 2015
Jun 23, 2016
Feb 2, 2016
Feb 27, 2015
Mar 2, 2015
Mar 2, 2015
Jun 26, 2016
Mar 18, 2016
Mar 16, 2015
Jan 28, 2015
Jun 23, 2016
Feb 6, 2016
Nov 20, 2015
Jun 23, 2016
Jan 28, 2015
Jun 26, 2016
Feb 5, 2015
Jan 28, 2015
Jun 26, 2016
Jun 23, 2016
Jun 23, 2016
Jan 29, 2015
Jun 26, 2016
Jun 26, 2016
Feb 4, 2016
Jan 28, 2015
Jun 23, 2016
Jun 23, 2016
May 7, 2015
Jul 4, 2016
Jan 31, 2015
Nov 20, 2015
Mar 8, 2016
Jun 26, 2016
Mar 8, 2015
Mar 7, 2015
Jun 26, 2016
Jun 23, 2016
Jun 26, 2016
Jun 26, 2016
Jun 26, 2016
Jan 28, 2015
Jan 29, 2015
Jun 23, 2016
Jun 23, 2016
Jun 23, 2016
Jun 26, 2016
Jul 4, 2016
Feb 8, 2016
Jun 26, 2016
Jun 26, 2016
Jul 4, 2016
Jan 26, 2015
Feb 4, 2016
Jun 26, 2016

Repository files navigation

Build Status

rafflers

A collection of fun, funky, esoteric rafflers

Can I submit one?

Yes! Everyone! Even if you're not a member of DomCode. Even if it's already implemented in a language. Be creative. Have fun!

How does it work?

It's easy! Just create a directory in the top level for your raffler.

Each raffler should accept a filename as the first CLI argument. The file will contain a line-delimited list of names, from which the raffler should echo a single random name from. See the example_names file for an example of the format. The file may contain a trailing newline!

You can write it in any language. The weirder the better. If you like insane over engineering, do so! If you like to do it the way you've been telling your junior colleagues not to, go ahead!

Getting Merged Quickly

  • Please supply a Dockerfile so we do not have to install al these weird stuff on our systems directly :-P
  • Wacky GIFs aren't required in your PR but are encouraged (see YoloSR-2).

Dockerised rafflers

Dockerfile example:

FROM baseimage # or a more suitable base container

# Install your dependencies
RUN apt-get install -y deps-you-require

# Compile raffler (if necessary)
RUN /var/app/compile.sh # everything needed to compile your raffler

Perform a raffle using a random Dockerised raffler

$ # make rebuild
$ make raffle NAMES=/tmp/your-names-file

Test that Dockerised rafflers work

$ make test                         # Tests all rafflers
$ make test RAFFLER=remyhonig-elisp # Tests only the raffler in ./remyhonig-elisp