Install the LibSass, node-bourbon and jit-grunt grunt plugin:
npm install --save-dev node-bourbon
npm install --save-dev jit-grunt
# Change Java Runtime: | |
sudo update-alternatives --config java | |
# Delete Open-JDK | |
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\* | |
# Install OpenJDK with FontFix | |
$ sudo apt-get install libfreetype6 | |
# install font fixed OpenJDK (https://launchpad.net/~no1wantdthisname/+archive/openjdk-fontfix) |
// a constructor function | |
var Backbone = { | |
Module: { | |
extend: function(attributes) { | |
this.defaults = { | |
type: 'Ape', | |
name: 'Ati' | |
}; | |
this.attributes = $.extend({}, this.defaults, attributes); |
'use strict'; | |
var gulp = require('gulp'), | |
$ = require('gulp-load-plugins')(), | |
_ = require('lodash'), | |
browserSync = require('browser-sync'), | |
reload = browserSync.reload, | |
nodemon = require('gulp-nodemon'), | |
source = require('vinyl-source-stream'), | |
buffer = require('vinyl-buffer'), |
http { | |
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m; | |
proxy_temp_path /var/tmp; | |
include mime.types; | |
default_type application/octet-stream; | |
sendfile on; | |
keepalive_timeout 65; | |
gzip on; | |
gzip_comp_level 6; |
types { | |
# Data interchange | |
application/atom+xml atom; | |
application/json json map topojson; | |
application/ld+json jsonld; | |
application/rss+xml rss; | |
application/vnd.geo+json geojson; | |
application/xml rdf xml; |
// Place your settings in this file to overwrite default and user settings. | |
{ | |
//-------- Search configuration -------- | |
// Configure glob patterns for excluding files and folders in searches. Inherits all glob patterns from the file.exclude setting. | |
"search.exclude": { | |
"**/dist": true | |
}, |