Today, let's focus on the Open/Closed Principle.
First of all, here you have the four principles of SOLID:
News, articles, tutorials, and more.
Today, let's focus on the Open/Closed Principle.
First of all, here you have the four principles of SOLID:
In the noble art of coding, you should remember the SOLID principles always. Here is a brief explanation of each principle:
Today I was asked this question in a job interview, and I found it to be a very simple way to explain dependency injection. Here's the explanation I gave, a bit more detailed (I'm sure it blew my interviewer's mind):
All prompts are extracted from the app Fixkey. It's an app that uses AI to help you write better. It provides prompts to improve your writing, fix grammar,... Available for macOS, I use it a lot, but It's a trial version, and unfortunately, I don't have the money to subscribe to the app right now. If you can afford it, I recommend it.
tuples and lists are two types of data incorporated in Python that are used to store collections of elements. Although they share some similarities, they also have key differences. Let’s look at them:
This is the second part of the series of articles about how has been the experience of migrating a blog made in PHP + MySQL, to a static one using Vuepress 2. Here I talk about the old code structure and the technology used. Let's go!
This is one of those things that I do every day, and the flow is very boring: Open Quicktime, cancel the box dialog, Go to File > File > New Movie Recording, and then select the device. I mainly use it to view the signal from a USB video capture device, which works much better than doing it via VNC, Remote Desktop, or similar. In addition, these types of capture devices are very cheap.
DietPi, in its recent 9.1 release, introduces several exciting enhancements and bug fixes. Notably, it now provides support for the Raspberry Pi 5. Additionally, various dietpi-software
options have been refined.
Just a quick tip If you want to read a Medium article for free, cuz you don't have money to pay for a subscription or you don't want to create an account.
If you want to run a script for example, after apt update
on Debian, you can use the apt
hook system. This is useful if you want to perform some other action after the update. In my case, I need to run a script and re-install the Vulkan driver on Raspberry Pi, because apt update
break it and the system can't open the Desktop environment.