One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
# www.guepardolabs.com -> guepardolabs.com | |
# www.guepardolabs.com.br -> guepardolabs.com | |
# www.guepardolabs.net -> guepardolabs.com | |
# guepardolabs.com.br -> guepardolabs.com | |
# guepardolabs.net -> guepardolabs.com | |
require 'rack-rewrite' | |
use Rack::Rewrite do | |
r301 %r{.*}, 'http://guepardolabs.com$&', :if => Proc.new {|rack_env| | |
rack_env['SERVER_NAME'] != 'guepardolabs.com' | |
} |
;var FooBar = (function($, window, document, undefined) { | |
'use strict'; | |
/** | |
* Constructor method | |
* | |
* @author Gustavo Franco | |
* @since 2013-06-27 | |
*/ | |
function FooBar() { |
require 'digest/sha1' | |
require 'fileutils' | |
directories = [ | |
"SOURCE DIR 1", | |
"SOURCE DIR 2" | |
] | |
files = {} | |
directories.each do |dir_name| | |
puts "Scanning Directory: #{dir_name} " | |
Dir.glob("#{dir_name}/**/*.*") do |file_name| |