Upgrading Webpack to Vite in Laravel Sail
Laravel has just added support for Vite, a very powerful frontend development tool, and you can use it if you make some small changes, as suggested on the official page for this migration.
But if you are also using Sail, which is a useful tool for integrating Docker into your development environment, you will also have to make some other changes.
Convert mp4 to gif
We, dev people, have the need to post evidence of different behaviors of our desktop in many places (issues, documentation, blogs, etc.).
In this post, We’ll learn how to convert an mp4 file to gif in two simple steps.
First, we need to extract the frames from our video. FFmpeg can do it with the next command:
TL;DR With a Package https://github.com/halivert/laravel-js-routes
Vim macros for Bulma
When you use a CSS framework as flexible as Bulma, you want to have only the necessary components and no more. When you create your own “theme” you can import only the components and elements that you want to use.
Now, what happens when you’re not sure which files contain which rules? Import everything and then comment on those that are not necessary in that moment.
But… How do we import all the components and elements of Bulma, easily?
In this place I’ll begin to update problems that I’ve solved (in programming,
math and music fields) hoping that my solutions can help you and for remember
I’ll open a new category called “I were there”, like in my wordpress blog, and I’ll prefer this page for those posts.