Posts

activate git trace on client (verbose output)

in current git bash export: me@DEV703 ~/temp $ export GIT_TRACE=1 $ export GIT_TRACE_PACKET=1 $ export GIT_CURL_VERBOSE=1

use waffle securityFilter with grails (single sign on against an windows active directory)

Bild
install grails grails create-app install grails templates " grails install-templates " download waffle from http://dblock.github.io/waffle/ copy waffle jar files to \lib (guava, jna, platform, slf4j-api, waffle-nja) edit \src\templates\war\web.xml Now following controller code should work, showing a remote user as "domain\user": class HelloController {     def index() {         render "user is " + request.remoteUser + " - " + request.authType     } } tested on windows 7, 64bit, oracle jdk 1.7, grails 2.3.7 and waffle 1.5

bitbucket oder github?

Für meine privaten Bedürfnisse (auf Spielzeug Niveau) gehen wohl Beide. https://man-at-work@bitbucket.org/man-at-work/ebackend.git Momentaner Vorteil bei github: mylyn connector für tasks und asciidoc rendering. Dafür erlaubt bitbucket private Repositories (begrenzt) ohne Kosten.

Besserer Diff für Team Foundation Server (TFS): thanks to Perforce

Bild
einfache Lösung (langt mir erst einmal) das Perforce Merge Tool herunterladen (p4merge) in Visual Studio als Compare Tool konfigurieren. Merge und Co hab ich derzeit noch nicht probiert. Diff langt mir erst einmal.

Diff der lokalen Änderungen (Team Foundation Server)

%>tf.exe difference /format:rcs 89_EOX_WP2_FEHLERHINWEISE.FEHLER.sql > error_diff.txt Bin nicht glücklich bisher mit den diff-Tools im TFS. Mal sehen ob P4Merge oder K3Diff hier irgendwie helfen..

http seiten abfragen und ausgabe auf stdout (konsole)

wget -qO-  http://localhost:8080/totask/rest (Alternative: cCurl)

grails, heroku, git, github all together..

https://github.com/man-at-home/totask/blob/master/src/docs/totask.article.asciidoc