Friday, May 3, 2013

Browser for Mac OS X 10.5 PowerPC and Adobe Flash

Browser for Mac OS X 10.5 PowerPC and Adobe Flash tenfourfox
I was looking for a decent modern web browser for Mac OS X 10.5 PowerPC and Adobe Flash for some online games for one of my daughters.

This might seem odd, and it has nothing to do with Linux. 

I had scored an iMac for my 3 year old daughter so she could play some flash games just like her big sisters. I had forgotten that the older iMacs were PowerPC and not Intel powered.

 I also didn't realize that the PowerPC platform had been all but abandoned by everyone, Apple, Mozilla and Google. There wasn't a modern browser to be found.

Thursday, May 2, 2013

Replaced Courier Imap with Dovecot Imap in Debian Wheezy

Yes, I've taken a big step and replaced Courier Imap with Dovecot Imap in Debian Wheezy.

Sunday, March 31, 2013

Google Command Line Tools (googlecl) picasa script

I am in the process of migrating my Gallery install to Google Picasa (or Google+ Photos, if you will). I love that fact that I can run Google Command Line Tools on my linux box to export my pictures, but I got tired of typing.

I had to type this for every album:
2013-March> google picassa create --title "2013 March" --tags "2013, March" *.jpg
2013-March> google picasa post -title "2013 March" --tags "2013, March" *.JPG

Then I got to thinking, how about a simple shell script to run Google Command Line tools and fill in the values I needed. Genius, sheer genius, or Lazy, sheer lazy....



#!/bin/sh


MON="$1"
M=1
for X in January February March April May June July August September October November December
do
        [ "$MON" = "$X" ] && break
        M=`expr $M + 1`
done

#echo "Month number is $M"

google picasa create --title "$2-$M $1" --tags "$2, $1" *.jpg
google picasa post --title "$2-$M $1" --tags "$2, $1" *.JPG
# End of script


Now all I have to do is change directory into the folder with the pictures for March 2013 and run this:

2013-March>  googleup.sh March 2013

Once I run that the script above creates a new album called "2013-3 March" then uploads all *.jpg files to it. Once that has completed it uploads all the *.JPG files to the existing directory of "2013-3 March" that it created in the step prior.

A simple shell script to help the lazy!