• About
  • Posts
  • Starred
  • LinkedIn
  • Github

Posts

  • 30. Jan 2023

    MongoDB Drop All Empty Collections

    A short script to drop all empty collections in MongoDB or a compatible database like AWS DocumentDB or Azure CosmosDB.

  • 17. Oct 2022

    Using Vuex Stores with Composition API in Vue 2.7

    Get some elegancy for your Vuex modules in setup scripts. Stop writing magic strings to use your Vuex stores. Stop double-typing to have action and getter types in your components.

  • 12. Aug 2022

    Hide Your Public Email behind a Simple Vue Component for Less Spam

    Embedding your email address to public webite is a real solid way to start collecting spam to your inbox. From all the millions of dev outsourcing companies offering their next gen services to princes wanting so bad to send you money.

  • 10. Jul 2018

    Pixi.JS - How to Render SVG on iOS Safari

    I found a tedious bug for Safari (which by 10 July 2018 is still not fixed) when preloading svgs for a game I was developing. Issue was that all svgs that were loaded, were drawn over last one, like the canvas wasn't cleared.

Licensed under CC BY-NC-SA 4.0 © Hendry Sadrak
Hendry Sadrak