I came across this question earlier this evening. At first glance it was a clear "I can has teh codes?", but the OP self-answered.
I am aware of existing resources like:
To my mind, self-answered questions don't get a pass from the site quality guidelines; this would not be an acceptable question had the OP not answered it, and the fact that they did doesn't make it so. However, the votes on comments suggest a split of feeling each way. So is there a consensus: are questions like this on-topic? If not, should that be clearer in the Help Center?