Friday, January 21, 2005

Its not 43 things yet

http://www.43things.com/people/view/BloodyCactus

Posted by Stu on 01/21 at 10:58 PM Permalink to this post.
Filed Under : Life
Comments are closed There are no comments on this entry.
Linked To by (0) blogs. Get a Trackbacks link here

Get going with Rails

I dont usually do trackbacks but when its good, its worth it. I was particuarly impressed that Curt went and showed how to add has_many and belongs_to attributes on the categories.

A nice, simple and concise introduction to using rails! Now if I could just see a Rails tutorial using Apache2 instead of WEBrick I would be even more impressed…


    Rolling with Ruby on Rails by Curt Hibbs—The Ruby community is abuzz about Rails, a web application framework that makes database-backed apps dead simple. What’s the fuss? Is it worth the hype? Curt Hibbs shows off Rails, building a simple application that even non-Rubyists can follow.

Posted by Stu on 01/21 at 06:54 PM Permalink to this post.
Filed Under : Development
Comments are closed There are no comments on this entry.
Linked To by (0) blogs. Get a Trackbacks link here

Ruby : Usless Code Snippets

I Love useless ruby code snippets… I moved my mame roms (.zip files) from windows to my Linux system and gxmame didnt like them in .zip files. doh!!
edit :: apparently I had permissions wrong wink and zips work fine.. ohwell!! hahahah

Ruby to the rescue.

def blah(s)
    
dir s.split(".zip")
    
system("unzip -d #{dir} #{s}");
end

Dir.glob("*.zip")
x.each do |zipfile|
    
blah(zipfile)
end

Works like a charm. Go Ruby!

Posted by Stu on 01/21 at 05:36 PM Permalink to this post.
Filed Under : Development
Comments are closed There are no comments on this entry.
Linked To by (0) blogs. Get a Trackbacks link here

Page 1 of 1 pages