Buy an e-reader with the money and get everything from Library Genesis.
Though I personally read CS books on a computer, so I can have my editor and terminal on the side while I read.
E-reader is fun to have for literature in general.
If you want to learn about how computers work from the ground up, The Elements of Computing Systems a.k.a NAND to Tetris is very enlightening.
For Computer Science, Structure and Interpretation of Computer Programs is one of the core books, alongside Introduction to Algorithms.