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 lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Jasmine Spec Runner</title> | |
<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine.css"> | |
<script src="js/jquery-1.11.0.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/jasmine/2.0.0/jasmine-html.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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
coffee: { | |
compile: { | |
files: { | |
'js/faki.js': 'js/coffee/faki.coffee', | |
'js/specs/fakiSpec.js': 'js/coffee/fakiSpec.coffee' | |
} | |
} |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
compass: { // Task | |
dist: { // Target | |
options: { // Target options | |
sassDir: 'css/sass', | |
cssDir: 'css', | |
outputStyle: 'expanded', | |
environment: 'production' |
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
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script> | |
$(document).ready(function(){ | |
$(document).bind("contextmenu", function(e){ | |
return false; | |
}); | |
$(document).on('keydown', function(e) { | |
if(e.keyCode == 123) return false; | |
}); |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
compass: { | |
dist: { | |
options: { | |
sassDir: 'css/sass', | |
cssDir: 'css', | |
outputStyle: 'expanded', | |
environment: 'production' |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
compass: { | |
dist: { | |
options: { | |
sassDir: 'css/sass', | |
cssDir: 'css', | |
outputStyle: 'compressed' | |
} |
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
sudo apt-get -y update && sudo apt-get -y upgrade | |
sudo apt-get -y install apache2 | |
sudo apt-get -y install php5 php5-mysql | |
sudo apt-get -y install mysql-server |
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
<!-- Check if jQuery already exists --> | |
<script type="text/javascript"> | |
(function() { | |
if(window.jQuery === undefined) | |
{ | |
document.write('<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"><\/script>'); | |
} | |
else | |
{ | |
jQuery = window.jQuery; |
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
<!-- Favicons --> | |
<!-- In case image.ico --> | |
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> | |
<!-- In case image.png --> | |
<link rel="shortcut icon" type="image/png" href="favicon.png" /> | |
<!-- Apple Devices --> | |
<link rel="apple-touch-icon" href="60x60.png"> |
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 Scroll to Top */ | |
function scrollTop() { | |
$(window).scroll(function() { | |
$(window).scrollTop() > 50 ? $('#top').fadeIn('slow') : $('#top').fadeOut('slow'); | |
}); | |
$('a[href=#top]').click(function() { | |
$('html, body').animate({scrollTop:0}, 'slow'); | |
return false; | |
}); |
OlderNewer