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
var gulp = require('gulp'); | |
var postcss = require('gulp-postcss'); | |
var autoprefixer = require('autoprefixer'); | |
var precss = require('precss'); | |
var cssnano = require('cssnano'); | |
var watch = require('gulp-watch'); | |
gulp.task('css', function () { | |
var processors = [ | |
autoprefixer, |
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
apt-get install youtube-dl | |
youtube-dl https://music.yandex.ru/album/664530 |
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
.ui-Component { | |
&::-webkit-scrollbar { | |
-webkit-appearance: none; | |
} | |
} |
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
var gulp = require('gulp'); | |
var postcss = require('gulp-postcss'); | |
var sprites = require('postcss-sprites'); | |
var opts = { | |
stylesheetPath : './dist', | |
spritePath : './dist/images/sprite.png', | |
outputDimensions: true, | |
padding : 10 | |
}; |
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
// Note: install GraphicsMagick or ImageMagick before use! | |
// This config rename and resize retina (*@2x.png) images | |
var gulp = require('gulp'); | |
var imageResize = require('gulp-image-resize'); | |
var rename = require('gulp-rename'); | |
var path = { | |
sprite: 'sprite/*@2x.png' | |
}; |
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
'use strict'; | |
var gulp = require('gulp'), | |
watch = require('gulp-watch'), | |
prefixer = require('gulp-autoprefixer'), | |
uglify = require('gulp-uglify'), | |
sass = require('gulp-sass'), | |
sourcemaps = require('gulp-sourcemaps'), | |
rigger = require('gulp-rigger'), | |
cssmin = require('gulp-minify-css'), |
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
var gulp = require('gulp'); | |
var csso = require('gulp-csso'); | |
var spritesmith = require('gulp.spritesmith'); | |
gulp.task('sprite', function () { | |
var spriteData = gulp.src('images/*.png').pipe(spritesmith({ | |
imgName: 'sprite.png', | |
cssName: 'sprite.css', | |
padding: 10, | |
cssOpts: { |
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
// Quick start guide | |
// 1) install node.js, npm | |
// 2) run command: npm install gulp browser-sync | |
// 3) run command: gulp | |
// 4) ????? | |
// 5) PROFIT | |
var gulp = require('gulp'); | |
var browserSync = require('browser-sync'); |