All posts in 'English posts'

Creating a CSRF protection with Spring 3.1

11-Jan-12

Note: This tutorial is for Spring Security 3.1, an updated version that uses the build-in CSRF protection of Spring Security 3.2 can be found here CSRF Attacks still seems to be a problem, a pity that there is no standard solution in the Spring 3.1 framework. Although not probably, i wanted to protect my projects […]

Read the complete article »

Mac OS X Lion loses network connection after sleep

05-Jan-12

Sleep related problems have never been a problem for me with OS X (at least the sleep of the machine) since Lion. Sleep works perfectly fine but after wake my machine has no internet connection anymore, at least it looks like this. It’s only domains that aren’t resolved anymore. It also affects wired and wifi […]

Read the complete article »

Git snippets

22-Dec-11

These are a view things that i had looked up to solve some problems and i plan to update this post regularly… To push a new branch to remote git push origin new_branchgit push origin new_branch To delete a remote branch git push origin :new_branchgit push origin :new_branch To push new tags git push –tags […]

Read the complete article »

oEmbedding twitter updates with Java and WordPress

20-Dec-11

I’m really a big fan of oEmbed. My project Daily Fratze acts as oEmbed provider and consumer for example. Now I’m really happy that twitter announced that it now acts as an oembed provider: Introducing the statuses/oembed endpoint: dev.twitter.com/docs/api/1/get… ^TS — Twitter API (@twitterapi) Dezember 8, 2011 (I’d even be happier if twitter would autodiscover […]

Read the complete article »

Scripted network mounts with Windows

12-Dec-11

I have some services and scheduled tasks that call a Batch file under windows. The scheduled tasks cannot access network drives that the assigned user has defined, but luckily there is a “mount” pendant within Windows as well. To mount a network share within the Batch script use: net use t: \\server\share /persistent:no The authentication […]

Read the complete article »