Archive for the ‘Tech’ Category

The Singapore Presence

Wednesday, July 23rd, 2008

I’m thinking of starting a blog or directory or wiki sorta thing to track the presence of Singaporeans in web communities.

I just thought of this after seeing that Singapore has more than 100 shops on Etsy.com. And they’re not inactive. It’s amazing that we have such a presence on a Brooklyn-based startup and I haven’t even heard of the company before till just now. I’m probably out of the loop for this kinda stuff, handmade and probably more for girls, but it’s just amazing.

I just bringing the Singaporeans on the web together. Whether there’s a logical or practical purpose in that, I’m not too sure.

Dvorak Keyboard Layout on iPhone

Thursday, July 3rd, 2008

This might come out as old news for some.. But what I wished exists!
The Dvorak Keyboard Layout is available for the iPhone.

These two blog entries have enlightened me… Muahaha… Probably the first thing I’ll do to my iPhone 3G. (if I ever get one..)

About ScribeFire

Tuesday, July 1st, 2008

Hmm.. While blogging my previous entry… I noticed that ScribeFire doesn’t handle multi-line preformatted text properly for some reason. I wonder what’s behind that. Forget that. Might’ve been some fluke. Weird.

Also, the Add a Link keyboard shortcut doesn’t work properly. The Ctrl M doesn’t do anything at all and Cmd M just minimizes the window (I’m on a Mac and it’s supposed to do that). If ScribeFire is opened in a window of it’s own, then Cmd M works. (but in a way, that breaks the window minimizing shortcut)

I also don’t like the fact that you can’t change the default font of the text you blog in.

Set Adium Status Message with Quicksilver

Tuesday, July 1st, 2008

I just wrote an AppleScript for setting the status on Adium using Quicksilver. :) It’s dedicated to usage with FriendFeed, which I recently registered at. It’s not something new (read below) but at least this works.

Here goes:

using terms from application "Quicksilver"
  on process text ThisClipping
    tell application "Adium"
      if (ThisClipping is not "" and ¬
        (first character of ThisClipping is "/")) then
        set theCommand to first word of ThisClipping as text

        if (theCommand is "o" or ¬
          theCommand is "off" or ¬
          theCommand is "offline") then
          go offline
        else if (theCommand is "i" or ¬
          theCommand is "invis" or ¬
          theCommand is "invisible") then
          go invisible
        else if (theCommand is "a" or ¬
          theCommand is "away") then
          if ((count words of ThisClipping) is 1) then
            go away
          else
            go away with message ¬
              (texts (offset of (word 2 of ThisClipping) in ThisClipping) ¬
                thru -1 of ThisClipping)
          end if
        end if
      else
        go available with message ThisClipping
      end if
    end tell
  end process text
end using terms from

This was written after referring to these two blog entries. (I didn’t even bother changing the ThisClipping variable name, as you can see.)
Paste the code into Script Editor. As written in the first blog entry I’ve mentioned, you can save this in “~/Library/Application Support/Quicksilver/Actions“. If the directory doesn’t exist, just create it. And restart QuickSilver after that.

I named my script “Adium Status.scpt”, so I could use it after typing “A” and “S”. (of course, I could also type “status”, or whatever.)

Features:

  • “/a”, “/away” changes your status to Away
  • “/i”, “/invis”, “/invisible” changes your status to Invisible
  • “/o”, “/off”, “/offline” tells Adium to go Offline

You could type “/a Something” and your status will be set to Away with a custom status message of “Something”.
Your custom status message is set leaving your Status as Available on default.
The custom status message only works with the Away command because you can’t have status messages while you’re Invisible or Offline. (duh)
This is tested with the latest 1.3b5 beta of Adium and latest build of Quicksilver.