Chunky buttons ✦
Some people doodle during meetings, others just write HTML and CSS.
Some people doodle during meetings, others just write HTML and CSS.
Best option: WP-CLI If you have WP-CLI installed on your server, you can regenerate all images by running this command: The output should be something like: Optionally, the regenerate function can take a few parameters: Documentation
This is for future me and any developer that might bump into this issue in the future. If I can save 10% of the time I spent debugging and testing solutions for this, I’ll be more than happy. Say you have a custom AJAX call from the frontend of your site. In WordPress this might…
The other day I was listening to episode #104 of The Knowledge Project titled Mastering Indistraction, with Nir Eyal, author of Hooked and Indistractable. I recommend you check it out whole since it has a lot of interesting information. However, I wanted to focus on one small piece of information that I could really relate…
Sometimes we have a body with a bunch of HTML classes and we want to initialize a component or run a function when either of those classes exist. For example, let’s say our <body> tag gets populated whenever a module is included in that particular page: We can run:
Given this HTML: We can easily use IntersectionObserver to run code only when certain module is visible on screen, not only Google Maps. In this case, we wait until the map is actually visible before initializing it. This optimizes rendering, mainly on small screens, where that map is buried at the bottom of the page.
First you need to install whatever PHP version you need for a project: Then, you can switch between different PHP versions: References
Just leaving this bookmarked so I can copypaste it later:
I recently got asked about a good resource for learning PHP and I think this course by Jeffrey Way is really it. It starts from the very basics and you end up slowly building your own little Laravel-like framework, which is of course intentional, since it’s a Laravel tutorial site, but that doesn’t make it…
I’ve been learning Blender and I think that’s reason enough to start posting again. Learning new things is exciting and also frustrating. Blender is a huge beast and at first its interface can be daunting. Slowly you start getting familiarized with its commands, shortcuts and menus and you’re able to convert that little cube into…