A deck is 4 suits of 13 cards each. The ace is both low and high so that is why you have 10 ways to make a straight.
A flush is all cards of the same suite. There are two hands (flush and full house) between straight and straight-flush so this is why they are broken out.
I am not able to follow the calculation for number of way to make a straight (excluding straight flush) from here
$\binom{10}{1} \binom{4}{1}^5 - \binom{10}{1} \binom{4}{1}$
The part I don't get is the $\binom{4}{1}^5$
Where does that come from?
Is that 4 suits and 5 cards? Even if so I don't understand.