I don't know if there are any resources out their to teach you any concepts in a language that is not your native tongue. But you can definitely do something about boring sentences. Look into "sentence mining" and the anki plugin "morphman"
Anki isn't really ideal for learning things, just memorizing them. I think this is might be especially true for something like programming. However maybe something you could do would be take the text of a German programming book and run it through morphman. You should then have a lot of sentences that are comprehensible except one new word each. These sentences would be pertaining to programming, so hopefully interesting as well. I don't know how much it would make sense out of order, and maybe it would even give you examples of things not to do in the book and since it would be out of order it would be bad for learning programming.