Skip to content

Instantly share code, notes, and snippets.

View parastuffs's full-sized avatar
🐦

Quentin Delhaye parastuffs

🐦
  • ECAM
  • Brussels
View GitHub Profile
@parastuffs
parastuffs / ARIA_perso.md
Last active May 10, 2021 16:18
ARIA - Création de personnage

Création de personnage.

  1. Caractéristiques

À répéter cinq fois : lancer 3d6 et choisir (1) de garder le résultat de côté ou (2) relancer les dés. On peut relancer une seule fois les dés, le nouveau résultat écrasant le précédent, même s'il est pire.

Une fois les cinq résultats obtenus, on les attribue à chaque caractéristique.

  1. Compétences : bases
@parastuffs
parastuffs / ULB Exchange on Thunderbird.md
Last active November 28, 2023 10:37
ULB Exchange on Thunderbird

So you want to use your professional @ulb.be email address in a non-Outlook application? Silly you, as if it would be straightforward and a well thought out entreprise-wide migration.

Easy, but not free way

Install the ExQuilla extension, then add your account through its dedicated menu in the options. By the end of the 30-days trial, you should receive a banner notification in Thunderbird to purchase a licence (10€/year).

Almost as easy and free

  1. Install DavMail.
  2. Do yourself a favor and autostart it at boot.
<?php
function Zip($source, $destination)
{
$EXCLUSION = "~(backup)|(machin/temp)~";
if (!extension_loaded('zip')) {
echo("zip extension not loaded.");
return false;
}
if (!file_exists($source)) {
@parastuffs
parastuffs / book-order.py
Created May 12, 2020 13:33
Print order for a book
TOTAL_PAGES = 292
leaflets = 73
n = 4 # pages per sheet
l = 5 # sheets per leaflet
firstPage = 197
order = list()
i = 0
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
int main(void){
int etat = 1;
bool a = false;
bool b = false;
bool alarm = false;
bool door = false;
# -*- coding: cp1252 -*-
from __future__ import division # http://stackoverflow.com/questions/1267869/how-can-i-force-division-to-be-floating-point-division-keeps-rounding-down-to-0
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import linregress
from matplotlib.dates import date2num
from datetime import datetime, date
EPS = 1e-7
LOGEPS = -2
@parastuffs
parastuffs / main.c
Created April 25, 2018 09:21
ELECH473 - Arthur Valingot - Lab 2 AT&T version
// ConsoleApplication2.cpp : Defines the entry point for the console application.
//
#include <stdlib.h>
#include <stdio.h>
// #include <windows.h>
// #pragma warning(disable : 4996)
/*
@parastuffs
parastuffs / multithreading.c
Last active April 24, 2019 07:16
Multithreading with pthread
/**
* This needs to be compiled with the pthread library.
* Command line: gcc -lpthread multithread.c
* In CodeBlocks: in the project build options, go in the "Linker settings" tab
* and add -lpthread in the "Other linker options" area.
**/
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
@parastuffs
parastuffs / decToOct.c
Last active January 8, 2018 13:48
ELECH305 - Examen janvier 2018
#include <stdio.h>
#include <stdlib.h>
#include <string.h> /* memset */
#include <math.h> /* log */
/* ELECH305 - Janvier 2018
-------------------------------------------------------------------------------------------------
Complétez le code suivant pour que le nombre entier entré par l'utilisateur soit écrit en base 8.
int main()

2016-10-25 - Talbot

  • Rejette la notion d'échec, du moins dans le secondaire.
  • À chaque période de démocratisation, on a de nouveaux étudiants qui ont accès à l'éducation. Donc le métier d'enseignant évolue.
  • Le problème des liaisons concerne la transition entre les étapes d'éducation : primaire - secondaire inférieur - secondaire supérieur - travail.
  • Téléologie est la science des buts
  • ZEP => discrimination positive.
    • TP: un prof gérait en mettant en place des solutions de socio-constructivisme, tandis qu'un autre avait une relation duelle avec ses élèves, il n'y avait pas d'interaction entre les élèves.
  • Psychométrie : mesure de l'intelligence.