Text this: A general model for fatigue damage due to any stress history