I recently had a problem with Grails when I started a new project in Eclipse with Grails 2.0.0. I tried adding an external JAR file to my "lib" directory by dragging the JAR file over to the directory. In Grails 1.3.7, the JAR file would then get added to the list of grails dependences (after …
Category: Technology
[UITableViewController loadView] loaded the “some-id” nib but didn’t get a UITableView.
The following error occurred when adding a UIView to the root of a NIB expecting that was loaded by a UITableViewController class. If you have a UITableViewController and your root element is not a UITableView, you should make your controller extend UIViewController (not UITableViewController) and implement the UITableViewDelegate and UITableViewDataSource interfaces. Your header file would …
How to configure “Cross-cell single sign-on” in WebSphere with Jython
To configure "Cross-cell single sign-on" in the WebSphere 6.1 admin console with a Jython script, you can use the script below. This assumes that you've exported the keys from the server you are going to connect to.
How to configure a Shared Library in WebSphere with Jython
Here's a script that I used to configure a Shared Library in WebSphere 6.1 using Jython.
How to configure WebSphere Global Security to use LDAP with Jython
Here's a script that I used to configure the WebSphere 6.1 global security setting to use LDAP using Jython.
Finding line count in DOS
In Unix, there's this nifty binary called "lc" which gives you the line count of the file. However, in DOS, you have to be a little more creative. Below is a DOS command I use to count the number of lines in a text file. The "nonsense" parameter is some text that is sure not …
How to get JAX-WS Web Service Method Name
I'm not sure if this will always work, but here is some sample code that I put into a Handler to log the web service method name that is being called. I wanted to be able to track each method, and see which ones were getting use. This web service was running on IBM WebSphere …
Simple Lego Ship (with Blender mesh files)
This is a 3D model of a Lego ship that we made (over and over) when we were kids. For some reason, the simplicity of the space craft facinated us. We made many other spaceships, but this one stuck with me for some reason. Here's how it fits together. The image below shows the pieces required. …
Lego Astronaut Blender Mesh Files
Here is a Lego man that I did with Blender (v 2.4.9). I've decided I would post this, since when I did a search for one, I couldn't find one. I will try to keep it up to date. The link to the mesh files are below. Download the Blender Files (this contains LegoMan.blend, face.jpg, …
Best CSS trick I’ve ever needed to know
I often have to put CSS hacks in my HTML (thank you IE6), and when I do, I usually refer to this simple set of rules to help me determine what browsers I need the hack to work for. Essentially, it boils down to this: 1) A dot in front of a style will cause …