Reading books, white papers and blog posts is the best way to keep yourself up-to-date and to get this very spark of inspiration which will make your next project a success.
In case you don't know where to start reading about computer science, IT, hacking or similar topics, or if you just don't know what to read next, I just published my reading list using a GitHub Project:
https://github.com/users/SkypLabs/projects/3
I hope it will help you get the inspiration you need.