[Laravel] How to re-render math with MathJax on Livewire

When webpage contents are reloaded dynamically, it is essential to re-render math with Mathjax. I’ve been experimenting to find out the best hooks and events to re-render math seamlessly. First, dispatch the event that will be used for re-render in the rendered() hook of Livewire Component Class as below. Then, place the JavaScript below in […]

[AI] Can we create Ghibli Style image Locally?

Not Yet, I would say. At least not for me yet. It might be my skill or open-source AI limitations. I installed all of UI and AI in my Windows 11 machine WLS Ubuntu 24.04. You will need Python 3.10 and Git. If your machine configuration is new, your machine probably have higher version of […]

Blurring faces and Stabilizing your videos

I am using Deface to blue faces automatically in my YouTube. It used take me over 10 hours to process 18 minutes long 4K 30FPS video for me. So, I read README.md carefully. The blurring time went down to 1 hour for now. It got faster 10 times. Hardware Acceleration One of them was using […]

Converting V-brake to Disc brake

Trike in front of lake

Swytch bike hub wheel is disc brake ready. So, I bought one of 185mm disks. I also needed to buy one caliper for the conversion. My trike is not ready for the disc brake. So, it does not have ears for disc brake caliper. To mount that caliper, mounting bracket is needed. It is important […]

[Qualtrics] How to use Regular Expression for field validation

Qualtrics provides many built in options for field validations. However, it is required to apply more sophisticated validation than default options. Regular Expression can be used for this kind of situation. First, if you need to allow only alphabet characters with spaces. You can select “Custom Validation” for Validation Type. Then, you can add regular […]