Assess the sentiment intensity of the tweet "“When I get sad, I stop being sad and be awesome instead.” \n― Barney Stinson" based on the mood of the author. Offer a numerical rating between 0 and 1, with 1 representing highly positive and 0 representing highly negative.