First things first: A vacation will almost certainly help.
After that, try learning something outside your normal programming repertoire, ideally very different from what you do at work. A new language (I suggest OCaml or Smalltalk, either should have plenty of new ideas to get you inspired), or program category (OpenGL graphics? Interpreters for tiny languages? Games?), etc. Do something new and fun.
After that, try learning something outside your normal programming repertoire, ideally very different from what you do at work. A new language (I suggest OCaml or Smalltalk, either should have plenty of new ideas to get you inspired), or program category (OpenGL graphics? Interpreters for tiny languages? Games?), etc. Do something new and fun.