Adjusting timestamps on images with Python

by @edent | # # # # # | Read ~848 times.
A cute penguin.

As ever, mostly notes to myself. I have a bunch of old images which don't have any timestamp associated with them. This quick Python script will add a DateTime EXIF metadata tag to an image. This uses piexif which can be installed using pip install piexif This simple script reads a photo, adds a timestamp,… Continue reading →

Easy Tutorial For Getting Twitter Friends Using Python & Tweepy

by @edent | # # # # | 1 comment | Read ~2,536 times.

Here's a very simple introduction to getting started with Tweepy - a Python program which lets you access Twitter. This will work on small computers like the Raspberry Pi. Everything here takes place in the Terminal on the Command Line. This should work on Windows and Mac - but I'm using Linux. Get Python Open… Continue reading →

Sort Folders Into Alphabetic Sub-Folders

by @edent | # # # # | 1 comment | Read ~666 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 →

Replacing IFTTT - Part 1: RSS & Tumblr

by @edent | # # # # | 5 comments | Read ~457 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 ~4,116 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,582 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 →

Reducing the filesize of complex 3D .OBJ models

by @edent | # # # | Read ~6,556 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… Continue reading →

How to type Emoji in Ubuntu

by @edent | # # # # # | 6 comments | Read ~4,345 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,… Continue reading →

Android Tutorial - Clickable Widgets

by @edent | # # # # # # | 1 comment | Read ~4,071 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(), R.layout.widget ); remoteViews.setImageViewResource(R.id.ImageView01, drawableResourse);… Continue reading →