Engineering Exotic Linear And Nonlinear Electromagnetic Responses Using Spatial And Spatiotemporal Modulation