Simple way to resize partition size on x86

Hi, is there any simple way like some nice script to resize partition on x86 systems? I've tried some tutorials but without success. Thanks for some hints .

This is a good guide