Here's a neat little trick that makes it easier to find a specific command in the Bash history. Add the following alias to the .bashrc file:
alias hist='history | grep --color=auto'
Say, you want to find a previously used rsync command. In the terminal, run hist rsync
, and you should see a list of all matching commands saved in the .bash_history file. To run the desired command, use !000
, where 000
is the command's number.
Little Backup Box has been by far my most successful and popular project. But about two years ago, I chose to transfer it to a new maintainer, effectively abandoning the project. The other day, it occurred to me that I had never said a proper good-bye to my project. So here it goes.
As it often happens, I started working on the project to solve a problem I had: I didn't want to schlep around a laptop when traveling, but I wanted to have a backup solution to keep my photos safe. As Raspberry Pi had been making waves as a versatile platform for all kinds of projects, I thought I'd try to build a Raspberry Pi-based backup appliance that would replace a proper laptop. And over the years, various Raspberry Pi models running Little Backup Box served me well during my travels.
Continue reading
Taste in music is like underwear: everybody has their personal preferences, nobody really wants to know what they are.
A while ago, I bought a ThinkPad X380 Yoga. I saw it on eBay, it was cheap, and I've never really tried a convertible laptop before. So I thought, Why the heck not? When the machine arrived, I promptly installed Linux Mint on it.
![ThinkPad X380](https://cameracode.coffee/includes/thumbnail.php?file=20240517-110719.jpeg)
Everything worked out of the box, including display rotation and touch screen. I tried the pen, and it worked too. And while I thought it was rather neat, I wasn't immediately sold on the whole poke-your-screen-with-a-pointy-plastic-thing idea. But the more I use the machine, the more I appreciate the concept.
Continue reading
An idle mind is an incubator for dumb ideas. My latest hack proves just that. If you happen to wield a seriously heavy piece of machinery like a Nikon D800, it's tempting to leave the photo bag with everything in it behind and head out with just a camera on a strap and a few essentials like a spare battery, an extra storage card, and other bits.
You can tuck loose items into pockets, or pack them in a pouch. That's what I did anyway, until one day I thought that it would actually be pretty nifty to have a box with all the essentials in it that I can somehow attach to the camera itself. It sounded like a dumb enough DIY project for a lazy weekend, so I went to work.
Continue reading