Card Tricks vs Tricks upon the Cards
In The Old Curiosity Shop Dickens briefly mentions a character who "earned his living by showing tricks upon the cards." As this seemed rather a Dickensian phrase, I did some research into its provenance. You can find out more here.
