JavaScript Playground in Your Browser
September 1, 2023 — How many times have you wanted to do some quick prototyping in JavaScript or wanted to test out some code but didn’t want to go through the hassle of setting up a project?
A blog on PHP, JavaScript, and more
September 1, 2023 — How many times have you wanted to do some quick prototyping in JavaScript or wanted to test out some code but didn’t want to go through the hassle of setting up a project?
August 29, 2023 — Here’s a handy little Git alias that you can use to undo your last commit. Thanks to Freek sharing this on X.
August 26, 2023 — You know Laravel always had the Illuminate\Support\Benchmark
helper function which you can use to benchmark a callback and print it. For instance, if you want to benchmark a callback function, here’s how you can do it.
August 22, 2023 — It wasn’t really possible in the older versions of VS Code but now, you can try out VS Code themes without installing them.
August 19, 2023 — Extending my previous article on the introduction to Fibers, in this article, we’re going to see a practical example of using Fibers in PHP which might help you understand the concept better.
August 17, 2023 — I don’t change my VS Code frequently. I quite like the Dracula Dark Vibrant theme and I’ve been using it for quite a while now.
August 16, 2023 — A pretty long ago, I covered how to handle multiple time intervals in JavaScript in this article. And that’s a good way to handle multiple intervals in JavaScript. In line with that, I recently stumbled upon a pretty interesting way to handle setTimeout()
in JavaScript in this tweet by Haz.
August 14, 2023 — The “Hello World” program is the first program that most people write when they are learning a new programming language. It’s so widespread that even outside of the programming world, it’s used as a reference to the first step towards learning something new.
August 13, 2023 — Laravel’s Eloquent is a pretty powerful ORM. It allows you to seamlessly interact with your database tables using a simple and expressive syntax. But sometimes, it can be a little too forgiving about the mistakes you make while interacting with the database.
August 11, 2023 — This is something you might already be aware of but if you’re using Git on your terminal, there’s a faster way to switch between two branches using the checkout command.