Skip to content

Instantly share code, notes, and snippets.

View brunogarcia's full-sized avatar
📚
Always learning

Bruno brunogarcia

📚
Always learning
View GitHub Profile
{% javascripts
'@AppBundle/Resources/public/js/jquery.js'
'@AppBundle/Resources/public/js/bootstrap.js'
'@AppBundle/Resources/public/js/plugins/bootstrap-datepicker.js'
'@AppBundle/Resources/public/js/plugins/bootstrap-filestyle.js'
'@AppBundle/Resources/public/js/plugins/bootstrap-sweet-alert.js'
'@AppBundle/Resources/public/js/plugins/bootstrap-tagsinput.js'
filter='?uglifyjs2'
output='js/main.js'
%}
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
# Grunt usually compiles files inside this directory
dist/
@brunogarcia
brunogarcia / eva.html
Last active September 14, 2015 18:25
<style type="text/css">
#spinner_wrapper {position: fixed; width: 100%; height: 100%; background-color: #000; z-index: 9999}
#spinner_wrapper .loading-image {margin-top: -127px}
#spinner_wrapper .message {position: relative;top: 50%;text-align: center;font-size: 14px;color: #fff}
#spinner_wrapper .message span {padding: 5px 10px}
</style>
<!--Spinner-->
<div id="spinner_wrapper">
<div class="message loading-image">
<!--CSS-->
<link href="/app/web/css/main_style_1.css" rel="stylesheet" type="text/css" />
<link href="/app/web/css/plugins_part_1_font-awesome_1.css" rel="stylesheet" type="text/css" />
<link href="/app/web/css/plugins_part_1_bootstrap-datepicker_2.css" rel="stylesheet" type="text/css" />
<link href="/app/web/css/plugins_part_1_bootstrap-tags-input_3.css" rel="stylesheet" type="text/css" />
<link href="/app/web/css/plugins_part_1_bootstrap-sweet-alert_4.css" rel="stylesheet" type="text/css" />
<!--JS-->
<script src="/app/web/js/main_jquery_1.js" type="text/javascript"></script>
<script src="/app/web/js/main_bootstrap_2.js" type="text/javascript"></script>
<!--CSS-->
<link href="/app/web/css/main.css" rel="stylesheet" type="text/css" />
<link href="/app/web/css/plugins.css" rel="stylesheet" type="text/css" />
<!--JS-->
<script src="/app/web/js/main.js" type="text/javascript"></script>
/*
Clean
Clear files and folders
https://github.com/gruntjs/grunt-contrib-clean
*/
'clean': ['<%= config.dist %>', '<%= config.tmp %>'],
/*
Copy
Copy files and folders.
/*
Connect
Start a static web server
https://github.com/gruntjs/grunt-contrib-connect
*/
'connect': {
options: {
port: 9000,
open: true,
livereload: 35729,
/*
Watch
Run tasks whenever watched files change
https://www.npmjs.com/package/grunt-contrib-watch
*/
'watch': {
css: {
files: '<%= config.dev %>/assets/scss/*.scss',
tasks: ['sass:dev']
},
/*
Sass
Compile Sass to CSS
https://www.npmjs.com/package/grunt-contrib-sass
*/
'sass': {
dev: {
options: {
style: 'expanded'
},
/*
JSHint
Validate files with JSHint
https://github.com/gruntjs/grunt-contrib-jshint
*/
'jshint': {
options: {
jshintrc: true
},
all: ['Gruntfile.js', '<%= config.dev %>/assets/js/main.js']