1.)Having an exceptionally crazy good time; joking with friends, often but not necessarily under the influence of alcohol or drugs. Originates from the city of Zagreb in Croatia.
2.)Occupying oneself intensely with something in a positive or pleasurable way.
"We were shaving so much last night that I almost pissed myself laughing."
"I was shaving for hours over that book yesterday, it was so brilliant."