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
#!/bin/bash | |
# Auteur : Tlams | |
# Date : 13/02/13 | |
# Script description : Permet de monter un serveur OPENVPN de façon guidé ! | |
############# Liste des fonctions:############### | |
## Menu: Permet d'afficher le menu de choix | |
## downloadopenvpn: Permet de télécharger OpenVPN | |
## config_openvpn: Configuration de OPENVPN | |
## conf_var: Permet de modifier les variables du fichier "var" afin d'avoir certaines configurations prè-enregistrés lors de la création d'un certificat. |
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
############################################################################# | |
# Full Imports | |
import math | |
import random | |
""" | |
This is a pure Python implementation of the K-Means Clustering algorithmn. The | |
original can be found here: | |
http://pandoricweb.tumblr.com/post/8646701677/python-implementation-of-the-k-means-clustering |