Archive for November, 2009

CA Siteminder and SLES 10/11

CA Siteminder and SLES 10/11

| November 20, 2009 | Reply

CA Siteminder (And every CA product I’ve ever had the misfortune of using) is a steaming pile of shit. I mean that with all due respect. Considering the default installation package doesn’t work on stock SLES10/11, here are the hacks to make it work. Follow the normal installation procedure, which will fail when you select …

Continue reading »

Read More

JQuery to make a lazy filter (like iTunes)

JQuery to make a lazy filter (like iTunes)

| November 6, 2009 | Reply

This code is not mine, I’d link out to the source, but I’ve forgotten it. If you wrote this, thank you.

Read More

JQuery to show/hide elements and toggle between them.

JQuery to show/hide elements and toggle between them.

| November 6, 2009 | Reply

I have a form with a radio button on it to select from two different sets of options. Each radio button should dynamically load the correct set of options into a select box. Since one select box is filled with static options, and the other is filled with database records, using AJAX to dynamically populate …

Continue reading »

Read More

Codeigniter validation ( This field or that field, but not both )

Codeigniter validation ( This field or that field, but not both )

| November 6, 2009 | Reply

Codeigniter’s validation class is awesome, but I ran into a situation where I wanted to set a rule that said something like: Either Field A or Field B needs to be filled out, but not neither, and not both. To do this I used PHP and popped a custom error on the form_falidation error array. …

Continue reading »

Read More

Code content

Code content

| November 6, 2009 | Reply

I’ve added a new category to the site under the “Linux” section. This category is entitled “Code” and will hold snippets of code in various languages (Mainly BASH, JavaScript, and PHP). This information is here to help others, but mainly as a repository for my own use. Anyone is welcome to use or modify this …

Continue reading »

Read More

My Codeigniter CRUD Model

My Codeigniter CRUD Model

| November 5, 2009 | Reply

I’ve modified this model to be more portable by expecting an explicit database name.My_Model.php as requested in comments.  

Read More