This file contains hidden or 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
/** | |
* Images | |
* | |
* Look at src/images, optimize the images and send them to the appropriate place | |
*/ | |
gulp.task('images', function() { | |
// Add the newer pipe to pass through newer images only | |
return gulp.src(['./assets/img/raw/**/*.{png,jpg,gif}']) | |
.pipe(newer('./assets/img/')) |
This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
# ВАЖНО. mail.ru время от времени меняет внутрянку, не очень сильно, но требуется адаптация скрипта. | |
# Если скрипт не работает, просьба разместить патч в комментариях или сделать работающий форк. | |
# 2018-06-18 updated: mail.ru changed internals | |
# 2017-09-22 original idea: https://novall.net/itnews/bash-skript-dlya-skachivaniya-fajlov-s-mail-ru-cherez-konsol-linux.html | |
URL="$1" |