In short (a rule with many exceptions):
-то = some
-нибудь = any
-либо = -нибудь, but don't use it.
кое-... = "some... we all know about but for some reason not going to mention directly"