This file contains hidden or 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
Copyright (c) 2011 ZURB, http://www.zurb.com/ |
This file contains hidden or 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
namespace :minifier do | |
JAR = "/Users/blanders/MyDocs/Library/yuicompressor.jar" | |
def minify(files) | |
files.each do |file| | |
next if file =~ /\.min\.(js|css)/ | |
minfile = file.sub(/\.js$/, ".min.js").sub(/\.css$/, ".min.css") | |
cmd = "java -jar #{JAR} #{file} -o #{minfile}" |
This file contains hidden or 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
# Turn off MultiViews | |
Options -MultiViews | |
# Directive to ensure *.rdf files served as appropriate content type, | |
# if not present in main apache config | |
AddType application/rdf+xml .rdf | |
# Rewrite engine setup | |
RewriteEngine On | |
RewriteBase /irc/2008/09/25 |
NewerOlder