DIY herb preservation
I've successfully dried both rosemary and oregano in a dehydrater, and I see no reason why you couldn't do the same in a warm dry place. Drying is a prerequisite for making herb oils anyway.

The flavour of rosemary in particular changes on drying, so it's not as good for some recipes as fresh