If you are 1 basing into expand then you can stay safe of the high ground with some bunkers. Tanks with siege should keep you good here.
If you are doing a 1 rax FE your going to need at least 3 bunkers to hold of a 4 gate. When they do that delayed push you mention where they have lots of units, usually with quite number of FF to stop you from repairing you might want to try and get SCVs infront and Behind the bunkers on hold position helps to stop the zealots and still able to repair.
These are just some of the ideas on how you can hold of some variations of the 4 gate.
Some of the higher ladder gods will give you a bit more information ..
Even the smallest donations help keep sc2sea running! All donations go towards helping our site run including our monthly server hosting fees and sc2sea sponsored community tournaments we host. Find out more here.