There's a device that can scan the _sides_ of specially marked cards and tell you the complete deck order.
For the shuffling machine there is this: https://www.youtube.com/watch?v=JQ20ilE5DtA
There are _so many_ ways to cheat at poker that you should basically never play a private game outside of close friends.
If you wanted to spend a year or so practicing, you can learn how to do false shuffles and cuts, bottom deals, cold stack a deck etc...
https://www.youtube.com/watch?v=G3Mu7jocdew This guy was a professional card cheat for decades before going honest.
As someone who knows a bunch of card tricks myself, I have learned to resist the temptation to do an impromptu 'ambitious card' routine just because a deck of cards and an audience is in front of me before a poker game.