Popularized in the 1970's from use by the writers of US TV series Welcome Back, Kotter to replace the censored phrase up yours, but apparently already in use decades earlier.
up your nose with a rubber hose