ready to take on the world - is an idiom
It means:
"to try to do a lot/too much"
"to try to fight with everyone"
In this particular case it probably means "trying to do too much".
Thursday, November 26, 2015
Wednesday, November 25, 2015
BOWER - difference between tilde(~) and caret(^) before version number
In the simplest terms, the tilde matches the most recent minor version (the middle number). ~1.2.3 will match all 1.2.x versions but will miss 1.3.0.
The caret, on the other hand, is more relaxed. It will update you to the most recent major version (the first number). ^1.2.3 will match any 1.x.x release including 1.3.0, but will hold off on 2.0.0.
More is here.
Tuesday, November 24, 2015
GULP - how to configure Gulp to use Sass instead of Less
In order to use Sass instead of Less with Gulp follow this instruction:
https://www.npmjs.com/package/gulp-ruby-sass
and here:
https://github.com/sindresorhus/gulp-ruby-sass
Here is the gulp task for Sass (instead of Less) in HotTowel generator for Angular project:
https://www.npmjs.com/package/gulp-ruby-sass
and here:
https://github.com/sindresorhus/gulp-ruby-sass
Here is the gulp task for Sass (instead of Less) in HotTowel generator for Angular project:
var sass = require('gulp-ruby-sass');
/** * Compile less to css * @return {Stream} */gulp.task('styles', ['clean-styles'], function() {
/*log('Compiling Less --> CSS');
return gulp .src(config.less) .pipe($.plumber()) // exit gracefully if something fails after this .pipe($.less())// .on('error', errorLogger) // more verbose and dupe output. requires emit. .pipe($.autoprefixer({browsers: ['last 2 version', '> 5%']})) .pipe(gulp.dest(config.temp));*/
log('Compiling Sass --> CSS');
return sass(config.sass)
.pipe($.autoprefixer({browsers: ['last 2 version', '> 5%']}))
.pipe(gulp.dest(config.temp));
});
gulp.task('sass:watch', function () {
gulp.watch(config.sass, ['sass']);
});
ANGULAR - Angular style guide from John Papa
Angular style guide from John Papa (https://twitter.com/john_papa)
https://github.com/johnpapa/angular-styleguide
Angular course from John Papa:
https://www.pluralsight.com/courses/angularjs-patterns-clean-code
https://github.com/johnpapa/angular-styleguide
Angular course from John Papa:
https://www.pluralsight.com/courses/angularjs-patterns-clean-code
Monday, November 23, 2015
Friday, November 20, 2015
GIT - proxy settings
Edit with e.g. Far .gitconfig (usually it is located under C:\Users\youraccount\)
Add these locs:
[http]
sslVerify = false
proxy = http://username:passwd@domain:port
Where “username” is your domain username.
The same you can do it with editing in CLI e.g. cmd :
git config --global --edit
or
git config --global http.sslVerify false
git config --global http://username:passwd@domain:port
Subscribe to:
Posts (Atom)