Rrllududab
The variant called NetHack brass has a feature whereby in wizard mode, the #rrllududab extended command grants full attributes to your character (as well as 410-420 HP.) Play around with maximum strength, dexterity, constitution, intelligence, wisdom and charisma! The command's name itself is a play on the Konami Code. The name suggests right right, left left, up down, up down, A, B. Note that the real Konami code (from Talk:Rrllududab) is up, up, down, down, left, right, left, right, B, A, start; it seems that someone rotated their controller 90 degrees to the left before entering the code.
Players of wizard mode in other variants tend to wish for a large pile of blessed potions of gain ability. This tactic still works in NetHack brass, and remains useful if you want more stats but not the maximum.