What does "'d" mean in this context? Is it an abbreviation of the word "would"? Or "did"? And could you teach me how to distinguish them?

Native speaker’s answer
Rebecca
The "d" in this context is an abbreviation for the word "had." "Oh, imagine if I had thrown this out..." And sure! There are many abbreviations in English. I will list the most common abbreviations that you will see in English. Ex: 've is shortened for have => should've (should have), could've (could have), would've (would have) Ex: 's is shortened for is => it's (it is), he's (he is), she's (she is), that's (that is), etc. Ex: 'll is shortened for will => that'll (that will), it'll (it will), she'll (she will), they'll (they will), etc. Ex: n't is shortened for not => don't (do not), won't (will not), wouldn't (would not) Ex: 'd is shortened for had => I'd (I had), she'd (she had), he'd (he had), etc.