Aaron Gadberry

Help – v. helped, help·ing, helps

Was this site helpful?
My Amazon.com Wishlist

Archive for February, 2006

Changing Stylesheets Dynamically

22nd February 2006 - By Paradochs


If you are one of those select few who have multiple stylesheets for their website, then this article is for you. On the other hand, whether you know CSS or not, this might be a good way for you to learn.
I know of 4 ways to change between styles dynamically in a page. They are listed below with some code examples.

Read the rest of this entry »

Posted in Programming | 1 Comment »

Top 5 Needs of Men and Women

13th February 2006 - By Aaron Gadberry

This is taken from a survey of 258 counseling centers across America. I can find no documentation of this survey, so it may be a rumor, however the information has helped me significantly.

5 top basic needs of a man

  1. Sexual Fulfillment
  2. Recreational Companionship
  3. Attractive Spouse
  4. Domestic Support (Know how to run the house)
  5. Admiration

5 top basic needs of a woman

  1. Affection
  2. Conversation (understand feeling, not thinking)
  3. Honesty
  4. Financial Support
  5. Family Commitment

Of course these are not across the board. There are exceptions, lots of exceptions, however you can see some behavioral patterns across them. Girls will typically get together with other girlfriends and talk for the entire night, a representation of woman’s need for conversation. Men enjoy guy’s nights of recreational companionship, watching football, playing baseball, etc.

I heard these on a tape by Joe McGee. If you or someone you know needs help with a marriage or relationship, I would highly recommend getting some of his material. He is a traveling Christian minister, with a strong revelation in the area of men, women, marriages, families and children.

As Joe would say, “Men and women are different, it’s ok.”

UPDATE: Now for a question. Are the needs inherent, or culturally based? It doesn’t really matter, because they are still the needs, but it is an interesting question.

Posted in Theology | 4 Comments »

Using Plesk and vhost.conf

9th February 2006 - By Aaron Gadberry

Wondering how to create a good vhost.conf? Well you’ve come to the right place.

Plesk automatically updates httpd.include for each domain, making changes to this file only temporary. You don’t want to use this file if you need to make changes to Apache’s config on the fly, such as php’s open_basedir values per domain.

Instead you will want to use a vhost.conf file. This file will be placed inside your domain’s conf directory, usually found at /var/www/vhosts/yourdomain.com/conf. Create a file called vhost.conf in whatever editor you prefer. I use joe.

You can now put in any Apache configuration options like you would into httpd.include. In my case I wanted to do three things, give my site access to /php/includes, add a mod_rewrite rule, and tell Apache to follow symlinks.

Read the rest of this entry »

Posted in Computers, Server Management | 47 Comments »

How To: Blacklist an Email Address

7th February 2006 - By Aaron Gadberry

If you run a server with Spamassassin and you have one annoying person you need to block (blacklist) from your entire server, this article is for you. It’s a fairly simple process, but you will probably need root access to the server to complete the configuration changes.

You will need to edit the Spamassassin configuration file, typically found in the /etc/mail/spamassassin/ directory.

If you have joe installed you can edit it like so joe /etc/mail/spamassassin/local.cf.
Read the rest of this entry »

Posted in Computers, Server Management | 1 Comment »