My Recent Pastes (9 and counting)

Pastes by Dave Findlay (9 and counting)

Below are the 9 most recent pasties by Dave Findlay.

April 03, 2008
11:10PM EDT
by Dave Findlay

#!/usr/bin/python
#
# Download each Flickr photo's information
# to <PHOTOID>.XML in the current working directory.
# Files already created will be skipped on subsequent runs.

September 27, 2007
10:59PM EDT
by Dave Findlay

-- Convert YYMMDD_N titled photos to YYMMDD_0N, so that
-- they sort properly.
tell application "iPhoto"
        set the_photos to selection
        repeat with the_photo in the_photos

September 27, 2007
10:58PM EDT
by Dave Findlay

set flickr_folder to ((path to home folder as text) & "scripts:flickr")
set the_xml_folder to flickr_folder & ":photoinfo"
set the_download_folder to flickr_folder & ":download"
set already_downloaded to list folder the_download_folder

September 27, 2007
10:55PM EDT
by Dave Findlay

set flickr_folder to ((path to home folder as text) & "scripts:flickr")
set the_xml_folder to flickr_folder & ":photoinfo"
set the_download_folder to flickr_folder & ":download"
set already_downloaded to list folder the_download_folder

September 27, 2007
10:52PM EDT
by Dave Findlay

--
-- Sets the date a photo was taken in iPhoto using the date stored in
-- Flickr for that photo as the source (via each photo's XML file as
-- generated by the Python script).
--

September 27, 2007
10:49PM EDT
by Dave Findlay

end load_xml

on parse_it(the_xml_data)
        -- parse XML data

August 18, 2007
1:48PM EDT
by Dave Findlay

def fixDateTaken(fapi, apiKey, authToken, secret, photoId):
        rsp = fapi.photos_getInfo(api_key=apiKey,
                                  auth_token=authToken,
                                  photo_id=photoId,
                                  secret=secret)

August 12, 2007
2:26AM EDT
by Dave Findlay

#!/usr/bin/python
#
# Download each Flickr photo's information
# to <PHOTOID>.XML in the current working directory.
# Files already created will be skipped on subsequent runs.

January 22, 2007
8:54PM EDT
by Dave Findlay

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.