I don't have the equipment to mine cryptocurrencies, but that would be one way.
What I do is contributing to open source, and have a liberapay account (I used to use gratipay, but it's closed now). If you are in a good project with generous users, this can give you a few extra dollars.