Funny, how many of the same users tout how bitcoin is so secure, but are skittish of explaining how to doublespend on BTC.
Option 1:
1st , you have to find someone dumb enough to accept zero confirmations
bitcoin's entire security model against double spending depends on mining confirmations. only a total noob (or someone malicious) would tout zero-confirmation transactions as secure.
The main issue on his post is most nodes will reject the second unconfirmed transaction due to the second attempt to spend the first TX's UTXO.
Nodes are designed to reject those by default and there's a very high chance that it will not reach a miner's node.
...unless it's labeled: RBF which is disabled by default <-(
I haven't tested yet).
I believe by principle, if you try that, the double-spending attempt will be considered both canceled transactions.
If ever there are two transactions that are trying to spend the same UTXO was accepted by a mining node, one of them will eventually get a confirmation and one will be discarded.
The only exception is: if both of them have too little fee to get a confirmation within (
default) two-weeks time, both will be rejected.