This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.python.org/3/distutils/builtdist.html#cross-compiling-on-windows | |
python setup.py build --plat-name=win-amd64 | |
python setup.py build --plat-name=win32 | |
python setup.py build --plat-name=win-amd64 bdist_wininst | |
Usage: | |
pip install [options] <requirement specifier> [package-index-options] ... | |
pip install [options] -r <requirements file> [package-index-options] ... | |
pip install [options] [-e] <vcs project url> ... | |
pip install [options] [-e] <local project path> ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collections | |
import random | |
chiffres, lettres = '0123456789', 'abcdefghijklmnopqrstuvwxyz' | |
regles = (line.strip() for line in open('pop.txt') if line.strip() and not line.startswith("//")) | |
def valgen(dep, diff = 0, sent=-1): | |
while dep != sent: | |
dep = (yield dep) or dep + diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <time.h> | |
#include "max.h" | |
#define LARGEUR_DAMIER (17) | |
#define HAUTEUR_DAMIER (16) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <time.h> | |
#define LARGEUR_DAMIER (17) | |
#define HAUTEUR_DAMIER (16) | |
#define LONGUEUR_DAMIER (LARGEUR_DAMIER * HAUTEUR_DAMIER) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#include <time.h> | |
#define LARGEUR_DAMIER (17) | |
#define HAUTEUR_DAMIER (16) | |
#define LONGUEUR_DAMIER (LARGEUR_DAMIER * HAUTEUR_DAMIER) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <time.h> | |
#include <string.h> | |
#include <memory.h> | |
#define LARGEUR_DAMIER (7) | |
#define HAUTEUR_DAMIER (6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <time.h> | |
#define LARGEUR_DAMIER (7) | |
#define HAUTEUR_DAMIER (6) | |
#define LONGUEUR_DAMIER (LARGEUR_DAMIER * HAUTEUR_DAMIER) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <time.h> | |
#define LARGEUR_DAMIER (7) | |
#define HAUTEUR_DAMIER (6) | |
#define LONGUEUR_DAMIER (LARGEUR_DAMIER * HAUTEUR_DAMIER) | |
#define LONGUEUR_VICTOIRE (4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Meithal @github | |
* | |
* Splits a string into several strings every new line and return a pointer to the first one | |
* The very last string will be \0 | |
* Will be ub for lines > 50 | |
* Doesn't free | |
* Doesnt check for several functions return values | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
label start: | |
call screen master | |
"[_return]" | |
$ foo = renpy.call_screen("master") | |
$ renpy.say(None, _return) | |
$ renpy.say(None, foo) | |