« Choisir le vélo », organise un ciné-débat autour du film « Why we cycle » de Niew et Verbeterd

La Ville de Biot, en partenariat avec l’association « Choisir le vélo », organise un ciné-débat autour du film « Why we cycle » de Niew et Verbeterd, le jeudi 7 novembre à 19h à la Salle Paul Gilardi de Biot.

https://www.biot.fr/agenda/why-we-cycle-pedalons-de-nieuw-verbeterd-projection-film-suivie-dun-debat/

Aux Pays-Bas, faire du vélo est aussi naturel que de respirer. Nous n’y pensons même pas, nous le faisons tout simplement. Le fait que nous n’y réfléchissions pas est peut-être la clé du succès du vélo dans ce pays. Mais comme nous n’y pensons pas du tout, nous ne savons pas vraiment quels sont les besoins les plus profonds des cyclistes. Dans le documentaire « Pourquoi nous pédalons », nous rencontrons des cyclistes ordinaires et des spécialistes de diverses disciplines. Ces échanges révèlent certains effets évidents, mais aussi des effets cachés du cyclisme sur les personnes, les sociétés et l’organisation des villes.

Voir CLIMATE CENTRAL https://coastal.climatecentral.org/

Lien

Voir le site : https://coastal.climatecentral.org/ .

Plus près de chez nous :

GNUPLOT : Pour l’analyse de mon script de débit

Voici donc les résultats ( cela fait suite à l’article https://www.cyber-neurones.org/2019/10/mon-script-de-test-de-debit/ ) :

Les scripts :

#!/usr/bin/gnuplot

set terminal png font "helvetica"
set output 'speed_tele2_graph.png'

set title "Download with tele2.net "
set timestamp "Last updated: %m/%d/%Y, %H:%M" top

set xlabel "Date (mm/yy)"
set timefmt "%Y/%m/%d %H:%M:%S"
set xdata time
set format x "%d"

set ylabel "Kbit/s"
set yrange [ 0 : ]

set key left
set grid
set datafile separator whitespace

plot '/var/run/speed.log'     using 1:4 t 'Used' with lines

#!/usr/bin/gnuplot

set terminal png font "helvetica"
set output 'speed_connect_google_graph.png'

set title "Time connect google "
set timestamp "Last updated: %m/%d/%Y, %H:%M" top

set xlabel "Date (mm/yy)"
set timefmt "%Y/%m/%d %H:%M:%S"
set xdata time
set format x "%d"

set ylabel "ms"
set yrange [ 0 : ]

set key left
set grid
set datafile separator whitespace

plot '/var/run/speed.log'     using 1:5 t 'Used' with lines

#!/usr/bin/gnuplot

set terminal png font "helvetica"
set output 'speed_lockup_google_graph.png'

set title "Time lockup google "
set timestamp "Last updated: %m/%d/%Y, %H:%M" top

set xlabel "Date (mm/yy)"
set timefmt "%Y/%m/%d %H:%M:%S"
set xdata time
set format x "%d"

set ylabel "ms"
set yrange [ 0 : ]

set key left
set grid
set datafile separator whitespace

plot '/var/run/speed.log'     using 1:6 t 'Used' with lines

#!/usr/bin/gnuplot

set terminal png font "helvetica"
set output 'speed_ping_google_graph.png'

set title "Time ping google "
set timestamp "Last updated: %m/%d/%Y, %H:%M" top

set xlabel "Date (mm/yy)"
set timefmt "%Y/%m/%d %H:%M:%S"
set xdata time
set format x "%d"

set ylabel "ms"
set yrange [ 0 : ]

set key left
set grid
set datafile separator whitespace

plot '/var/run/speed.log'     using 1:8 t 'Used' with lines

#!/usr/bin/gnuplot

set terminal png font "helvetica"
set output 'speed_softplayer_graph.png'

set title "Download with softplayer.com "
set timestamp "Last updated: %m/%d/%Y, %H:%M" top

set xlabel "Date (mm/yy)"
set timefmt "%Y/%m/%d %H:%M:%S"
set xdata time
set format x "%d"

set ylabel "Kbit/s"
set yrange [ 0 : ]

set key left
set grid
set datafile separator whitespace

plot '/var/run/speed.log'     using 1:3 t 'Used' with lines

Mon script de test de débit

J’ai fait un petit script (pas vraiment fini …) pour tester mon débit … à suivre dans un mois pour l’exploitation des résultats.

..
osmc@osmc:~$ cat myscript.bash
#!/bin/bash
# ARIAS Frederic

#
# For MAC OS do
# brew install coreutils
# brew install grep
#

UNAME="$(uname -s)"

case "$UNAME" in 
'Darwin')
GREP="ggrep"
TIMEOUT="gtimeout"
OUTPUT="./myoutput.txt"
OUTPUT2="./myoutput2.txt"
STAT="stat -f %z "
MYRESULT="./speed.log"
;;
'Linux')
GREP="grep"
TIMEOUT="timeout"
STAT="stat --printf=%s "
        OUTPUT="/tmp/myoutput.txt"
        OUTPUT2="/tmp/myoutput2.txt"
