/dev/zero
outputs a stream of binary zeros.
This is often quite useful.
However, in some weird situation I needed a stream of binary 1s. This is how I did it:
$ cat /dev/zero |tr '\0' '\377'|hd
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*