The personal journal

A life in progress.

I'm Bojan, a front-end engineer in Italy. A running feed of things I build, learn, read, and get up to.

Behind the notebookAbout me & current projects

The latest 1236 entries

RSS feed
  1. Status

    I have added new calf raises exercises to the list of exercises since I did come …

    Cavallino-Treporti, Italy

    I have added new calf raises exercises to the list of exercises since I did come single-leg calf raises on Tuesday but I couldn’t add them to my workout. Before adding them I did some research on different variations that I’d like to try, here is the full list with their difficulty levels:

    • Seated Calf Raise (6)
    • Standing Double-Leg Calf Raise (4)
    • Standing Single-Leg Calf Raise (7)
    • Squat Hold Calf Raise (8)
    • Donkey Calf Raise (5)

    We’ll see if the difficulty levels are appropriate.

  2. Status

    My favorite note-taking app just got a huge upgrade! The Bear app v2 just …

    Cavallino-Treporti, Italy

    My favorite note-taking app just got a huge upgrade! The Bear app v2 just dropped with a refreshed UI and 20+ new features! At the same time, this blog post appeared on Google about an AI-first notebook.. now that’s an idea that the Bear app should borrow for the v3.

  3. Status

    Since TinaCMS makes a git push on every change, it will also trigger a …

    Cavallino-Treporti, Italy

    Since TinaCMS makes a git push on every change, it will also trigger a Cloudflare Pages build and before you know it, you have reached the free plan limits. So, I disabled automatic builds and created a deployment hook that I would manually trigger from the TinaCMS dashboard whenever I wanted to publish something.

    The manual deployment hook works but it’s a pain to do it manually every time, so I decided to optimize this step with GitHub Actions!

    This simple GH Action will trigger the deployment hook whenever something in the /content directory changes.

    name: Publish to Cloudflare Pages
    
    on:
      push:
        branches:
          - master
        paths:
          - 'content/**'
    
    jobs:
      publish:
        runs-on: ubuntu-latest
        steps:
          - name: Checkout
            uses: actions/checkout@v3
          - name: Trigger deployment
            env:
              PAGES_HOOK_ID: ${{ secrets.CLOUDFLARE_HOOK_ID }}
            run: |
              curl -X POST "https://api.cloudflare.com/client/v4/pages/webhooks/deploy_hooks/$PAGES_HOOK_ID"