Thom Nichols


Technology is evolution outside the gene pool

Articles from the year 2013

Batch Photo Thumbnail Creation 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 ...


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 ...

Porch for Android FAQ

This should help answer the most common questions for Porch.

Don't see your question answered here?  Email or send a tweet to @PorchApp

How do I add Porch to the lock screen on a Galaxy S4 or Galaxy Note?

Try this short tutorial from AndroidCentral.