SOS

Shane O'Sullivan's technical blog… really ties the room together

Archive for May, 2007

GreaseMonkey script to add Digg-like links to posts

Posted by Shane O'Sullivan on May 22, 2007

I decided today that I wanted to put links at the bottom of each of my blog posts that would allow people to perform actions on the post, e.g:

My blog is on WordPress.com which doesn’t seem to have a plugin that will allow me to do this. So, I got off my ass and wrote a GreaseMonkey Firefox script that’ll do it for me. You can download this script by going to http://userscripts.org/scripts/show/9421 and clicking the “Install This Script” button.

The links that are inserted are at the bottom of this post. The script is open source (GPL license), so take it, play with it, whatever. If you find any bugs, please let me know by commenting on this post.
Share this post:digg it|kick it|Email it|bookmark it|reddit|liveIt

Posted in Ajax, Firefox, greasemonkey, Javascript | 11 Comments »

Article on the square pegs and round holes of desktop and web applications

Posted by Shane O'Sullivan on May 22, 2007

Bill Higgins of IBM has written a very well thought out article of why web applications should look and act like web applications, and not the desktop variety. Well worth a read – http://billhiggins.us/weblog/2007/05/17/the-uncanny-valley-of-user-interface-design

Posted in Ajax, Javascript, Zimbra | Leave a Comment »

Ubuntu on Thinkpad X41 – Working With Amarok

Posted by Shane O'Sullivan on May 11, 2007

Table of Contents | Prev Post

This is one of a number of posts detailing how to install Ubuntu 6.10 (codename Edgy) on a Thinkpad X41. This post focuses on using the amazing music player Amarok. Rather than me going into the many reasons why no other music player even comes close, have a look at it’s website, or read here.

Installation:

Installing couldn’t be easier. Although Amarok is techically a KDE application, and I’ve installed Gnome on my Thinkpad, it will run perfectly fine.

  1. Click Applications->Add/Remove
  2. Choose Amarok from the list on the right and click OK

Working with Sony Ericsson w810i Walkman:

I own a Sony Ericsson w810i Walkman phone which I’d like to use with Amarok. However, it doesn’t directly support this device, so some slight configuration has to take place.

  1. Open Amarok by clicking Applications->Sound & Video->Amarok. If the application doesn’t show up then it has minimised itself, and you should see a grey/blue circular icon in your taskbar. Click this and the window will show up.
  2. Connect your phone to the computer via the bundled USB cable. It should auto-mount to the two folders /media/disk (the one we’re interested in), and /media/PHONE.
  3. In Amarok, click Settings->Configure Amarok
  4. Click Media Devices at the bottom left of the configuration window.
  5. Click the Add Device button.
  6. From the drop down list, choose Generic Audio Player.
  7. In the middle text box enter the name for your device, e.g. “My Walkman”.
  8. In the bottom text box, enter the mount point for your device, /media/disk
  9. Click OK. The new device should now be listed. Now it must be configured.
  10. Click the configuration button to the left of the Remove button for your new device.
  11. Into the Song Location textbox in the bottom section put the following:
    /music/%artist/%album/%track %title.%filetype
  12. Click OK, then OK again to return to the main application.
  13. Now (and from now on) simply click the Devices button on the bottom left of the window, then the Connect button at the top left. You can then drag and drop songs into the device and transfer them by clicking the Transfer button.
  14. Enjoy the free, open source media player that puts Apple and Microsoft to shame!

Sharing Music with iTunes over a network

If you have two computers, one running iTunes and the other, more enlightened one, running Amarok, it’s possible to share music between them, which should save you the trouble of duplication space-hogging mp3 files.

  1. In iTunes, click Edit->Preferences
  2. Click on the Sharing tab.
  3. Check the two checkboxes.
  4.  In Amarok, click Settings->Configure Amarok
  5. Click Media Devices.
  6. Click Add Device.
  7. From the drodown box, choose Music Sharing and give the device a name, e.g. “Shared Music”. Click OK,then OK again to return to the main application.
  8. Click Devices at the bottom left of the window.  At the top left of the window you should see a dropdown bo – choose “Shared Music” (or whatever you called it) and you should see all shared libraries on your network.

Posted in Amarok, Linux, mp3, open source, Sony Ericsson, Technical, Ubuntu | 8 Comments »

DojoBuilder released for Dojo 0.4.2

Posted by Shane O'Sullivan on May 10, 2007

I’ve released a new version of DojoBuilder (read here if you haven’t used DojoBuilder before) that is much more compatible with Dojo 0.4.2.  The changes:

  • A number of fixes to bugs that Dojo 0.4.2’s changed build system had introduced.
  • Handling of custom external modules.
  • The ability to use the intern-strings option to copy the HTML and CSS for widgets directly into the widget’s JavaScript file to minimise the number of Ajax request at page load time.

So, head on over to http://dojobuilder.skynet.ie for the latest version.

Posted in Ajax, Dojo, eclipse, Javascript, open source, Technical | 8 Comments »

 
Follow

Get every new post delivered to your Inbox.

Join 533 other followers

%d bloggers like this: