Phone (Call or Text): 559-871-1613|


General site information.

WordPress – Add DB Queries and Loading Time to Footer

Once you know the code, it’s pretty simple to implement.  Without the code, good luck!

Open up your WordPress admin and navigate to Appearance > Editor.  Click on Footer on the right side.  Find the bottom of your footer, near your copyright.

Put this code in wherever you want it.

<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds.

There you have it. You can add something like this if you want to:

This page called the database <?php echo $wpdb->num_queries; ?> times and was loaded in <?php timer_stop(1); ?> seconds.

Post a comment if you have problems.

By |January 30th, 2009|General|1 Comment

Evaulting a Niche Market

This is part 3 of 34 in Poker and Making Money Online, a 34 Part Series.

If there are too many competitors (some irrational or inexperienced), even if you’re the best it’s a lot harder to win.

Being the best at something doesn’t mean you’re going to be #1.  Consider the 1980 Olympics when the USA Hockey team defeated USSR for the gold medal. The Russians were heavily favored, they were clearly the best, but in 1980 they weren’t #1.

1980 USA hockey Victory Picture

So what does it take to be #1? Hard work and picking the right horse. Some people think that determination will suffice with hard work, but you can be the most determined player in a niche market and still not be #1. There are people with more money, more time, a better team, an older domain, more backlinks, and an established foothold in your market.

Here are a few things I look at when determining if I can become #1 in a niche.

1. Number of SERP results. If Google lists 64 million results for your term, it might be time to narrow it down. Google “computer parts” vs “laptop computer parts”. Which do you think would be easier to become #1.

2. Is there a name brand involved? I always avoid a trademark because they’re obviously the market leader. Consider “laptop computer parts” vs “hp computer parts”.

3. Age and authority of #1 domain. For “hp computer parts”, is the #1 site. was registered in 1986, has over 1,000 Wikipedia mentions, is ranked in the top 200 for all websites by Alexa and is clearly the best choice for “hp computer parts”. What makes me think I can beat HP at their own game? What advantages do I have over them?

4. Knowledge of the industry. Do I know any other webmasters that own similar (but not competing) websites? Can I look to someone for a few links to kick start my link building? Am I familiar enough with the market to come up with creative link baiting and viral ideas? If not, what separates me from the other 1,000 niche sites in the industry?

When you find yourself stuck in a market where you’re the best, but not #1, consider this…you may never be #1. We like to believe that if we stick with a site long enough that we’ll eventually beat that big competitor, but you might never win. I’m not trying to be a downer, I’m just being a realist. That’s tough to handle news. You might never beat NewEgg, TigerDirect and for top rankings for “computer parts” no matter how determined you are.

So even if you’re the best SEO, link baiter and viral marketer, there is a great chance that you’ll still be ranked #12 at the end of the day. Switch to a niche or product with less competition, or weaker competition and become the top dog!

By |January 27th, 2009|General|2 Comments

How To Convert .MOD to .MPEG/.MP4/.MOV/.DV/PSP/iPod

First came Sony with their ridiculous proprietary Memory Stick. Now JVC is using the .MOD format for their HDD movie cameras. I have the JCV Everio GZ-MG130U. I like the camera but using the files is HORRIBLE. First they tell me that I have to buy some $20 MPEG-2 thing from Apple.

I don’t want to spend $20 to convert movie files into something usable so I’m searching high and low to find something. I bought found QuickTime Pro, but that isn’t helping.

UPDATE: Here is a quick how to convert your .mod files to just about any format for FREE!

1. Download ffmpegX (download).

2. Download necessary files. ffmpegX will prompt you and give you the links to the necessary files. I won’t link directly to the downloads incase they change.

3. Put Files (3 total) into a folder.

4. Select location of the files in the ffmpegX window.

5. Drop .MOD into ffmpegX.

6. Select desired format. Usually .MOV or .MP4.

7. Click “Encode”.

8. New file will be where the original file was.

That’s it! Like screenshots? Check out my 1334 Comic Life skillz.

Convert MOD to MP4 or MOV

By |May 31st, 2007|General|33 Comments

How To: Have a $60 PG&E Bill for a 2,200 sq. ft. House

I’m not an expert, nor do I work for PG&E. I do however average $60 a month on my PG&E bill. In fact, I got last months bill, and it was $52 for my 2,200 sq. ft. house! Don’t leave just yet, I don’t have anything to sell, just some tips that will hopefully save you money next month!

I know it may sound weird, but I look forward to my PG&E bill every month. I enjoy opening it knowing that I am paying the same amount that I paid for my first apartment (550 sq. ft. total). On average, my PG&E bill runs about $60. Some months are in the $40 range, and others in the $70-80 range, but averaged it is around $60.

