A great book for brushing up/re-learning pre-calc is "Precalculus Mathematics in a Nutshell"[0] by George F. Simmons (you can find it used cheap). He really boils it down to the essentials. For example here's how he opens his chapter on Trig:
"Most trigonometry textbooks have been written by people who appear to believe that the importance of the subject lies in its applications to surveying and navigation. Even though very few people become surveyors or navigators, the students who study these books are expected to undertake many lengthy calculations about the heights of flagpoles, the widths of rivers and the positions of ships at sea. The truth is that the primary importance of trigonometry lies in a completely different direction - in the mathematical description of vibrations, rotations, and periodic phenomena of all kinds, including light, sound, alternating currents and the orbits of the planets around the sun. What matters most in the subject is not making computations about triangles, but grasping the trigonometric functions as indispensable tools in science, engineering and higher mathematics. These functions and their properties are the sole subject matter of this chapter."
The entire book has that vibe. It's wonderful.
[0]https://www.amazon.com/Precalculus-Mathematics-Nutshell-Geom...
I bit the bullet and focused my first few semesters almost entirely on remedial math education, trying to fill in that gap. Because I now had a strong motivation, a little age, and focus, I managed to become a very good math student and even received the occasional award during my undergrad math education.
I've lost much of it, but I now know I can learn it, and many of the topics that had intimidated me at first turned out to be not a big deal once I got it. One day as a hobby I plan on starting over from algebra and work up again for fun.
Also, even in pretty advanced CS (at least in my field, security and, particularly, cryptography), most of the nuts-and-bolts math is high school math.
I feel the same way though, I've been looking back through some basic algebra on Khan Academy too because I feel maths is very much my weak point.
Since the 2nd program I ever wrote was a script to do my math homework for me, I laughed at her.
Then I failed to pass the first year of CS bachelor. Twice.
I am very glad to see this most excellent book here, and will add it to my collection.
Good luck with your studies, and never feel embarrassed to better yourself!
and I'm not talking about brushing up on my linear algebra, that comes later, I'm talking high school level mathematics, stuff that I've largely forgotten or didn't "get" first time round.
I've seen these "machine learning for hackers!" articles who try to dish out a bit of maths saying that's all you need, but I don't think you can escape the fact that sometimes you just need to start from the beginning and work your way up