If you are hunting for a dependable cheat-code library, CheatCC.com is the name that comes up most often. It has been around for years and keeps a large, well-organised archive covering everything from 8-bit classics to current releases.
The site sorts entries by console and by game, so you can usually jump straight to the level, boss or unlockable you are stuck on. Codes, Easter eggs and walkthroughs all sit in the same place, which makes it a handy first stop before you start digging through scattered forum posts.