Archive for August, 2010

Google Analytic Statistics for One Year.

On August 25, 2009 I signed up and configure Google Analytics for this blog. At that time I only written a couple of pages but I was just curious who was coming to this site, from where, and what pages they though were interesting. On day one I got a whopping 2 visits and by the end of the first week I had received a total of 30 visits and 50 page views. Still, I was happy.

Now, a year and many articles later, I am averaging about 80 visitors with an average of 110 pageviews a day. I am now very happy! I get more visitors per day than the company that I work for does. However, I won’t be quiting that job any time soon to become a full time blogger. I don’t make much money off the site, and I don’t do it to make lots of money. I installed Google Adsense about 7 months ago and I have only made $15.00. I figure since most of my readers are geeks, like me, they have ad-block installed. I, like them, hate ads but I figured if everyone else on the internet serves ads, I will too.

Here are the important stats for Motersho.com for the past year (Aug 25 2009 – Aug 25 2010).

Site Overview:

Top Content:
Fix Minimize/Maximize/Close Button Order in Ubuntu 10.04 Lucid Lynx (5,386)
Demotivational Poster: It’s A Mac (2,984)
How to: Install Evolution 2.30 on Ubuntu 10.04 Lucid Lynx (2,925)
How to: Configure Mediatomb/DLNA on Fedora 12 to work with a Samsung TV (1,820)
Autoit Command Line Parameters. A new approach (1,081)
HOWTO: Send SMTP commands via a bash script and the /dev/tcp device file (595)

Top Referrers:

Visitor Information (Top 10):


Map Overview: (The darker the green = the more visits)
I like this pictures because it shows that I have touched almost every country in the world!

I am excited to see what next year will bring!!

Dell Outlet Price Error, I hope.

I received this email from the Dell Outlet this morning. Man have they jacked up the prices.

How To: Install KDE 4.5 in Ubuntu 10.04

Here is how it install KDE 4.5 in Ubuntu 10.04 Lucid Lynx system.

Step 1. Add the Kubuntu-ppa backports repository and then update the repository listing.

$ sudo apt-add-repository ppa:kubuntu-ppa/backports
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv E4DFEC907DEDA4B8A670E8042836CB0A8AC93F7A
gpg: requesting key 8AC93F7A from hkp server keyserver.ubuntu.com
gpg: key 8AC93F7A: "Launchpad Kubuntu Updates" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
$ sudo apt-get update

Step 2. Install kubuntu-desktop package.

$ sudo apt-get install kubuntu-desktop

Durning the installation you will be prompted to either use GDM or KDM as your login manager. It is totally up to you as to which one you pick. You will be able to get to either Gnome or KDE with either.

Sit back and relax and in a short time you will have latest version KDE installed along side your Gnome desktop manager.

Motersho’s GeoIP Lookup

I got bored the other day and decided that I wanted a page that I could query via a bash script and it would tell me my public IP address. Yes I know there are plenty of site that have this but I wanted my own.

Here is the lookup page: http://motersho.com/blog/index.php/geoip-lookup/

Well that idea then manifested itself to a place where I can get City, State, Country and Longitude/Latititude coordiates of that IP address. So, I wrote two pages one that uses the MaxMind API and thier Free IP to City database and the other uses HostIP’s API and their database to do Geo lookups and using the Google Maps API for maping that location.

The HostIP database is not as complete as the as MaxMind‘s so they as that if you come across an unknown address you help them out by updating that info. Please help them out.

My site still has the ability to to just return your public IP address for scripting, you just have to pass it the correct parameter.

For scripting: http://motersho.com/ip/?o

Here is the code to return you public IP in a bash script

curl http://motersho.com/ip/?o

Leave me a comment if you use this site in a script or if you have found it useful in any other way.