Originally Posted by
PedalingFool
I was riding down the road today and this truck getting ready to make a left stops, giving me the impression that he is waiting for me. Not wanting to keep the guy waiting I stood up and started pedaling as fast as I could so I could get by him as quickly as possible... as soon as I took about 10-15 pedals he guns it and makes the turn...
I had to slam on my brakes and skid across the road, just barely missed T-Boning him...

It's probably a good idea in future to not try to do them such favours. As you've seen, they rarely see fit to repay it.
Ride as normal, but watch them closely. Don't assume they've seen you until you see the whites of their eyes. If there's any doubt they've seen you, take more of the lane, and maybe back off the power a bit.
In the meantime, if you can recall the details, get the number of the truck driver's company and let them know of your experience. There's really no reason he couldn't have waited for you to pass, other than pig ignorance.