Heat oil, garlic, and a pinch or two of pepper flakes over medium-low in a medium skillet. Let cook for 3 to 5 minutes, until garlic is just barely golden at the edges. Add drained cannelini beans and stir to combine. Add salt, to taste. Cook beans in garlic oil for 3 to 4 minutes, adding a tablespoon of water if it looks dry. Stir in artichoke hearts and cook, stirring, for 1 minute, just to warm. Taste for seasoning and add more salt and/or pepper, if needed. Stir in parsley. Eat as-is, ladled over firm slices of toast, and/or finished with parmesan or pecorino cheese.