To arbitrarily rotate and flip icons, use the fa-rotate-* and fa-flip-* classes.
fa-rotate-*
fa-flip-*