• Sep 2, 2021

    Notes about Cloudflare cache and json

    I have spent a lot of time trying to understand how to setup cache for json and API requests in Cloudflare lately and finally i have made some progress. This is not a step by step guide but mostly a "notes to self" post so i can make some more sense of it all. - If workers are active on a route page rules are ignored. Took me a while to realize this. - Clou...

  • Sep 1, 2021

    VS Code keyboard shortcuts i want to learn / get used to

    We all know basic keybord shortcuts like ctrl-c / crtl-v and so on. I will try to make my memory learn a few new ones in VS Code. I will update this document as i go and add a new one each time i try to learn it. CTRL-SHIFT-ARROW KEY RIGHT / LEFT "Smart Select", selects the current section one step at the time. Works with HTML and "code. CTRL-HOME/END Go...

  • Sep 1, 2021

    Yarn outdated and update

    The update system in yarn / NPM is a bit confusing to me. You run update and packages gets updated but nothing happens in package.json. I know yarn-lock handles it but again, i don't understand it 100% and it feels a bit unclear. What i want is a way of actually update the version numbers in package.json and today i found a way. The trick is to use ``` yar...

  • Aug 31, 2021

    Docker failed to initialize on Windows

    Today i had some issues with Docker and i just got the message "Docker failed to initialize" when i was trying to start it on my Windows 10 machine. I'm not sure why this happened all of a sudden but it either had to do with an update to Docker Desktop or that i activated TPM in my BIOS (i did not install Windows 11). Anyway, this was fixed bu just deleting...

  • Jul 6, 2021

    Cypress Component Testing with Next and Webpack 5

    I was trying to setup component testing in Cypress this morning and I ran into the error **Cannot read property 'version' of undefined**. I tried various searches on Google but didn't find any solutions but when I searched directly in the issues on Cypress I finally found the answer. So I'm mainly writing this to give the post some jucie so that other finds ...

© Copyright 2024 AlternativeTo . Powered with by CreativeDesignsGuru