Publish away. I published all my old source code (that still exists and I legally can), some of it 45 years old. It doesn't matter how embarrassing it is, just say "I've learned a few things along the way" but frankly nobody is going to complain about it.
If someone is rude enough to complain, they are not worth your while.
If someone is rude enough to complain, they are not worth your while.