2021-05-09

Besoin du jour

lecture des données SMART de disques durs achetés Toshiba 4To pour NAS depuis MacOS (vérification de leurs états)

Outils

Trouvailles du jour

  • Flotato : permet d'avoir une application d'un site web, utile pour gDrive, keep, gTask
  • Trouver un moyen de copier rapidement des parties de site WEB en markdown: https://euangoddard.github.io/clipboard2markdown/
  • Protection par password du contenu de Dendron publié
    • Publish password protected site using AWS Amplify

      Cookbook - Dendron : Publish password protected site using AWS Amplify

      You can click here to see a demo of the end result.

      You can access the site with username: dendron, password: hierarchy.

      • NOTE: this requires hosting your site on AWS. For most people, this will end up costing you a few cents a month.

      SETUP YOUR GITHUB REPO

      1. Create a new github repo using this template.

      2. In your Dendron workspace, remove the docs directory and clone your newly created repository

        cd {your-workspace}
        rm -r docs
        git clone {your-repo} docs
        
        

      SETUP AWS

      1. Create an aws account

      2. Login to your AWS account and go select the Amplify Service

      3. Follow the instructions here to connect your github with your amplify GettingStartedExisting

      4. Follow the instructions here to restrict access to your site. RestrictingAccessAWS

      5. Verify that your site is now password protected

      PUBLISH YOUR NOTES

      1. Update siteRepoDir in dendron.yml with the location of your github directory

        • Your dendron.yml should look similar to the one below

          site:
              copyAssets: true
              siteHierarchies:
                  - root
              siteRootDir: docs
              usePrettyRefs: true
              siteRepoDir: docs
          
          
      2. Run > Dendron: Publish to build your notes for publication and push your notes

      3. Your notes are now published privately behind a password