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
if (typeof (AC) === "undefined") { | |
AC = {} | |
} | |
AC.Detector = { | |
getAgent: function () { | |
return navigator.userAgent.toLowerCase() | |
}, | |
isMac: function (c) { | |
var d = c || this.getAgent(); | |
return !!d.match(/mac/i) |
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
var A = [-100, 2, 44, 0, 39, 5000010]; | |
function amplitude(A){ | |
var n = A.length; | |
var i; | |
var min_val; | |
var max_val; | |
var allowed_min = 0; | |
var allowed_max = 5000000; | |
var max_elements = 3; |
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
<Main> | |
<Level> | |
<Category id="a"> | |
<SubCategory>one</SubCategory> | |
<SubCategory>two</SubCategory> | |
<SubCategory>three</SubCategory> | |
</Category> | |
<Category id="b"> | |
<SubCategory>one</SubCategory> |
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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot /opt/railsapps/testone/public | |
ServerName domain1.com | |
ServerAlias domain1.com | |
ErrorLog logs/domain1-error_log | |
CustomLog logs/domain1-access_log common | |
<Directory /opt/railsapps/testone/public> | |
Allow from all | |
Options -MultiViews |
NewerOlder