Although I have it labeled as a Les Paul schematic, this wiring scheme will work with most two-humbucker, four-control guitars from Gibson such as the SG, ES-335, most hollowbody models, etc. This is the standard configuration with one volume knob and one tone knob for each pickup.
Different pickups will have different color codes for the wires. In this diagram, the gray wires go to ground. Other colors were chosen arbitrarily.
Wherever you see a ground symbol next to a potentiometer, the wire should be grounded to the metal on the back of the pot. After that, all of the grounds should all go to one point to avoid ground loops. See the "All About Grounding" page to learn more.
And don't forget that on the toggle switch, the bat points in the direction opposite the lug selected. Not that you couldn't just twist the whole thing around in the mounting hole, but still....
Note: The image above is larger than displayed. If you wish to print it, save it and resize as desired to take advantage of the actual resolution.