About 3e11 combinations are possible, about 10 billions different antibodies will be generated by a human body (numbers I just sourced from Wikipedia).
The shuffling is done by recombination, which means joining segments of DNA in a random fashion (a similar recombination process is actually used for DNA repair, though with somewhat less randomness!)
There's a lot more to say about all of this, but I don't know how much immunology I can usefully describe in a few HN comments =]