MYRESULT="/var/run/speed.log"
;;
*)
        GREP="grep"              
        TIMEOUT="timeout"        
        STAT="stat --printf='%s' " 
        OUTPUT="/tmp/myoutput.txt"
        OUTPUT2="/tmp/myoutput2.txt"
        MYRESULT="/var/run/speed.log"
;;
esac

PROVIDER="$(curl -s https://www.whoismyisp.org | ${GREP} -oP -m1 '(?<=isp">).*(?=</p)')"
echo "My Provider '${PROVIDER}'"
DATE=$(date '+%Y/%m/%d %T')

case "$PROVIDER" in
     'Orange')
     echo "Test pour Orange"
     TEST="$(${TIMEOUT} 10 wget -q http://speedtest.wdc01.softlayer.com/downloads/test500.zip -O ${OUTPUT})"
     VAL="$(${STAT} ${OUTPUT})"
     SPEED="$(expr ${VAL} / 10 / 1024 )"
     TEST2="$(${TIMEOUT} 10 wget -q http://speedtest.tele2.net/100MB.zip -O ${OUTPUT})"
     SPEED2="$(expr $(${STAT} ${OUTPUT}) / 10 / 1024 )"
     GOOGLE="$(curl -s -w 'Testing Website Response Time for :%{url_effective}\n\nLookup Time:\t\t%{time_namelookup}\nConnect Time:\t\t%{time_connect}\nAppCon Time:\t\t%{time_appconnect}\nRedirect Time:\t\t%{time_redirect}\nPre-transfer Time:\t%{time_pretransfer}\nStart-transfer Time:\t%{time_starttransfer}\n\nTotal Time:\t\t%{time_total}\n' -o /dev/null https://www.google.com > ${OUTPUT2})"
     SPEEDGOOGLE="$(${GREP} 'Connect' ${OUTPUT2} | awk '{print $3}')"
     LOOKUPGOOGLE="$(${GREP} 'Lookup' ${OUTPUT2} | awk '{print $3}')"
     PINGGOOGLE="$(ping -q -c1 8.8.8.8 > /dev/null 2>&1 && echo "OK" || echo "KO")"
     PINGGOOGLETIME="$( ping -c1 8.8.8.8 | ${GREP} ttl | awk '{print $7}' | sed 's/=/ /g' | awk '{print $2}')"
     ;;
     'Bouygues')
     echo ""
     ;;
     'Free')
     echo ""
     ;;
     'SFR')   
     echo ""                         
     ;;   
     *)
     TEST="$(timeout 10 wget -q http://speedtest.wdc01.softlayer.com/downloads/test500.zip -O /tmp/temp10sec)"
     SPEED="$(expr $(stat --printf="%s" /tmp/temp10sec) / 10 / 1024 )"
     TEST2="$(timeout 10 wget -q http://speedtest.tele2.net/100MB.zip -O /tmp/temp10sec)"
     SPEED2="$(expr $(stat --printf="%s" /tmp/temp10sec) / 10 / 1024 )"
     GOOGLE="curl -s -w 'Testing Website Response Time for :%{url_effective}\n\nLookup Time:\t\t%{time_namelookup}\nConnect Time:\t\t%{time_connect}\nAppCon Time:\t\t%{time_appconnect}\nRedirect Time:\t\t%{time_redirect}\nPre-transfer Time:\t%{time_pretransfer}\nStart-transfer Time:\t%{time_starttransfer}\n\nTotal Time:\t\t%{time_total}\n' -o /dev/null https://www.google.com > /tmp/testGoogle.txt"
     SPEEDGOOGLE="$(grep 'Connect' /tmp/testGoogle.txt | awk '{print $3}')"
     LOOKUPGOOGLE="$(grep 'Lookup' /tmp/testGoogle.txt | awk '{print $3}')"
     PINGGOOGLE="$(ping -q -w1 -c1 8.8.8.8 > /dev/null 2>&1 && echo "OK" || echo "KO")"
     PINGGOOGLETIME="$( ping -w 1 8.8.8.8 | grep ttl |awk '{print $7}' | sed 's/=/ /g' | awk '{print $2}')"
     ;;
esac

echo "${DATE}   ${SPEED}        ${SPEED2}       ${SPEEDGOOGLE}  ${LOOKUPGOOGLE} ${PINGGOOGLE} ${PINGGOOGLETIME}" >> /var/run/speed.log