Finding the directories that are eating up the hard disk 2010-Jan-21 03:26pm
By user home: du -k /home/ | sort -n | tail -10All. This generally takes forever: cd / du -k | sort -n | tail -10 ..more
Web Application Configuration - custom settings per target environment 2009-Nov-08 07:04pm
The issue comes up in every new project - how to create a custom build or customized configuration for each environment. There will be different configurations for JDBC connections, SOAP endpoints, etc. loaded as ResourceBundles, Spring properties, and so on.Stack overflow has a discussion on configuration patterns where most of the potential solutions are represented. Many externalize the files ..more
struts2 regex validation for a phone number 2009-Nov-03 02:50pm
Struts2 bundled (built-in) validator regex type could really have some better examples! Here's a basic phone number regex sample for a standard North American telephone number e.g. 123-456-7890Key point is to use start/end pattern indicators ^ and $ - otherwise 123-456-78901234 etc. will also match! ${getText(" ..more
simon willison on redis 2009-Oct-24 11:21am
Proving again and old-school c is still fast and relevant, he talks about a "data structure" storage server (that which is not a database, but still a means to store data). Any programmer can see why this would be a valuable hook for the debugging process (think HSQL, MockDB, etc).The fascinating tidbit at the end of the article is what got me interested however:hurl.it"Hurl makes HTTP requests. ..more
WebSphere Trust Access Interceptor 2009-Oct-11 10:44am
Background - What is a TAI?To correlate between external authentication (e.g. SSO with Oracle AM WebGate, IBM TAM, etc.) and the WebSphere Application Server (WAS) User Registry identity, use a Trust Association Interceptor within the WebSphere security layer. Lightweight Third Party Authentication (LTPA) is the mechanism by which WAS supports SSO. With LTPA a token is created with the user data ..more
blog.sbeynon.net

