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
- hash_new = t("about.usr", locale: :x).select{|x| x =~ /^[a-zA-Z]+$/}.select{|y, z| z[:bod].present? } |
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
def rhost(www = nil) | |
if request.host != "www#{env_dev}.a.a" | |
rhost = request.host.gsub(/^w+(|\d+)\./, "").gsub(/\.a\.a/, "") | |
@rhost = request.host.gsub(/^w+(|\d+)\./, "").gsub(/\.a\.a/, "") | |
elsif www == 1 and request.host == "www#{env_dev}.a.a" | |
rhost = 'www' | |
@rhost = 'www' | |
elsif www == 2 | |
rhost = 'test' | |
@rhost = 'test' |
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
url = window.location.host | |
sub = url.split('.') | |
path = window.location.pathname.split('/') | |
console.log(path[2]) | |
if sub[1] == 'ada' | |
# and path[2] == undefined | |
$(".www.index").ready -> | |
width = 700 | |
height = 700 | |
speed = -1e-2 |
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
#= require jquery | |
# require jquery.turbolinks | |
#= require google.coffee | |
#= require init | |
#= require input_mask | |
#= require jquery-readyselector | |
# require jquery.fancybox.min |