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
<!DOCTYPE html> | |
<html class="no-js"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Site</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="http://www.modernizr.com/downloads/modernizr-latest.js"></script> |
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
<!-- jQuery 1.7.0 min --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> |
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
<!DOCTYPE html> | |
<html class="no-js"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Site</title> | |
</head> | |
<body> | |
</body> | |
</html> |
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
DEV_PROVISIONING_UUID = "3E4D9E49-E44B-4B73-AFAD-248C720ECD53" | |
DEV_SIGN = "Ruben Fonseca" | |
DEV_APP_NAME = "My greatest app" | |
DEV_APP_ID = 'com.0x82.app' | |
TITANIUM_SDK_VERSION = '1.8.2' | |
IPHONE_SDK_VERSION = '5.0' | |
BUILDER_PATH = "/Library/Application Support/Titanium/mobilesdk/osx/#{TITANIUM_SDK_VERSION}/iphone/builder.py" | |
if File.exists?(BUILDER_PATH) |
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
@include single-text-shadow($blur: 0, $color: #ffffff, $voff: 2px); |
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
// When not using jQuery... | |
var isArray = Array.isArray || function (obj) { | |
return obj && typeof obj === 'object' && typeof obj.length === 'number' && !obj.propertyIsEnumerable('length'); | |
}; |
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 lt IE 7]> | |
<div class="chromeframe"> | |
<div class="container"> | |
<p>Þú er að nota <strong>úreltann</strong> vafra. Vinsamlegast <a href="http://browsehappy.com/">uppfærið vafrann</a> eða <a href="http://www.google.com/chromeframe/?redirect=true">gerið Google Chrome Frame virkt</a> til að gera þessa síðu nothæfa.</p> | |
<hr> | |
<p class="en">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> | |
</div> | |
</div> |
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
/** | |
* Returns a random number between min and max | |
*/ | |
function getRandomArbitary (min, max) { | |
return Math.random() * (max - min) + min; | |
} | |
/** | |
* Returns a random integer between min and max | |
* Using Math.round() will give you a non-uniform distribution! |
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
// When not using jQuery... | |
var isArray = Array.isArray || function (obj) { | |
return obj && typeof obj === 'object' && typeof obj.length === 'number' && !obj.propertyIsEnumerable('length'); | |
}; | |
// Log grouped statements... | |
var grp = function ( title, arr ) { | |
arr = arr.reverse(); | |
var len = arr.length, |
OlderNewer