Quickly resize and shrink Raspberry Pi SD card image on MacOS

From time to time you may want to quickly copy a raspberry pi image from one system to another….but only have a smaller SD card. Or you started your project as a tryout on a crazy 64GB sd card, and realize later that 8GB would be way enough. So what you want to do, is resize the source image to the smallest size possible, flash it to the new smaller SD card, and expand it again to its new maximum on the new SD card. And so far that process can be very long and painful….but luckily there is a very handy script for that, called PiShrink. I am using the mac version, but there is also a linux version.

Source: Quickly resize and shrink Raspberry Pi SD card image on MacOS – Florian Müller
Similar article that expands on the one linked above: Flash larger SD card image onto smaller card on Mac for your Raspberry Pi – Medium/Practical coding

How to use the scp Command in Linux

SCP is short for secure copy protocol and is used to copy files and directories between multiple Linux machines over a network. The data transferred using SCP is encrypted to protect your data against nefarious agents.

The SCP command uses SSH for data transfer and thus uses all the same usernames and passwords you would use for SSH. As a result, it is an extremely useful command for transferring files securely without too much added complexity.

Source: How to use the scp Command in Linux – Pi My Life Up

Raspberry Pi And The Story Of SD Card Corruption

Tales of Raspberry Pi SD card corruption are available online by the fistful, and are definitely a constant in Pi-adjacent communities. It’s apparent that some kind of problems tend to arise when a Raspberry Pi meets an SD card – which sounds quite ironic, since an SD card is the official and recommended way of booting a Pi. What is up with all of that?

Source: Raspberry Pi And The Story Of SD Card Corruption | Hackaday

How to use a Raspberry Pi to trigger wireless remote controlled outlets (and probably other wireless devices)

You can purchase wireless remote control devices that typically come in packages with one remote control, and some number of devices that you plug into an outlet, and then you plug whatever you want to control into those devices. You can easily find them on Amazon or eBay, or at big box stores or at places like Harbor Freight. On an online site, just search for “Wireless remote controlled outlet”. The main thing you want to make certain of is that they are controlled by radio frequencies, which most are, and not by an infrared signal like most TV remotes. ….. The idea here is that we want the Raspberry Pi to emulate the same signals that pressing buttons on the remote would do. This allows the Raspberry Pi to control the outlets and opens up possibilities limited only by your imagination.

Source: How to use a Raspberry Pi to trigger wireless remote controlled outlets (and probably other wireless devices) – Two “Sort Of” Tech Guys