BIOT : Inondation novembre 2019 : Niveau de la Brague

Il faut suivre les liens :

Pour les précipitations :

A 14h00 il y a eu un pic (ainsi qu’un débordement ):

Il y avait des routes barrés :

Sur twitter :

 

MacOS : Kibana : Kibana server is not ready yet

J’avais l’erreur : « Kibana server is not ready yet » suite à la mise à jours.

J’ai donc fait :

brew services stop kibana
curl -XDELETE http://localhost:9200/.kibana
curl -XDELETE http://localhost:9200/.kibana*
curl -XDELETE http://localhost:9200/.kibana_2
curl -XDELETE http://localhost:9200/.kibana_3
brew services start kibana

Et le problème est fixé.

MacOS : Accès à Library/Mail/ via un Terminal

Comment ajouter l’accès à Library/Mail/ ?

Il suffit de modifier les droits d’accès :

JOPLIN : Script to rename tacitpart file

My script to rename tacitpart file :

#!/bin/bash
  
# ARIAS Frederic
#
# For MAC OS do
#

suffix=".tacitpart"
path="WebDAV"

for file in $path/*.tacitpart
do
    if [[ -f $file ]]; then
	filenew=$(basename $file $suffix)
        echo $file" -> "$filenew 
	mv $file $path/$filenew
	touch $path/$filenew
    fi
done

# 
for file in $path/.resource/*.tacitpart
do
    if [[ -f $file ]]; then
	$filenew = ${file/%$suffix}
        echo $file." -> ".$filenew
        mv $file $path/.resource/$filenew
        touch $path/.resource/$filenew
    fi
done