Avatar
🏃
achat android animaux anticor apple arnaque association biot bluesky bricolage canoe canyoning ccesoir chateau choisir-velo cinema citation citroen-c8 commission configuration consomacteur course courses courses-dobstacles cuisine cv-pro dawarich debian dell depannage dev docker don dsi désinformation economie facebook fedora firewall football garmin gohugo gravel hebergement home-assistant hugo humhub inondation internets iphone-ipad jeux justice kali linux livre loisirs mac marathon mastodon mecanique misere momes-dazur musee-loisirs nice-matin non-classe oracle padel petition peugeot-206 peugeot-307 peugeot-406 photos php politique postgresql pro proxmox randonnee randonnée raspberry redhat redis republique-numerique reseaux-sociaux sante-internets sante-loisirs securite-internets self-hosted ski ski de randonnée sortir soutien spam sport-biot-2 sports stockage theatre trail twitter/x twitter/x ubuntu velo velo-biot velo-sur-biot via-ferrata ville villes visites voyage vtt windows wordpress wordpress-fr xbox élections municipales 0189xxxxxx 10-km 10-miles 10km 12-km 140 2014 2kv 307 406 406-hdi 920 920xt 930 935 abus acpi actif azur adb adhesion adsl agay age air aix-en-provence alcatel allianz allianz-riviera alpe-dhuez alpes-maritimes alpilles alternateur amap amazon amp anaconda analyse analytics android animaux anote anthea anthea-fr antibes anticor antutu apache2 apn apple applepi-baker april arcep arfi arnaque aroooo aseb-am asics association assurantprotection.fr asterisk asus asus-zenfone atos atsemtex audit auron authentique-fr autoroute avis awesome-note awk awox baignade balade balade-fr barcelonnette barnier base-de-donnee bash basket-ball belt benchmark bento bentomedia betrail biellette bigreen bilan bilan professionnel bilan sportif bilan-fr bio biot biot-fr biot-vernir bitdefender bkl-l09 blacklist blender blockchain-fr blog blogger-com bluesky bonifacio bormes-les-mimosas bot brague braun breil-sur-roya brew bricolage brm brm200 bruxelles bueil bug c cadolive cagnes-sur-mer caille caisse-depargne calanques calencon calendrier camargue cannes cannes-fr canoe cantabrie canyon canyoning cap-dantibes cardio carlit carnaval-de-nice carnaval-de-nice-fr carros carroz casa castellane castellar cat catamaran caussols ccbot ccc cdisplay ceinture cevennes chamonix chateau chaussures cheiron choisir velo cinema circuit cisco citation citrix classement claudebot clignotant cloud cloud-act cloud-personnel cnews codegouv col connecté col de greoliere col-connecte col-de-la-madone col-de-turini colmars competition compression configuration connect consomacteur conspiracy watch convergence-azureenne coreos coronarivus coronavirus corse courmes course course-a-pied course-dobstacle course-dobstacles course-dorientation course-fr coursegoules courses-2 covid covid-19 cozy-cloud cozytouch cpu critique cross cuda cuenod curl cursor dansup dark-web data dataforseo dawarich dawarich.app day-journal debian decathlon decodex deletefacebook dell dello-sciliar-catinaccio delphi demi-yasso derby-de-la-meije developpement developper-tools-access diag diario diaro diaspora digikam digiposte distribution docker docteur-gsm-com dolceacqua dolomites domolites domotique don dourgne dsi duranus débats désinformation ecologie economie education el-capitan elasticsearch elk elm327 email endurain enphase ensol entreprises entretien epidemie escape-game escarene escroquerie espagne estrosi europe eurovelo evasion-fiscale evolution-a-faire exiftool export eze f-f-a facebook facture facture-deau-fr fakenews falicon fan fayence fedora fenix 7 ffa ffmpeg filebeat fillion fillon film-bon film-moyen filtre-a-gazole filtre-pollen fire firewall fittrackee folder foodwatch footing for forerunner forerunner-935 forerunner-945 forerunner-955 forgejo framasoft framasphere france culture france-3 france-soir fraude fraude-fiscale free free-mobile freebox frejus funchal gafams gaillac garageband garmin garmin-connect gavarnie gcc gelas geodes gilette git github glance gmail goaccess gohugo google google-analytic google-analytics google-search-console gopro gorbio gotify goudurix gouffre gourdon gourdon-fr gptbot gpx grafana grasse gravel graxx greoliere greolieres greolieres-les-neiges grub gréolières gtest guillon hadopi haproxy hautpoul hebergement high-trail-vanoise hintertux hipay hipay-com historique-des-dons holdup home-assistant homeassistant hommage honeywell honor hop howto htv huawei hugo huile-direction-assiste humhub ia ibm iconservicesagent ie ign ilonse imagento imageoptim imagneto immich imovie import impots indent injecteur inondation insee insta360 installation internet intimidation ipad ipad-argus iphone iphoto iptables isola-2000 issue italie itra itunes j2s jaime-courir java javascript jeedom jenkins jetpack jeux jeux-de-sophia jeux-de-sophia-antipolis joplin joseph journey jpegoptim juns jupyter justice kali karer-pass kayak kernel kibana kies-app kilometre-vertical kisskissbankbank kiwix klaxon kodi kokopelli korben la-brague la-capelette la-grave-de-peille la-poste la-quadrature-du-net la-vie lac-de-vens langage lantosque lapeyre laquadrature latemar lateral lautrec lcd le-monde leon les-cammazes les-visiteurs-du-soir let's encrypt lets-encrypt levens libreoffice libvirt lightmd linux liste livebox livre logement logiciel logstash loi-numerique lombricomposteur luberon lulu mac mac-os macjournal macos macos-high-sierra madere malade malware mamp mandelieu maps marathon marche mariadb markdown marseille mastodon matomo matomo-analytics matosdon matrix mazamet mcafee mecanique mediapart meduses meije meltdown memo menuiserie mercantour merci-michel mermaid meta metricbeat microsoft-teams migration misere mkdocs module mogrify mojave monsanto montagne-noire montagne-noire-fr montauroux motionpro mougins moulinet mouton msf mud-day mud-day-fr munin mysql mytf1 mytf1-fr mywellness myzone naiad naiad2020 natation natation-libre nature nautipolis neige netamo netatmo nextcloud nginx nice nice-fr nice-matin notes nsinvalidargumentexception ntfs nuxit nvidia objective-see obsolescence-programmee obstacle occ occasion odbii ok-google ollama olvid onedrive oopad open open-data open-sky open-source open-source-experience opencv opendata opensky opensky-a-valbonne opio oracle-linux orange origine-cycles orsiere osm france osmc oss-paris osx osxp osxp2024 osxp2025 outlook owncloud pac paca padel panorama panoramique paradisdiscount-com parc-du-paradou parc-naturel-dello-sciliar-catinaccio paris pascal paul paypal pdf peillon peinture petition peugeot peugeot-307 phare photo photon photos photovoltaique php phpnet phpnet-org pichauris pigeon pinterest pip piscine planning play-store plongee plu plugin pluviometrie pneu politique pollution polylang postfix postgresql ppri prejuges preparation print prix programmation prom-classic prometheus provence proxmox pssh publicite purge pyrenees python python3 qnap quartier qwant raid rameur-dinterieur rancheros randonnee randonnee-2 randonnees randonnée raspberry recette recette-fr redbysfr redhat redis redmi reparartion reparation reseau-sociaux resideo rest-api resultat reunion revue-de-presse rgpd rimplas rock64 root roquebilliere roubion rouret row rsyslog rt-france rubitrack rue89 saint-amancet-fr saint-avit saint-fereol saint-jeannet saint-vallier-de-thiey saintetic salade-nicoise-fr salle-serveur salon samsung san-remo sante sauter scop sd-card securite security.txt sed selection self-hosted semaine-de-la-critique semi semi-marathon semi-marathon-fr sentier seranon server-git serveur service-public siagne sidobre sierra signal sip ski ski de randonnée ski-de-randonnee skred skype slack smart-home smartphone smsc snap sommets sondage sondage-en-ligne sophia-antipolis soreze soreze-fr sortie-en-famille sospel soual spam spartan spartan-race spartan-race-fr spartian spectre sport sql sqlite ssd stable-diffusion stade station-meteo statistique statistiques stockage strava suisse suivi summary surf svn swap swarm syslog systemd tanneron tapform tarif tarn tarn-fr taxes telerama television temp temperature template templier tende tennis tennis-de-table tensorflow test testeur tests textwrangler theatre theoule-sur-mer thorenc thunderbird thunderbirds tignes tor tour-des-sangliers tour-du-sanglier tourisme tourrettes-sur-loup trail trail-de-la-vesubie transposh transvesubienne trashbusters travail travaux trial trifecta turbie tux tuxedo tuxedo-computer tuya twitter tyrol ubaye ubuntu ufc-que-choisir ultra uniq unknown unroot update urbain urban-trail urbanbiker utcam utelle utmb vae valbonne valeo vallee-des-merveilles valloire vallon-des-horts valmasque var vaucluse vaultwarden vauplane vegay velo velotaf vence ventoux veolia verdon vesubie vidange video villeneuve-loubet vim virtual-box virtualbox virus vma vmware vol voyage vpn vps vtc vtt wanderer wannacry webalizer wget whatsapp wifi wikimedia-foundation wikipedia wiko windows wine woocommerce wordfence wordpress x xbmc xbox yahoo-mail yolo zenfone zenpad zigbee
  • Nouveau test de charge cette fois avec un MacBook Pro (15 pouces, mi-2012) : Mojave 10.14.6 / 2,3 GHz Intel Core i7 / 16 Go 1600 MHz DDR3 / NVIDIA GeForce GT 650M 512 Mo / Intel HD Graphics 4000 1536 Mo . C’est pour faire suite à ce premier test : https://www.cyber-neurones.org/2019/12/macos-macbook-pro-15-inch-2017-benchmark-avec-blender/ : Catalina 10.15.1 (19B88) / MacBook Pro (15-inch, 2017) / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3. Entre les deux portables il y a 5 ans d’anciennetés .

    benchmark blender Created Wed, 04 Dec 2019 00:00:00 +0000
  • Pour télécharger Blender : https://www.blender.org/download/ .

    Résultat sur un : Catalina 10.15.1 (19B88) / MacBook Pro (15-inch, 2017) / 2,9 GHz Intel Core i7 quatre cœurs / 16 Go 2133 MHz LPDDR3 . J’ai du mal à comprendre pourquoi c’est marqué Darwin …

    benchmark blender Created Wed, 04 Dec 2019 00:00:00 +0000
  • Test d’écriture/lecture des disques via Blackmagic design : https://apps.apple.com/fr/app/blackmagic-disk-speed-test/id425264550?mt=12 

    Disque SSD Local : Ecriture 1570 MB/s et Lecture 2130,9 MB/s .

    Disque Externe LaCie 5 To : Ecriture 110 MB/s et Lecture 109 MB/s .

    benchmark macos Created Wed, 04 Dec 2019 00:00:00 +0000
  • Voici le benchmark du disque avec un SSD Crucial de 1 To : 398 MB/s en écriture et 344 MB/s en lecture.

    L’outil de test :

    En détail :

    Crucial_CT1050MX300SSD1 :
    
      Capacité :	1,05 To (1 050 214 588 416 octets)
      Modèle :	Crucial_CT1050MX300SSD1                 
      Révision :	 M0CR050
      NCQ (Native Command Queuing) :	Oui
      Profondeur de la file d’attente :	32
      Support amovible :	Non
      Disque amovible :	Non
      Nom BSD :	disk0
      Type de média :	SSD
      Prise en charge de TRIM :	Oui
      Type de carte de partition :	GPT (Tableau de partition GUID)
      État S.M.A.R.T. :	Vérifié
      Volumes :
    EFI :
      Capacité :	209,7 Mo (209 715 200 octets)
      Système de fichiers :	MS-DOS FAT32
      Nom BSD :	disk0s1
      Contenu :	EFI
      UUID du volume :	0E239BC6-F960-3107-89CF-1C97F78BB46B
    disk0s2 :
      Capacité :	1,05 To (1 050 004 832 256 octets)
      Nom BSD :	disk0s2
      Contenu :	Apple_APFS

    Pour moi le MacBook Pro il lui faut minimum 16 Go de Ram et 512 Go de disque en SSD, ce qui donne un prix très élevé !

    benchmark ssd Created Wed, 04 Dec 2019 00:00:00 +0000
  • ImageOptim try to connect on IP 2a01:488:66:1000:53a9:244::1 ? Why ? For update ?

    imageoptim Created Sun, 01 Dec 2019 00:00:00 +0000
  • Je viens de faire un audit :

    $ uname -v
    Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_6
    
    $ sudo du -sh /private/var/folders/gy/578qjv7j22j4pzty537lyjjc0000gn/C/com.apple.appstore/
    124G	/private/var/folders/gy/578qjv7j22j4pzty537lyjjc0000gn/C/com.apple.appstore/
    
    $ uptime 
     8:39  up 13 days, 17:50, 3 users, load averages: 13,08 18,79 20,84
    
    $ ls -l /private/var/folders/
    total 0
    drwxr-xr-x@  3 root  wheel    96 26 sep  2018 f8
    drwxr-xr-x   3 root  wheel    96 19 nov  2013 gy
    drwxr-xr-x@  3 root  wheel    96 16 sep 12:56 gz
    drwxr-xr-x@  3 root  wheel    96 26 sep  2018 v3
    drwxr-xr-x@ 38 root  wheel  1216  2 jan  2019 zz
    
    $ sudo du -sh /private/var/folders/*
     21M	/private/var/folders/f8
    127G	/private/var/folders/gy
     17M	/private/var/folders/gz
      0B	/private/var/folders/v3
    286M	/private/var/folders/zz
    
    $ sudo ls -l /private/var/folders/gy/578qjv7j22j4pzty537lyjjc0000gn/
    total 0
    drwxr-xr-x    26 myuser  staff     832 15 oct 10:53 0
    drwx------ 257 myuser  staff    8224 29 nov 08:19 C
    drwx------ 3623 myuser  staff  115936 29 nov 08:44 T

    Simplement 124 G de fichier temporaire … le pc est lancé seulement depuis 13 jours. Comment faire le ménage ? Normalement il suffit de faire une reboot mais visiblement cela ne fonctionne pas ?!

    Created Fri, 29 Nov 2019 00:00:00 +0000
  • Un petit exemple si je vais sur : https://www.apple.com/fr/shop/buy-mac/macbook-pro/13-pouces 

    • Personnalisez votre MacBook Pro 13 pouces - Gris sidéral :
      • 128 Go de disque SSD.
      • 256 Go de disque SSD : + 250 Euros.
      • 512 Go de disque SSD : +500 Euros.
      • 1 To de disque SSD : +750 Euros.
      • 2 To de disque SSD : +1250 Euros. 

    • Personnalisez votre MacBook Pro 16 pouces - Gris sidéral :
      • 1 To de disque SSD : +240 Euros.
      • 2 To de disque SSD : +720 Euros.
      • 4 To de disque SSD : +1440 Euros.
      • 8 To de disque SSD : +2880 Euros.

    Created Fri, 29 Nov 2019 00:00:00 +0000
  • J’ai essayé de détecter l’espace disque utilisé avec des du …

    $ du -sh Library/* | grep "G"
     15G	Library/Application Support
    2,2G	Library/Caches
     15G	Library/Containers
    4,8G	Library/Developer
      0B	Library/GameKit
     28K	Library/Google
    108M	Library/Group Containers
    6,5G	Library/Mail
    1,1G	Library/iTunes
    
    $ du -sh Library/Containers/* | grep "G"
    2,0G	Library/Containers/com.apple.BKAgentService
     36K	Library/Containers/com.apple.Grab
     24K	Library/Containers/com.apple.STMExtension.GarageBand
     32K	Library/Containers/com.apple.dt.GitHubEnterpriseHostBuiltInExtension
     28K	Library/Containers/com.apple.dt.GitHubHostBuiltInExtension
     28K	Library/Containers/com.apple.dt.GitLabHostBuiltInExtension
     28K	Library/Containers/com.apple.dt.GitLabSelfHostBuiltInExtension
    2,8G	Library/Containers/com.apple.mail
    4,5G	Library/Containers/com.dummyapp.FileRecorder
     36K	Library/Containers/com.google.GoogleDrive.FinderSyncAPIExtension
    136K	Library/Containers/com.icvt.JPEGminiLite
    2,5M	Library/Containers/com.jixipix.GrungetasticMac
    608K	Library/Containers/com.macpaw.Gemini
    
    $ du -sh Library/Containers/com.apple.mail/* | grep "G"
    2,8G	Library/Containers/com.apple.mail/Data
    
    $ du -sh Library/Containers/com.apple.mail/Data/* | grep "G"
    2,8G	Library/Containers/com.apple.mail/Data/Library
    
    $ du -sh Library/Containers/com.apple.mail/Data/Library/* | grep "G"
    2,4G	Library/Containers/com.apple.mail/Data/Library/Mail Downloads
    
    $ du -sh Library/Containers/com.apple.mail/Data/Library/Mail\ Downloads/ | grep "G"
    2,4G	Library/Containers/com.apple.mail/Data/Library/Mail Downloads/

    J’ai donc supprimer tous les fichiers dans Library/Containers/com.apple.mail/Data/Library/Mail Downloads/ . J’ai gagné 2,4 Go.

    Created Thu, 28 Nov 2019 00:00:00 +0000
  • Le site pour le téléchargement : https://imageoptim.com/command-line.html .

    Petit exemple sur mon Mac :

    $ du -sh Pictures/Bibliothèque\ Photos.photoslibrary/*
      0B	Pictures/Bibliothèque Photos.photoslibrary/Attachments
      0B	Pictures/Bibliothèque Photos.photoslibrary/Masks
     55G	Pictures/Bibliothèque Photos.photoslibrary/Masters
      0B	Pictures/Bibliothèque Photos.photoslibrary/Plugins
    4,0K	Pictures/Bibliothèque Photos.photoslibrary/ProjectDBVersion.plist
    3,7M	Pictures/Bibliothèque Photos.photoslibrary/Projects.db
    805M	Pictures/Bibliothèque Photos.photoslibrary/database
    4,0K	Pictures/Bibliothèque Photos.photoslibrary/iPhotoLock.data
    3,5G	Pictures/Bibliothèque Photos.photoslibrary/private
     21G	Pictures/Bibliothèque Photos.photoslibrary/resources

    J’ai donc 55 Go de photos sur mon Mac dans Masters …

    La configuration : pas de suppression des informations EXIF ! et qualité à 100%.

    Created Thu, 28 Nov 2019 00:00:00 +0000
  • Petit script pour envoyer l’historique d’un SVN vers Elasticsearch/Kibana. Avant j’utilisais statSVN : https://statsvn.org .

    Pour l’installation sous Mac :

    $ pip2 install --upgrade pip
    $ pip2 install elasticsearch

    Voici le programme :

    import xml.etree.ElementTree as ET
    import os
    import re
    from elasticsearch import Elasticsearch 
    import sys
    
    tree = ET.parse('svn.log')
    root = tree.getroot()
    
    count = 0;
    nb_error = 0
    es=Elasticsearch([{'host':'localhost','port':9200}])
    es_keys="svn"
    
    for logentry in root.iter('logentry'):
       revision = logentry.get('revision')
       author = logentry.find('author').text
       date = logentry.find('date').text
       msg = logentry.find('msg').text
       if msg is not None:
          msg = msg.replace("\n", " ")
          msg = msg.replace("\r", " ")
          msg = msg.rstrip('\r\n')
          msg = msg.strip('\r\n')
          msg = str(re.sub(r'[^\x00-\x7F]',' ', msg))
       paths = logentry.find('paths') 
       for path in paths.findall('path'):
          my_path = path.text
          my_basename = os.path.basename(my_path)
          my_dir = os.path.dirname(my_path)
          count += 1
          if msg is not None:
             json = '{"revision":'+revision+',"author":"'+author+'","date":"'+date+'","msg":"'+msg+'","basename":"'+my_basename+'","folder":"'+my_dir+'"}'
          else:
             json = '{"revision":'+revision+',"author":"'+author+'","date":"'+date+'","basename":"'+my_basename+'","folder":"'+my_dir+'"}'
          print(count,json)
          try:
            res = es.index(index=es_keys,doc_type='svn',id=count,body=json)
          except:
            nb_error += 1  

    Il faut faire un export XML de SVN :

    python svn Created Mon, 25 Nov 2019 00:00:00 +0000