This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- Forwarded message ---------- | |
From: Mark S. Miller <erights@google.com> | |
Date: Tue, Nov 16, 2010 at 3:44 PM | |
Subject: "Future of Javascript" doc from our internal "JavaScript Summit" | |
last week | |
To: javascript-standard@google.com | |
On November 10th and 11th, a number of Google teams representing a variety | |
of viewpoints on client-side languages met to agree on a common vision for | |
the future of Javascript. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Helps you migrate from attachment_fu | |
# put it in your /lib dir and include it your xxxx_uploader.rb | |
module UploaderFu | |
def partition_dir | |
("%08d" % model.id).scan(/\d{4}/).join("/") | |
end | |
def model_dir | |
"#{model.class.to_s.underscore}/#{mounted_as}/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh_user = "user@domain.com" # for rsync deployment | |
remote_root = "~/path/to/remote/" # for rsync deployment | |
namespace :styles do | |
desc "Clear styles" | |
task :clear do | |
puts "*** Clearing styles ***" | |
system "rm -Rfv css/*" | |
end | |
desc "Generate styles" |
NewerOlder