Skip to content

Instantly share code, notes, and snippets.

View geekuillaume's full-sized avatar

Guillaume Besson geekuillaume

View GitHub Profile
@geekuillaume
geekuillaume / An-Anonymous-Pen.markdown
Created November 18, 2013 21:31
A Pen by Secret Sam.
@geekuillaume
geekuillaume / test_main_day03_ex00.c
Last active January 2, 2016 19:09
Test main for ex00 of day03
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include "String.h"
#define KGRN "\x1B[32m"
#define KRED "\x1B[31m"
#define KRES "\033[0m"
#include <string>
#include <iostream>
#include "ex00.hh"
const Cluedo::Weapon::Name Cluedo::Weapon::PartOfTheCrime = Corde;
const Cluedo::Suspect::Name Cluedo::Suspect::PartOfTheCrime = Pr_Violet;
const Cluedo::Room::Name Cluedo::Room::PartOfTheCrime = Veranda;
int main()
{
@geekuillaume
geekuillaume / thread_sync.c
Created March 12, 2014 10:09
Thread sync challenge
#include <semaphore.h>
#include <stdlib.h>
#include <pthread.h>
#include <stdio.h>
#include <unistd.h>
sem_t sem;
pthread_mutex_t mut;
#include <stdio.h>
#include <unistd.h>
int main()
{
gid_t gid;
int childPID;
printf("Start PID : %d\n", getpid());
printf("Start GPID : %d\n", getpgrp());
gid = 0;
#!/usr/bin/env python3
import os
import sys
import getopt
import hmac
import hashlib
import urllib.request
import urllib.parse
import json
{
"bold_folder_labels": true,
"caret_extra_width": 1,
"caret_style": "phase",
"color_scheme": "Packages/User/Tomorrow-Night (SL).tmTheme",
"draw_minimap_border": true,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"file_exclude_patterns":
[
[{"type":"Autre établissement du supérieur","name":"CFPN - Centre de formation professionnelle des notaires","status":"Privé reconnu","address":"2 rue des Juifs","postal":"67080","town":"Strasbourg","district":"Alsace","geo":[48.582839,7.7512422]},{"type":"Autre établissement du supérieur","name":"Ecole Europe technique","status":"Privé hors contrat","address":"23a rue Vauban","postal":"67000","town":"Strasbourg","district":"Alsace","geo":[48.580734,7.7733368]},{"type":"Autre établissement du supérieur","name":"IEQT - Institut européen de la qualité totale","status":"Consulaire","address":"5-15 rue Montaret","postal":"03205","town":"Vichy","district":"Auvergne","geo":[46.1260506,3.4206201]},{"type":"Autre établissement du supérieur","name":"Ecole internationale Tunon","status":"Privé hors contrat","address":"57 rue de Paris","postal":"59000","town":"Lille","district":"Nord-Pas-de-Calais","geo":[50.6351282,3.067351]},{"type":"Autre établissement du supérieur","name":"IXAD - IXAD Ecole des Avocats Nord-Ouest","
Hi All,
I have a deadline I can reach if I get two more hours (it's a video in case you are curious). And I won't if I am on the road, although I enjoy your presence, it a 2 hours I have to work on this video, guess it is definitely pizzas on Wednesday. As to the pizzas, I need help with the Logistics, for instance can we eat in the room, I assume we can there are no computers in the room. Also, you guys bring your own soft drinks.
The mid-term will be mix of questions, that you will have to answer from memory since that part of the test will be pretty easy, just memorize some stuff, really, serious memorized it forever. If see you in 30 years, that would be quite a surprise right? I will 92 at that time thank-you for asking, I will expect that you will still be able to give the answers. You will take it online. If you don't hard memorize everything, well that is your problem. This exam will be given randomly, you can repeat it till you get all of the answers correct.
Part 2 of the exam is your pr

Keybase proof

I hereby claim:

  • I am geekuillaume on github.
  • I am geekuillaume (https://keybase.io/geekuillaume) on keybase.
  • I have a public key ASC6AGZsnHDb0zqxARg5-1ct0gMqsy0pmTW44Ywg0Ei7Cgo

To claim this, I am signing this object: