The abbreviation NB comes from the Latin nota bene, and basically means "note".
When I was a wee lad in secondary school, one day in class our math teacher was writing something on the board, and then added an "NB" to the side to note certain exceptions to what he was writing. On a whim, he...