Language:
Free Online Dictionary|3Dict

见风使舵

Source : CEDICT

lit. see the wind and set the helm (idiom); fig. to act pragmatically/to be flexible and take advantage of the situation