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.loadNpmTasks('grunt-exec'); | |
grunt.loadNpmTasks('grunt-shell'); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
// Project configuration. | |
grunt.initConfig({ |
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
requirejs = require('requirejs'), | |
LayoutManager = require("backbone.layoutmanager"), | |
hbsCompiled; | |
requirejs(['handlebars-helpers'], function(){ | |
hbsCompiled = require('../static/js/templates/hbsCompiled'); | |
var hand = require('Handlebars'); | |
}); | |
LayoutManager.configure({ |
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
/** | |
* Checks if the define process is running | |
* @param {string} process The process. | |
* @param {function(boolean)} The result of the operation. | |
* @return {void} | |
*/ | |
function isRunning(process, cb) { | |
var checkCommand = 'ps x|grep ' + process + '|grep -v grep|awk \'{print $1}\''; | |
var execOptions = {}; |
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
body { | |
background: blue; | |
padding:0; | |
} | |
header { | |
height: 200px; | |
background-color: red; | |
margin: 0; | |
display:block; | |
overflow: hidden; |
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
header { | |
width: 100%; | |
height: 200px; | |
background-color: red; | |
margin: 0; | |
display:block; | |
} | |
header div { | |
margin-top:50px; |
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
.container > p { | |
background-color: yellow; | |
min-height: 150px; | |
box-shadow: inset 0 5px 10px 1px rgba(0, 0, 0, 0.45), 0 5px 10px 1px rgba(0, 0, 0, 0.25); | |
} |
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
.container > p:last-child { | |
background-color: yellow; | |
} |
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
.container { | |
width: 100%; | |
} | |
.col1 { | |
width: 200px; | |
float: left; | |
margin-left: 20px; | |
background-color: #ddd; | |
} |
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
.container { | |
width: 100%; | |
} | |
.col1 { | |
width: 200px; | |
float: left; | |
margin-left: 20px; | |
background-color: #ddd; | |
} |
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
.codeblock { | |
width: 600px; | |
height: 200px; | |
background-color: yellow; | |
display: block; | |
} | |
.lineno { | |
background-color: #ddd; | |
width: 60px; | |
} |