Archive of July 2008

July 27

Feather Releases

In the past few days, I have released a couple of new feathers; Code and Project. These are the features I really want in a blog and, since I haven’t been able to find anything that fit the bill, I created them like any self respecting programmer.

You can see an example of the Code feather here.
I don’t currently have an example of the Project feather, because I’m waiting on an update to the Categorize module.

I have also added a feature to the code feather to embed gists. using [gist: 2727] as seen in this post.

You can get the source to the Code and the Project feathers at github

12:05 AM | 0 Comments | Tags:
July 24

REDLISTS Launch!

I have been working on redlists for a couple of months with Ross. It is now officially ready for launch. Redlists is an application for handling mailing lists. We sought to make the best experience for both list managers and list subscribers. We hate getting unsolicited mail, so we have made it easy to join and easy to leave. You can subscribe or unsubscribe with one click; or, you can change your settings so that you can stop receiving emails, yet still remain connected by viewing all messages through the web interface.

Redlists is currently in open beta. If you want a better way to manage your mailing lists register on redlists.com. If you have any questions you can email me at matt at redlists.com.

09:27 AM | 0 Comments | Tags: ,
July 23

This is a video of a sample application I made using rbvimeo.

11:45 PM | 0 Comments | Tags: , ,

Break Strings into Separate Lines with Ruby

11:37 PM | 0 Comments | Tags:

Document Monitoring in Ruby

# This program watches a file for changes.  Whenever a change is made, it
# prints a message in the terminal.
 
require 'ftools'
 
log_file = "test.log"
last_change = File.mtime(log_file)
 
while(true)
  if File.readable?(log_file) && 
    (file_time = File.mtime(log_file)) > last_change
 
    last_change = file_time
    puts "Log has been updated"
  end
end
09:04 PM | 0 Comments | Tags: