A real one too, not metaphorical... ;)
Unfortunately for the snake, it's dead :(
I think it's a Common House Snake, aka Common Wolf Snake (which sounds more exciting). The Latin name is Lycodon capucinus. They eat frogs, so I guess that's what is was after in the garden, as we always have a couple of them. It was about 40-50cm long.
The Singapore Snakes Blog has a much more detailed post.
For Americans seeking to identify a snake, the Ohio Public Library Information Network provides a useful guide.