ctrl + shift + ,
= goto previous tag or attribute
ctrl + shift + .
= goto next tag
ctrl + ,
= expand to tag
ctrl + shift + 0
= reduce selection to tag
ctrl + shift + ;
= strip surrounding tags
ctrl + shift + `
= delete tag contents
ctrl + shift + '
= select surrounding tag
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
# per comprimere durante l'invio dei dati | |
# BEGIN GZIP | |
<ifmodule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript | |
</ifmodule> | |
# END GZIP |
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
// questo file fa funzonare browser-sync con i file less e jade | |
var gulp = require('gulp'); | |
var less = require('gulp-less'); | |
var util = require('gulp-util'); | |
var jade = require('gulp-jade'); | |
var plumber = require('gulp-plumber'); | |
var cleancss = require('less-plugin-clean-css'), | |
clean = new cleancss({ advanced: true }); | |
var autoprefix = require('less-plugin-autoprefix'), |
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
// stylus + browserSync + watch | |
var gulp = require('gulp'); | |
var postcss = require('gulp-postcss'); | |
var autoprefixer = require('autoprefixer-core'); | |
var lost = require('lost'); | |
var browserSync = require('browser-sync'); | |
var stylus = require('gulp-stylus'); | |
var plumber = require('gulp-plumber'); | |
var poststylus = require('poststylus'); |