Johnny's Software Saloon

Weblog where I discuss things that really interest me. Things like Java software development, Ruby, Ruby on Rails, Macintosh software, Cocoa, Eclipse IDE, OOP, content management, XML technologies, CSS and XSLT document styling, artificial intelligence, standard document formats, and cool non-computing technologies.

My Photo
Name:
Location: Germantown, Maryland, United States

I like writing software, listening to music (mostly country and rock but a little of everything), walking around outside, reading (when I have the time), relaxing in front of my TV watching my TiVo, playing with my cat, and riding around in my hybrid gas/electric car.

Saturday, June 11, 2005

Here is a del.icio.us backup - using a Ruby script.

One of many nice Code Snippets: del.icio.us backup [ruby] [sqlite] [del.icio.us] [backup].

It looks like not only a handy tool for del.icio.us "social bookmarks service users, but also a very nice example for people learning to program in Ruby.

Curious about the Ruby programming language? You can get Ruby from the site listed above, or if you have a Mac (yeah, baby!) then you have already got it.

Apple includes quite a lot of programming languages and tools with their computer operating system. Some are not installed by default, though. Especially, the fantastic Xcode IDE. Ruby is getting very popular.

So if you don't see it on your Mac already, then install latest version of Apple's free Xcode IDE. Version 2.1 at the moment. Xcode 2.0 is included on the Developer DVD that comes with Tiger (Mac OS 10.4). But, on June 6, 2005 when Steve Jobs announced at the Apple Macintosh WWDC that the Mac was going to start transitioning to using Pentium CPUs for a while, Apple instantly rolled out Xcode 2.1. Might as well get started with Xcode 2.1, or whatever the latest thing is right now. If you haven't used Xcode already, that is.

To check if ruby is on your Mac already, open the Terminal application and type: man ruby

If you have Ruby, you will get a man page for it telling the syntax of the ruby command. Note that you exit the man page by typing the letter q. It stands for quit, in this case.



0 Comments:

Post a Comment

<< Home

Related pages & news