Thoughts, stories and ideas.

protip

A 4-post collection

CSRF protection in a Bottle.py web-application

Here is a little snippet for CSRF protection in a Bottle.py web-application which can be used as a Bottle.py app-plugin. This was mostly ins ... »

Cihat Keser at | protip

Adding request mapping to a controller the groovy way

Last time I tried to write my Spring-MVC controllers in Groovy, I learned the hard way that they did not really play nice with each other, s ... »

Cihat Keser at | protip

Setting default encoding for content returned with responseBody annotation

In Spring-MVC, if the String object returned from your (RequestMapping & ResponseBody annotated) method is encoded in anything other tha ... »

Cihat Keser at | protip

Conditionally ignore JUnit tests

When you have a stubborn test case that was written with *nix OSes in mind and just keeps failing on your Windows machine, what do you do? A ... »

Cihat Keser at | protip