How to rotate all those blocks with patterns

This other thread is not the same thing, but somewhat related. I would like both of these. Placing extra blocks to do stuff is annoying.