In Photoshop CS6, the new version of Photoshop, you can use special cropping tool and you are done, but that doesn't mean you cannot achieve the same result with older versions.
If you were ever wondering how the heck do they create those continuous patterns, then wonder no more and check this neat Photoshop tutorial that might teach you a new designing trick or two.