Go to the Kryptonite web site. The examples of how to lock up are the best.
The best way is to remove the front wheel put it beside the back wheel, and get both wheels the frame, one crank arm, and the thing you are locking to into the D lock.
It fills the space inside the lock. If there is room for a pipe in the lock inner space, it can be levered and broken in some cases. Also this uses only the D lock, and gets both wheels. If the seat post clamp is quick release take the seat. Put a cork in the post to keep rain out. The cable won't slow down someone who plans ahead to steal a bike. If you are forced to use a cable wind it tight and get the lock part of the cable up high so it can not be put on the ground. If the lock mechanism of a cable can be put on the ground, a hammer, rock, etc can be used to slam the mechanism and it comes apart. Don't need to cut the cable. Wind the cable as tight as possible.
The problem with all this is you can't lock to something as big as a phone pole unless you use a not very secure cable. The only way to do get around a phone pole is to buy a hardened Kryptonite chain. The New York Chain will work, but it weighs a ton. But it will slow down most thieves.
Again make sure the lock mechanism on the chain can't reach the ground. If you are caerfull it will do what the D lock will do. Some riders lock the chain around the waist or over one shoulder. If you do this don't go near the water, if you fall in it's over.
Forget locking the bike outside at night.