Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Sort Folders Into Alphabetic Sub-Folders

· 1 comment · 300 words · Viewed ~1,045 times


Linux bash terminal icon.

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) version of the first character of the directory name. #!/bin/bash for dir in */…

Replacing IFTTT - Part 1: RSS & Tumblr

· 5 comments · 450 words · Viewed ~608 times


Screenshot from If This Then That.

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 some integrations up there. But it is annoying for those of us who want…

Converting RAR to ZIP in Linux

· 6 comments · 400 words · Viewed ~12,900 times


Linux bash terminal icon.

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 install p7zip-full p7zip-rar Script This basic bash script will Extract a…

Easy ways to add watermarks to images and videos in Linux

· 1 comment · 450 words · Viewed ~8,432 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 copyright notice to it in order to discourage people using it without permission. This command uses imagemagick's…

Reducing the filesize of complex 3D .OBJ models

· 500 words · Viewed ~11,155 times


Loading large 3D Models in the browser is extremely resource intensive. 2D images are trivial to resize and resample with negligible loss of perceived quality. 3D resizing is complex. As part of my "Pirate Museum" I wanted to display 3D scans of statues using WebVR. The only problem is, these files are huge. Take The Dancing Faun - at full resolution, that's around 230MB. Even on fast…

How to type Emoji in Ubuntu

· 6 comments · 150 words · Viewed ~4,747 times


New tech site Gadgette has a great article on how to type Emoji on Mac and Windows - but they (understandably) didn't cover Ubuntu. So here I am to show you how. Get The Fonts If your computer doesn't have the requite font, install the latest version of Symbola. Simply open up the .zip file, double click on the .ttf font, then choose "Install". Find The Character You almost certainly have…

Android Tutorial - Clickable Widgets

· 1 comment · 200 words · Viewed ~4,211 times


Another quick Android tutorial. I couldn't find an easy or correct method of launching a browser when you click on a homescreen widget. Well, here it is... public class clickWidget extends AppWidgetProvider { @Override public void onUpdate( Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds ) { RemoteViews remoteViews = new RemoteViews( context.getPackageName(),…