Tuesday, December 22, 2015

GIT - swap origin from master to develop branch

Easy steps to swap local branches from master to develop, do it from working directory:

git fetch && git checkout develop
git remote set-head origin develop

Friday, December 11, 2015

GRADLE - delete whole directory with all subdirectories

Override clean task:

clean {
    delete += 'dist'
}

If you do like this it will remove all files but leaves empty sub-directories:(!!!!!!)
clean {
    delete += fileTree('someDir')
}
or
clean {
    delete += fileTree('someDir').include('**/*')
}

Saturday, December 5, 2015

Friday, December 4, 2015

CSS - best place to choose right color palette for your web app

Here you will find variety of web sites samples of different color palette
http://www.colourlovers.com/

Thursday, November 26, 2015

IDIOM - ready to take on the world

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".

GRADLE - gradle tutorial (link)

https://docs.gradle.org/current/userguide/tutorial_using_tasks.html

Wednesday, November 25, 2015

IDIOM - lean and mean

'lean and mean' is idiom.
It mins: capable and ready for hard, efficient work

More here.

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.