This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
| desc "Edit a post (defaults to most recent)" | |
| task :edit_post, :title do |t, args| | |
| args.with_defaults(:title => false) | |
| posts = Dir.glob("#{source_dir}/#{posts_dir}/*.*") | |
| post = (args.title) ? post = posts.keep_if {|post| post =~ /#{args.title}/}.last : posts.last | |
| if post | |
| puts "Opening #{post} with #{editor}..." | |
| system "#{ENV['EDITOR']} #{post} &" | |
| else | |
| puts "No posts were found with \"#{args.title}\" in the title." |