Simple one-dimensional examples of various hydrodynamics techniques