Just FYI, I have no propane. Stove and hot water heater are both gas. My wife cooks on the stove at least 3-5 times a week, and we always have plenty of hot water. I set the hot water heater to 8/10 (10 being hottest).

I’ve also approximated how much I think each of these tips will save you financially. If I’m wrong, leave a comment and let me know how much you think each of these actually will save. Most of the savings are based on using your heater and A/C less.

So here they are in my approximation of the best way to save money first:

1. Open windows early in the morning, shut them around 11 a.m. – Savings: $15/month.

When I get up in the morning at about 6:45 a.m., I open a window in our bedroom and one in the living room. I put a box fan in the bedroom window blowing out. It sucks cool air through the living room window all through the house and out the bedroom window.

At 6:45 our thermostat says between 70-80 degrees. Our thermostat is in the middle of the hallway and usually records about a 10 degree drop in temperature in about 15 minutes, depending on the weather outside. Once the day starts to heat up, usually around 11 a.m. in Central California, my wife shuts the windows. When I get home, the house is usually about 73 degrees. If my wife isn’t going to be home, I shut the windows before I leave at 7:45 a.m. The house only needs about 15 minutes to cool off when I’m running the fan. A whole house fan would make this even more effective.

2. Unplug items you don’t use – Savings $5/month.

I don’t know how much this helps, but I always unplug items when I’m not using them. For example, I have 3 laptops, when they’re done charging, I unplug the cable. That makes the little LED light go off.

We have a DVD player hooked up to our stereo and a Epson Powerlite Projector, when we’re done watching a movie, I turn off the stereo, and put the DVD player and projector away (both unplugged).

I don’t know how much power those little LEDs use, but I have about 20 of them all over the house in various electronics. Unplugging these devices might not even be worth my time, but it’s part of my routine.

We have an ‘L’ shaped hallway and have two nightlights with sensors to turn them off and on. They are regular incandescent bulbs…more LEDs would surely save some money there. Oh, we also only have about 3 compact flourscent bulbs in the house, that would reduce the bill as well.

3. Put up window coverings – Savings: $25/month.

We just finished putting up some blinds over our sliding glass door that leads to the back yard. They are just the cheapest faux-wood blinds that Home Depot sold. Total cost was about $100. I estimate that this would save at least $25 a month in cooling during the summer months.

The sliding door gets full sun for about 10 hours during the day. Find out which doors and windows get the most mid-day and afternoon sun, and cover those first, that is when the sun is hottest.

4. Wear appropriate clothing when at home – Savings: $10/month.

During the summer months, wear shorts and a t-shirt. During the winter wear pants and a light sweater (at least a long sleeve shirt). You’d be surprised what temperatures you are actually comfortable at if you are dressed appropriately.

You don’t have to wear a jacket when inside (although that would save more money), but don’t wear a bikini in the middle of winter and turn the heater up to 80 degrees.

5. Check for air leaks – Savings: $20/month.

Take a match, light it and hold the smoking remains near the bottom of your front door. If the smoke blows in or sucks out, you have an air leak problem. Air might also be leaking from the garage door, sliding door, windows, stove vents, fireplace flume, or anywhere else that leads outside.

My house is relatively new so I wasn’t able to find many air leaks. Our front door did blow the smoke inside, so I went to Home Depot again (I admit, I’m a Home Depotaholic), and bought a replacement strip for the bottom of the door. It was already cut to size and screwed in easily. No more air leaks at the front door.

You have to realize these air leaks are letting in the outside air 24 hours a day. And if you have 5 different spots leaking air 24 hours a day, that is a lot of outside air coming in.

6. Close doors to unused rooms – Savings: $10/month.

Our house has 3 bedrooms. One is the baby’s room, the other is just storage currently. We always keep the door to the 3rd bedroom closed. The boxes in that room don’t need to be heated and cooled with the rest of the house. I admit, going into that room in the winter is miserable, it seems to be 10-15 degrees colder than the rest of the house.

7. Shut some vents – Savings: $5/month.

My wife and I spend most of our time either in the living room/kitchen area, or in the bedroom. Because I know where we’ll be, I shut the air vents to the rooms we’re never in. The vents that are open are the 3 in our bedroom, 1 in our master bathroom, 1 in the kitchen, 2 in the living room, and 1 in the baby’s room.

I have 6 vents shut, 1 in the bathroom, 1 in the extra bedroom, 2 in the hallway and 2 in the sitting room. No reason to heat and cool rooms that nobody is in.

I know that this list is nowhere near complete. There must be at least 10 other ways that I could be saving money.

If you have a few tips of your own, post a comment and let me know!

By |April 5th, 2007|About Me, General|3 Comments