Entre les comparants et les personnes qui adhéreront aux présents statuts, il existe une association régie par la loi du 1er juillet 1901, le décret d'application du 16 août 1901 et les textes en vigueur actuellement l'ayant modifiée ou complétée, ainsi que par lesdits statuts.
This file contains hidden or 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
/usr/bin/plutil -convert xml1 -o - ~/Library/Safari/Bookmarks.plist | grep -E -o '<string>http[s]{0,1}://.*</string>' | grep -v icloud | sed -E 's/<\/{0,1}string>//g' |
This file contains hidden or 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
#!/usr/bin/env python | |
from pocket import Pocket | |
import webbrowser, sys | |
# Get consumer key from cmd line | |
consumer_key = sys.argv[1] | |
request_token = Pocket.get_request_token( | |
consumer_key=consumer_key, |
This file contains hidden or 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
/* DEFINITION | |
f(0) = f(1) = 1 | |
f(n) = f(n - 1) + f(n - 2) | |
f(0) = 1 | |
f(1) = 1 | |
f(2) = 1 + 1 = 2 | |
f(3) = 1 + 2 = 3 | |
f(4) = 2 + 3 = 5 |
This file contains hidden or 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
// ALGORITHME | |
const max2 = (a, b) => (a > b ? a : b); | |
// Version iterative | |
const max_iter = function (T) { | |
if (!T.length) | |
throw "Can't use max() an empty array"; | |
let m = T[0]; |
This file contains hidden or 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
<?php | |
// ALGORITHME | |
function max2($a, $b) { | |
if ($a > $b) { | |
return $a; | |
} else { | |
return $b; | |
} |
This file contains hidden or 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 <iostream> | |
// ALGORITHME | |
int max2(int a, int b) { | |
if (a > b) { | |
return a; | |
} else { | |
return b; | |
} |
This file contains hidden or 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" | |
//stop | |
void stop() | |
{ | |
throw 42; | |
} | |
//operation |
This file contains hidden or 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
#! /usr/bin/python3 | |
# - - - - - - - - - - - | |
# IAMSI - 2016 | |
# joueur d'Awélé | |
# - - - - - | |
# REM: ce programme a été écrit en Python 3. | |
# | |
# En salle machine : utiliser la commande "python3" | |
# - - - - - - - - - - - |