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
<html> | |
<head> | |
<style> | |
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} |
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
# STRONG HTACCESS PROTECTION | |
<Files ~ "^.*.([Hh][Tt][Aa])"> | |
order allow,deny | |
deny from all | |
</Files> | |
# DIRECTORY CUSTOMIZATION | |
<IfModule mod_autoindex.c> | |
# SET INDEX OPTIONS | |
IndexOptions IgnoreCase FoldersFirst SuppressHTMLPreamble |
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 request = function (options) { | |
// just in case | |
options = options || {}; | |
var url = options.url, | |
method = options.method || 'GET', | |
onSuccess = options.onSuccess, | |
onError = options.onError, | |
params = options.params, |
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
function fizzbuzz(n){ | |
var ft='Fizz',bt='Buzz',f=(n%3==0),b=(n%5==0); | |
return (f&&b)?ft+bt:f?ft:b?bt:n; | |
} |