From 921597ac72815ebb0d071b6ef25267f05228af35 Mon Sep 17 00:00:00 2001 From: tTh Date: Fri, 14 Dec 2018 00:53:08 +0100 Subject: [PATCH 1/3] clean th doc --- README.md | 20 +++++++++++++++++++- gnocchi/README.md | 4 ++-- influxdb/README.md | 2 -- rrdb/README.md | 2 +- 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 54cde11..315e02f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ -# DD2 monitoring tools +## DD2 monitoring tools + +Expérimentations et recherches dans le but de construire un système +de _monitoring_ pour le futur Phytotron du Tetalab. + +Le but premier de ce système est de faciliter la mise au point d'un +automate de contrôle de l'enceinte thermostatée. Nous devrons +surveiller température et humidité du dd2, et température du +confinement biologique. + +Pour en savoir plus sur ce passionnant projet, il y a le canal IRC +`#tetalab` sur le réseau Freenode et/ou les rencontres du mercredi +soir au DD2, à Mixart-Myrys. + + + + + + diff --git a/gnocchi/README.md b/gnocchi/README.md index ea63666..643e7ed 100644 --- a/gnocchi/README.md +++ b/gnocchi/README.md @@ -2,9 +2,9 @@ # blabla commercial -https://gnocchi.xyz/ -_The problem that Gnocchi solves is the storage and indexing of + +_The problem that [Gnocchi](https://gnocchi.xyz/) solves is the storage and indexing of time series data and resources at a large scale. This is useful in modern cloud platforms which are not only huge but also are dynamic and potentially multi-tenant. diff --git a/influxdb/README.md b/influxdb/README.md index 6d2fdfc..8a603ab 100644 --- a/influxdb/README.md +++ b/influxdb/README.md @@ -1,5 +1,3 @@ - - ## InfluxDB # Blabla commercial diff --git a/rrdb/README.md b/rrdb/README.md index 6632e81..2c69ae5 100644 --- a/rrdb/README.md +++ b/rrdb/README.md @@ -1,3 +1,3 @@ - +## Round Robin Database Un grand classique du genre. From 7df1e54e6b63d43a6f7a7a8c2677583b58fafb88 Mon Sep 17 00:00:00 2001 From: tTh Date: Mon, 1 Apr 2019 20:44:24 +0200 Subject: [PATCH 2/3] wtf ? --- exemple.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exemple.sh b/exemple.sh index 60a0d84..d3cafd4 100755 --- a/exemple.sh +++ b/exemple.sh @@ -4,7 +4,7 @@ DATAFILE=/tmp/fake-datafile #----- collect the datas > ${DATAFILE} -for s in $(seq 1 2000) +for s in $(seq 1 1000) do v=$(./fake-values -s -t 1 2> /dev/null) echo $s $v >> ${DATAFILE} From 024172e2e45f2f374d2343c5cefc55691538c900 Mon Sep 17 00:00:00 2001 From: tTh Date: Mon, 1 Apr 2019 20:44:54 +0200 Subject: [PATCH 3/3] omg ! --- funcs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/funcs.c b/funcs.c index e280d0c..df4af6a 100644 --- a/funcs.c +++ b/funcs.c @@ -14,16 +14,15 @@ extern int verbosity; /* --------------------------------------------------------------- */ +/* maybe not a really goof initialisation... */ int seed_my_rand(int foo) { long v1, v2; v1 = getpid(); v2 = time(NULL); - return v1 ^ v2; } /* --------------------------------------------------------------- */ - int random1000(int type) { int value;