You can remember the meaning of 或是 with this easy mnemonic:
I want to adopt a cat or (或) a dog, whichever is (是) in need of a new home.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.