If I am trying to ripen them quickly, I make sure to place them near ripe fruit (like bananas). You can also place them in a paper bag with ripe fruit, which accelerates the ripening process even quicker. Apparently, baking underripe avocados with foil helps them soften up, but I haven't tried this.