poniedziałek, 30 listopada 2015

Java8 - Top most useful "default method" appliances.

  • Creating dummy default implementations
  • Default interfaces - making interfaces functional
  • Brings utility functions from couple sources

wtorek, 17 listopada 2015

How to get around git aliases?

Are you tired with typing the same long git commands? Here you are the solution. GIT ALIASES!!

Here you have a bundle of most useful:

git config --global alias.hist "log --pretty=format:'%h %s%d [%an]' --graph --date=short" 
git config --global alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
git config --global alias.sts status
git config --global alias.co checkout
git config --global alias.newbranch 'checkout -b'
git config --global alias.last 'log -1 HEAD'
git config --global alias.unstage 'reset HEAD --'

poniedziałek, 2 listopada 2015

"Expected CSRF token not found. Has your session expired?"

Exception: org.springframework.security.web.csrf.MissingCsrfTokenException It is produced when CsfrFilter when doing filtering find that It is generated when token loaded from token repository (CsrfTokenRepository)