Hackershelf is curated collection of legally free books. Check it out. On a related topic of programming books - check out Stack Overflow’s tag wiki on books.
Related: HN-Books: a listing all the books that hackers recommended to each other from the site HackerNews.