Miracleio

  • Blog
  • Snippets
  • Work

Snippets

Short code snippets that I've found useful.

  • Git: How to update current branch with commits made on another local branch

    Here's how you can update branches of your local repository with commits made on another specific local branch

    • git
    Miracle Onyenma
    October 23, 2023
    2 min read
  • Set up @vueuse/motion in Nuxt 3

    @vueuse/motion is a Vue Composable available via VueUse that helps add animations to Vue applications with a simple yet powerful API.

    • Nuxt 3
    • vueuse/motion
    Miracle Onyenma
    March 4, 2023
    2 min read
  • Fix useEffect missing dependencies warning with useCallback in React

    Here's how you can remove a "missing dependencies" warning in a useEffect hook

    • react
    • javascript
    Miracle Onyenma, ChatGPT
    January 16, 2023
    2 min read
  • Create a promise in NodeJS that resolves when a file is read

    Here's a short snippet by ChatGPT on "Create Promise for Reading File"

    • chatgpt
    • nodejs
    • javascript
    Miracle Onyenma, ChatGPT
    December 26, 2022
    2 min read
  • How to set up Tailwindcss in Nuxt 3

    Here's how you can set up Tailwindcss 3 in Nuxt 3

    • tailwindcss
    • nuxt3
    Miracle Onyenma
    December 23, 2022
    2 min read
  • Use Gmail with Nodemailer

    Here's how you can successfully use your Gmail account to send emails using Nodemailer.

    • nodemailer
    • gmail
    • nodejs
    • strapi
    • javascript
    Miracle Onyenma
    July 21, 2022
    4 min read

Miracleio

Thanks for visiting!
Have a great morning, Early bird

Not Playing – Spotify

Site

  • Home
  • Blog
  • Snippets
  • Work

Socials

  • Twitter
  • GitHub
  • Dribbble

Miracleio © 2025