Skip to content

Instantly share code, notes, and snippets.

View brunogarcia's full-sized avatar
📚
Always learning

Bruno brunogarcia

📚
Always learning
View GitHub Profile
@brunogarcia
brunogarcia / gist:e2d7844dd2af6ff1e459
Last active August 29, 2015 14:03
Configuration for Phonegap Build
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.garciaechegaray.app" versionCode="1" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
<!--/YourPhonegapProject/www/config.xml-->
<name>App Name</name>
<description>
App Description
</description>
<author email="bruno@garciaechegaray.com" href="http://blog.garciaechegaray.com">
App Name
</author>
@brunogarcia
brunogarcia / SassMeister-input.scss
Created November 11, 2014 13:44
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$align-types: ("left", "right", "center", "justify");
@for $i from 1 through length($align-types) {
$type: nth($align-types, $i);
.align-#{$type}{text-align: #{$type} !important;}
@brunogarcia
brunogarcia / SassMeister-input.scss
Created November 11, 2014 13:46
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$align-types: ("left", "right", "center", "justify");
@for $i from 1 through length($align-types) {
$type: nth($align-types, $i);
.align-#{$type}{text-align: #{$type} !important;}
### Bower ###
bower_components
.bower-cache
.bower-registry
.bower-tmp
{
"name": "My Project",
"version": "0.0.1",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-bowercopy": "~1.2.0"
}
}
module.exports = function(grunt) {
grunt.initConfig({
bowercopy: {
// CSS assets
css: {
options: {
destPrefix: 'src/AppBundle/Resources/public/css'
},
{
"name": "My Project",
"version": "0.0.1",
"authors": [
"Bruno Garcia <bruno@garciaechegaray.com>"
],
"description": "My Project",
"license": "MIT",
"private": true,
"ignore": [
# Assetic Configuration
assetic:
filters:
sass:
style: compressed
{# Main #}
{% stylesheets
'@AppBundle/Resources/public/sass/main.scss'
filter='sass'
output='css/main.css'
%}
<link href="{{ asset_url }}" rel="stylesheet" type="text/css" />
{% endstylesheets %}
{# Plugins #}
{% 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'
%}