The character featured in It's Kind of a Funny Story by Ned Vizzini. He checks himself into a mental hospital and stays there for a few days. Ned Vizzini wrote the book in approximately one month and used about 85% of his actual experience; he added in the love triangle, changed his age during the events, manipulated the races and personalities of the actual people there, and changed some names around.
1: Isn't Craig Gilner awesome?
2: Yeah, he was pretty much based off of Ned Vizzini himself. Obviously he's cool.