See InstallingPackages and CategoryPackaging. For smaller bits of lisp that aren't really full fledged packages, you can copy them into your init.el . . .
separate usage example from motivation; compare to MELPA