Skip to content

Instantly share code, notes, and snippets.

View Taluu's full-sized avatar
🖕
vim is the true editor !

Baptiste Clavié Taluu

🖕
vim is the true editor !
View GitHub Profile
@Taluu
Taluu / vivi.py
Created March 23, 2012 10:22 — forked from anonymous/vivi
python code vianney
# -*- coding: cp1252 -*-
"""décomposition de la base d'image MNIST"""
import os
import struct
import PIL # ligne à supprimer si on n'a pas besoin des images
import PIL.Image as PIM # ligne à supprimer si on n'a pas besoin des images
def transcription_entier (str) :
"""convertit un entier lu en format binaire en entier"""
@Taluu
Taluu / gist:4434568
Last active December 10, 2015 12:29 — forked from anonymous/gist:4434564
plans_block_title: "Welcome into Wisembly's community !"
plans_block_intro: "More than 200 enterprises in the world are using Wisembly. Join the community and manage memorables meetups."
free_use: "\o/ A job for captain obvious. I think."
abo_now: "Suscribe now"
free_claim: "Create a new wiz in 30 seconds. It is free, and you won't need any credit cards."
create_your_wiz: "Captain obvious is asked at the reception desk. Thank you."
label_email: "Email"
free_wiz_notice: "Your wiz will be operationnal but will be limited up to 5 users"
abo_claim: "You will have to pay monthly (without any engagements), regardless of the number of events you have. It is simple and yet so flexible !"
@Taluu
Taluu / feature.php
Last active December 10, 2015 22:38
<?php
class ApiContext
{
//...
/**
* Sends a request with a body and token
* This function is used to pass an array in the JSON. If your data is only simple values, prefer sendRequestWithTokenAndValues
*
* @Given /^I sent a post request (?:on|to) "(?P<url>(?:[^"]|\\")*)" with my token and this body :$/

Wording

We will develop an awesome game named Da Movie Quizz, which will will test the cinematographic culture of the player. The main purpose is very simple:

Each round, we suggest an actor and a movie poster. The player must say if the actor has performed in the movie or not.

At the first wrong answer, game over. As long as the player gives a right answer, the game continues.

Simple, basic and fun !

What we expect