Eddie On Everything

Don't get me started

How Many Calories are In a Subway Sub?

I wanted to know that, too.
So I created this Subway Calorie Calculator so I could find out the answer.
Subway does list nutritional information in PDF format, but it’s hard to determine the exact calorie count of your sub if you don’t order on their 9-grain bread.
Since I was tired of doing the math, [...]

Blimpie Sub Calorie Calculator

Blimpie subs are great, but it’s hard to know how many calories, carbs, and protein are in each. Particularly if you like to order custom subs, like I do. I made this calculator to help me determine the nutritional values of my ala-carte Blimpie subs.

Subway Sandwich Calorie & Carb Nutrition Calculator

Subway makes it hard to discover the nutritional values of a particular sub.

This is because on their nutritional sheet, they list the calories, carbs, fat, etc., for a particular sub based on a certain set of pre-defined ingredients. For example, they only list the nutritional contents for a sub on their 9-grain wheat bread. Which is great, if you always order 9-grain wheat bread. But I don’t.

So I created this calculator that lets you determine the nutritional content of any sub.

Simply choose your sub, bread, cheese, toppings, etc – from the drop down lists, and the calculator will calculate the nutritional value of your sub.

What is a Lay-by?

Question: What is a Lay-by or Layby?
Answer: A Lay-by (or layby) is a British term for what Americans call a “wayside,” “travel stop,” or “rest area.” It is a facility at which highway travelers pull off the highway and rest.

MySQL Performance Tip: ON DUPLICATE KEY is faster than INSERT IGNORE, but failing with a duplicate key error is a lot faster

I’m working on merging a couple of pretty big MySQL databases.
Each database consists of just three tables, but each of those tables has at least 9 million rows.
Because I need to maintain and update a number of data associations, it was necessary to write a custom script to perform the merge. (I chose to [...]

How To Get a Kingwin USB Drive Enclosure To Work In Windows XP

I foolishly purchased a Kingwin Blackjack BJK-35USBI from Newegg for the low price of $14.99 + Shipping and Handling.
Big mistake – this thing is terrible.
First, the documentation says nothing about it working with Windows XP. And it doesn’t – most of the time.
That said, I did discover a trick to get it working some [...]

How To Run Device Manager From The Windows Command Line

Microsoft went and hid the device manager.
It’s buried beneath at least 5 separate click events.
Fortunately, it is possible to run the device manager from the Windows command line. (That is, the box that pops up when you hit Start->Run.)
This should save you a lot of clicking around, particularly if you have to access [...]

How to Re-Mount a USB Drive in Windows Without Rebooting

I have a really crappy Kingwin USB external drive enclosure.
It doesn’t usually work.
When it does work, I am able to connect it to my XP computer exactly once. That’s right – after choosing to “Safely remove hardware” from the computer, when I reconnect the drive it isn’t recognized by Windows until I [...]

How To Use Global Variables From Another File In A Perl Module or Package

I’ve been doing a lot of Perl development for my latest project, and I wanted to use a single config file for many scripts.
Using a single config file in a basic Perl script is pretty straightforward – you simply use a require statement to read the external file, and the variables contained within are automatically [...]

How To Block Farm Town on Facebook

OK, people, you have a virtual farm. I get it. I don’t get why you have a virtual farm, but I get that you do. Good for you.
Please leave me out of it.
Thanks for the chicken, but no thanks.
No, I don’t want to unlock a golden thingamajig.
No, I don’t need a second chicken [...]

How Many Calories Are Burned in a Spinning Class?

After attending a few Spinning classes, and I wanted to look up the number of Calories I burned while Spinning.
There are plenty of “Spinning Calculators” out there, but here’s the problem – depending on which site I look at, I’m told that I burned anywhere from 600 to 1200 calories in a single spinning class.
Wow, [...]

How to Block a Quote

Blockquotes are a great way to reference others’ material.
A blockquote lets your reader know that you are quoting another source, and it pays proper attribution to your quoted source.
HTML supports the <blockquote> tag, which does exactly what one would suspect.
To block a quote in HTML, simply use this tag.
Example:

<blockquote> This is quoted text </blockquote>

The above [...]

How To Block Websites

So you want to block your kids from going to certain websites, eh?
There is a lot of software out there that blocks websites, some of it good, some of it not so good.
There is a simple way to block websites on your home computer without installing any additional software.
To block specific websites on a windows [...]

Jimmy John’s Nutritional Information

Jimmy John’s has a great website with nutritional information.
Unfortunately, that info isn’t easy to view on a mobile phone.
Since I eat at Jimmy John’s so often, I created this table for easy reference.
It lists the nutritional info in Jimmy John’s sandwiches and side items.
The chart contains Calories, Fat, Carbohydrates, Cholesterol, Sodium, and Protein.
I hope you [...]

Who Is The Song “You’re So Vain” about?

Carly Simon has finally revealed who she was referring to in the song “You’re so Vain.”
And it’s not any of the usual suspects.
In a recent interview, Carly Simon revealed that the hit song You’re So Vain references music producer David Geffen.
Not only that, she’s come out and stated that the song is not [...]

Panera Bread Nutritional Information

I like to watch what I eat.
As a vegetarian, I like to keep an eye on my daily food intake.
In fact, I use an online fitness diary to keep track of my protein, fat, and carbohydrate intake.
However, when I’m out, I find it difficult to access nutritional information on my phone, since many restaurants publish [...]

What Is The # (Pound) Sign in Front of People’s Names on Facebook

I’ve been seeing this question popping up again and again.
“What is the # sign in front of people’s names on Facebook?” (Also called a “pound symbol” or “sharp sign.”
It’s what’s called a “hash-tag,” and it’s used to “tag” certain topics on the popular social networking website Twitter.
The thing is, Facebook doesn’t support [...]

Getting PHP’s print_r Function To Return A String

PHP’s print_r function is invaluable. It prints a human-readable string representation of a variable.
It’s one of the most useful debugging features I’ve seen in any language.
I like it so much that I’ve actually written print_r mimic functions for other languages.
By default, print_r literally prints a variable to the screen. Sometimes it’s useful to [...]

How To Set a Class Name using Javascript in IE and Other Browsers

I was working a client project today had to use a little javascript.
As anyone who’s worked with Javascript knows, Microsoft’s Internet Explorer can be a real pain the butt.
Things that work in Chrome, Firefox, and Safari don’t always work in IE – so you always have to come up with workarounds to make IE, well, [...]

How to Deregister a Uniden Handset Without the Original Base

Over the years, I’ve have a few Uniden phone systems. I can’t say enough about these phones.
I picked up my latest set of 4 phones for just $30. The call quality is great, the handsets are comfortable, and the reception isn’t bad. For the price, you can’t beat it.
I wanted to use [...]

Sponsor:  Download Resume Templates
Download hundreds of resume templates in Word format. For free!