What is the Halachic Basis for Torah im Derech Eretz?

From 19 Letters by Daniel Adler.