Thom Nichols

Thom

Technology is evolution outside the gene pool

Batch create photo thumbnails for FancyBox

A quick script I wrote to batch create photo thumbnails for use with FancyBox.  This means each thumbnail gets the same filename with '_m' appended before the extension.  It uses the ImageMagick command-line tool convert to perform the actual image processing.

#!/usr/bin/env python

import sys, os, subprocess


def convert(directory=None, size='300x300'):

  if not directory: directory = os.getcwd()
  print('Dir: %s' % directory)

  if not size ...

Please build this: A Mobile app to replace Grocery Loyalty Cards and Coupons

Grocery stores need to build a decent mobile app.  This idea seems incredibly obvious, so it pains me that none of the major grocery chains have done it (at least that I know of... if someone has, please let me know I will shop there!)  Here's why...

Little keychain barcode fobs suck and so do paper circulars. 
Making a weekly shopping list is a chore, especially when ...

OSRC

Check out my open source report card.  Pretty neat use of the Github API.

Deploying Octopress on Amazon S3

So a number of folks have described how to use Octopress with S3.  However most of them don't describe how to easily publish to S3, or require an external command-line tool to upload the generate files.  I solved this by using the aws/s3 gem and creating a new rake task. 

rake deploy_s3[blog]  # deploys all blog files

I also added a task to ping Google and ...

Making progress on the new Android App!

Here a shot of the widget on the lockscreen:



And here's a view of Twitter post details (including linked photo previews, and linked @mentions and #hashtags!)

   
Hoping to release v1 soon!