Archive

Archive for February, 2009

MySQL Showdown: Querious vs. Sequel Pro

February 28th, 2009 bed No comments

Administer MySQL from OS X? I compare Querious vs. Sequel Pro over at the Apple Blog

Categories: theAppleBlog

Task Scheduling with Lingon

February 25th, 2009 bed No comments

Today I explain how to schedule tasks on OS X 10.5 with Lingon- find out at The Apple Blog

Categories: theAppleBlog

12 Subversion Apps for OS X

February 24th, 2009 bed No comments

Over at TheAppleBlog I take a look at 12 options for accessing Subversion with OS X.

Categories: theAppleBlog

theAppleBlog

February 21st, 2009 bed No comments

Just to prove that often things can happen that a few years ago one would’ve not expected, I have now joined the writing team at theAppleBlog. My articles can be followed here. First up is a review of a great tool for iPhone devs: AppViz.

Categories: theAppleBlog

Photo Rotate Review

February 20th, 2009 bed No comments

The guys over at iphoneapppodcast have done a video review of Photo Rotate. See it here.

Photo Rotate 1.2

February 14th, 2009 bed No comments

Photo Rotate 1.2 is now available on the App Store. This update contains the following changes:

  • Added “Mirror” function 
  • When running on an iPodTouch it tells you that it saved to the “Saved Photos” folder instead of the “Camera Roll” 

 

Twitter – Adium status syncing ignoring @replies

February 3rd, 2009 bed 3 comments

A while ago, I found a nice ruby script that would keep my Adium’s status synced with my Twitter status. I’ve recently started using twitter a bit more, and replying to friends with it. This basically does a tweet with @username at the start of it. I didn’t want these @replies to sync to my Adium’s status. So I’ve modified the original script to ignore these. This script runs every half hour via launchd.

#!/usr/bin/env ruby
#
# Update iChat/Adium status from Twitter
#
# Original Script by Michael Tyson
# http://michael.tyson.id.au

# Modified to ignore @reply tweets by Andrew Bednarz
# http://abednarz.net

# Set Twitter username here
Username = 'bed42'

require 'net/http'
require 'rexml/document'

# Download timeline XML and extract latest entry
# Skip @reply tweets
url = "http://twitter.com/statuses/user_timeline/" + Username + ".atom"
xml_data = Net::HTTP.get_response(URI.parse(url)).body
doc    = REXML::Document.new(xml_data)
index = 1
notreply = false
until notreply
	latest = doc.root.elements['entry/content['+index.to_s()+']']
	message = latest.text.gsub(/^[^:]+:\s*/, '')
	exit if ! message
	if message[0,1]=='@' then
		index = index + 1
	else
		notreply = true
	end
end

# Apply to status
script = 'set message to "' + message.gsub(/"/, '\\"') + "\"\n" +
         'tell application "System Events"' + "\n" +
         'if exists process "iChat" then tell application "iChat" to set the status message to message' + "\n" +
         'if exists process "Adium" then tell application "Adium" to set status message of every account to message' + "\n" +
         'end tell' + "\n"

IO.popen("osascript", "w") { |f| f.puts(script) }
Categories: Tech Talk