What is the difference between CSS word-break vs word-wrap?

May 18, 2017

overflow-wrap (word-wrap) and word-break behave very similarly and can be used to solve similar problems. word-break is best used with non-English content that require specific word-breaking rules. overflow-wrap can be used regardless of language used.

References

  • https://css-tricks.com/almanac/properties/w/word-break/
  • https://css-tricks.com/almanac/properties/w/word-break/
  • https://css-tricks.com/almanac/properties/w/whitespace/
  • http://stackoverflow.com/questions/1795109/what-is-the-difference-between-word-break-break-all-versus-word-wrap-break/
Categories : CSS

How to do undo in Git?

May 15, 2017

References

  • https://github.com/blog/2019-how-to-undo-almost-anything-with-git
Categories : Git

What is Git commit squash?

May 11, 2017

Git commit squash allows to take a series of commits and squash them down into a single commit with the interactive rebasing tool.

References

  • https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History
  • https://github.com/ginatrapani/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit
Categories : Programming   Git

What is Universal JavaScript?

May 11, 2017

“Universal JavaScript” is used to describe JavaScript code that “can execute on the client and the server”.

References

  • https://medium.com/@mjackson/universal-javascript-4761051b7ae9
Categories : JavaScript

What is semantic commit message?

May 10, 2017

Semantic commit message is a commit message format which helps to write better commit message.

References

  • http://stackoverflow.com/questions/26944762/when-to-use-chore-as-type-of-commit-message
  • https://seesparkbox.com/foundry/semantic_commit_messages
  • https://github.com/fteem/git-semantic-commits
Categories : Programming