Skip to content

Instantly share code, notes, and snippets.

📅 Monday 13 October 2025

Distance totale : 5.52 km Durée estimée : 66.3 min

🏃‍♂️ Étapes du parcours

Étape Bar départ Événement départ Bar arrivée Événement arrivée Distance (km) Durée (min)
1 Décapsule Club Triple TTO 8 becs - Aviateur x Hoppycampe x Preset La Tireuse TTO - Brasserie Burtonian 1.63 19.5
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@albang
albang / randomizer.py
Created January 24, 2016 21:36
Song randomizer for baby mp3 player
#!/usr/bin/env python
import os
import random
import string
from mutagen.mp3 import MP3
def id_generator(size=6, chars=string.ascii_uppercase + string.digits):
return ''.join(random.choice(chars) for _ in range(size))
@albang
albang / fuzzing_password.py
Created January 5, 2016 16:41
le script génére une liste de mot/password à partir de caractère prédéfinis.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def forkletter(baseword = "",indice = 0):
if master_len > indice:
for lettre in master_list[indice]:
if lettre != " ":
forkletter(baseword + lettre,indice + 1)
else:
forkletter(baseword, indice + 1)
@albang
albang / gist:5211f9a863918161223d
Created October 30, 2015 16:59 — forked from Mithrandir0x/gist:3619682
"Example" style used in Bootstrap documentation.
.bs-docs-example
{
position: relative;
margin: 15px 0;
padding: 39px 19px 14px;
background-color: white;
border: 1px solid #DDD;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
@albang
albang / Sec_my_internet.sh
Created January 23, 2015 09:01
[Quick and dirty] Script shell pour lancer un tunnel ssh et lancer firefox
#!/bin/bash
#Sec_my_internet.sh
#20150123: Script creation
#version=0.1
proxy_ip=""
echo "Securisation de la connexion:"
port_redirection=$(netstat -laputen 2> /dev/null |grep ssh |grep LISTEN |grep "tcp "|wc -l)
echo "Connexion au server:"
if [[ $port_redirection -ne 1 ]]
@albang
albang / gist:9454593
Created March 9, 2014 21:08
backup pour les nuls
#!/bin/bash
USER=""
HOST=""
DATE=$(date +'%Y-%m-%d')
CONF_FILE=".backup.conf"
RETENTION_TIME=60 #jours
for line in $(cat $CONF_FILE)
do
LOCAL_DIRECTORY=$(echo $line |cut -d: -f2)
@albang
albang / bashlib0.1
Last active January 3, 2016 12:29
bibliothèque pour script bash evolué (ou pas)
#!/bin/bash
#Ecris par Alban, inspiré par riad
#### Changelog ####
#0.1 :Initial release
#Ce fichier contient plusieurs fonctions :
#ecrire en couleur
#
#possiblilités :
@albang
albang / range_horaire_sql
Created December 26, 2013 11:03
Utiliser des ranges horaires sur mysql avec un timestamp!
SELECT * FROM nomDeLaTable WHERE FROM_UNIXTIME(timestamp,'%H') >= '18' AND FROM_UNIXTIME(timestamp, '%H') < '20'
@albang
albang / BackupMyDatabase.py
Created December 6, 2013 14:18
rsync backup python with retention time
#/usr/bin/python
import sys
import os.path
from subprocess import call
from datetime import datetime
import logging
from datetime import timedelta
def backupDir(psServer,psRsyncSource,psBackupDir):
try: