Amazon Alexa and Solar Panels

by @edent | # # # # # | 5 comments | Read ~11,387 times.

I can now query my solar panels via my Alexa Amazon Dot Echo thingie (why so many names?). I flatter myself as a reasonably competent techie and programmer, but fuck me AWS Lambdas and Alexa skills are a right pile of shite! Sorry if that sounds a bit harsh, but they're a pain in the… Continue reading →

Converting filenames to Title Case in Linux

by @edent | # # | 9 comments | Read ~876 times.

Here's a simple bash one-liner to convert mixed-case filenames into Title Case: rename 's/(\S+)/\u\L$1/g' * This forces the file extension to lower-case as well. Use rename -n to test the command without changing anything on the filesystem. (Adapted from this PerlMonks FAQ.) Background I have a bunch of inconsistently named files like: HERE COMES THE… Continue reading →

Sort Folders Into Alphabetic Sub-Folders

by @edent | # # # # | 1 comment | Read ~624 times.

Scratching my own itch. I have a bunch of directories which I want moved into alphabetic sub-directories. This is handy is you have a bunch of MP3s, books, or other catalogued files. This bash script moves a top level directory (and all the files and subdirectories under it), to a folder based on the (upper-case)… Continue reading →

Add date metadata to MP4 videos

by @edent | # # # | 2 comments | Read ~861 times.

As ever, notes to myself. I hope you appreciate this future me! Photographs often contain EXIF metadata - really useful for finding out when a photo was taken. It turns out that you can add similar metadata to MP4 format videos. Here's how to do it with ffmpeg on Ubuntu Linux. The magic option is… Continue reading →

Replacing IFTTT - Part 1: RSS & Tumblr

by @edent | # # # # | 5 comments | Read ~423 times.

I've grown to loath IFTTT. What started out as a cool way to plug internet things together has being an opaque an uncommunicative company with no real interest in customer service. That's not surprising, I suppose, its paying customers are the companies who can't be bothered to develop a proper API and so just shove… Continue reading →

Converting RAR to ZIP in Linux

by @edent | # # # # | 5 comments | Read ~3,671 times.

As ever, mostly notes to myself. RAR is a silly and proprietary format. I prefer free software and I find that ZIP files are smaller and decompress faster. Not everyone agrees, and that's fine. Assuming you've downloaded a RAR file and want to convert it to ZIP, what's the easiest way? Install P7Zip sudo apt-get… Continue reading →

Easy ways to add watermarks to images and videos in Linux

by @edent | # # # | 1 comment | Read ~4,146 times.

Mostly notes to myself 🙂 Here is a quick way to add watermarks to photos and videos. All Linux command line based - so perfect if you've got a lot of images you want to manipulate. Here is a delightful photo I've taken of a bee covered in pollen. I want to add a little… Continue reading →

Exporting Multitrack Surround Files in Audacity

by @edent | # # # | 3 comments | Read ~11,818 times.

Notes to myself! Suppose you want to create a surround sound file using Audacity. The app is a little obtuse, so this may clear up some confusion. When exporting, Audacity defaults to mixing down to stereo. You must adjust these settings: Edit → Preferences → Import/Export → Use Custom Mix Lay out your audio. Keep… Continue reading →

Replacing The Battery on a Motorola Nexus 6

by @edent | # # # # # | 3 comments | Read ~9,504 times.

Earlier this year I was moaning about my Nexus 6. Motorola's crappy battery technology is well documented, my phone was running so hot that the glue holding the device together became unstuck! Eventually, the battery failed. It would report being fully charged, but only run for a few minutes before switching off. Recalibrating and resetting… Continue reading →

ZeleSouris Wireless Vertical Mouse and Linux

by @edent | # # # # # # # # | Read ~3,130 times.

This is a quick review of the ZeleSouris Vertical Mouse and a guide to setting it up on Linux. Four years ago, I got the latest Evoluent Vertical Mouse. It's a great device, but it's starting to show its age a bit. So, time for a new model. I'm doing a lot of travelling, so… Continue reading →