Skip to main content
My Notes about...

My Notes about...

News, articles, tutorials, and more.

One line command for download latest Raspberry Pi OS image
Download Raspberry Pi OS from Terminal
Download Raspberry Pi OS from Terminal

I like to use Terminal for everything (I'm an old school man). Check how I download the latest version of the Raspberry Pi OS for aarch64 (It's what I use), with the next command:


Jose CerrejonLess than 1 minuteRaspberry PiRaspberry Pi OS
SOLID principles PHP Edition. Today, Liskov Substitution Principle
Liskov Substitution Principle
Liskov Substitution Principle. Generated with AI.

In the noble art of coding, you should remember the SOLID principles always. Sometimes, I forget some of them, so here is a brief explanation of each principle:


Jose CerrejonAbout 2 minDeveloperPHPSOLIDDeveloperDesign Patterns
Dependency injection pattern explained like you're 5
dep injection
Why did I choose that example for explaining dependency injection?. Generated with AI.

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):


Jose CerrejonLess than 1 minuteDeveloperDeveloperpattern
Prompts for improving your texts using Artificial Intelligence
I'm the good guy... for now
I'm the good guy... for now. Generated with AI.

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.


Jose CerrejonAbout 6 minGeneralaiprompts
Tuples Vs Lists on Python
Tuples Vs Lists
Tuples Vs Lists. Generated with AI.

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:


Jose CerrejonLess than 1 minuteDeveloperPythonDeveloperTuplesListsComparison
How I migrated from PHP to Vuepress 2 (Part II)
Alt
Generated by OpenAI's DALL-E and modified later.

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!


Jose CerrejonAbout 3 minDevOpsDeveloperPHPVuepress
Open Quicktime and stream any device on macOS
Open Quicktime
Open Quicktime shortcut

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.


Jose CerrejonAbout 1 minApplemacosquicktimestreamingvideotips
logo