HashPakistan needs an admin panel

Well, my initial estimates were wrong. I thought I could retweet the posts and Twitter would give me accurate results. The problem is with twitter results. They are giving me wrong and irrelevant results.

Also, when I ask Twitter to only send me “positive” tweets, it sometimes does not mark most of the positive tweets as “positive”, in fact they are not marked at all. So there are the “positive” tweets, “negative” tweets, “questions” and “unknown” (or “unrated”) tweets. A quick look at these tweets and I can see many of them as good ones that should have been retweeted but they were not.

To get over this situation, I need to have an admin panel where I can see statistics and possibly “approve” the negative / unrated tweets.

Having previous experience working in Zend Framework, CakePHP and CodeIgniter, I would prefer to build it in Code Igniter. I will keep this page updated with more info.

Twitter Search gone mad!

Yes, I know what I just said that … its true because my new project HashPakistan is using Twitter Search API to get all posts with hashtag #Pakistan and last night twitter gave it results containing #ashes (and has nothing to do with Pakistan).

I noticed it today and removed those updates from the twitter timeline. Hopefully it does not happen again.

P.S. There are no official words on the Twitter Blog regarding this

Installing PHP 5.2.6 on CentOS box

If you want to install PHP 5.2.x instead of the PHP 5.1.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze … just follow these steps

Continue reading

$7.99 Domain Names from GoDaddy

I blogged earlier about $1.99 Domain Names from GoDaddy.com, now here are two more coupons to register a domain name for $7.49 ONLY (I have registered many domain names over the past many months using this coupon so it ALWAYS works).

The coupons are hash7 and chill7.

Enjoy!

Updates: Working as of 05th July, 2009

$1.99 Domain Names from GoDaddy

199BUYCOM - $1.99 Domain Name Offer from Godaddy.com

Yes, its true. GoDaddy is now selling domain names for just $1.99 ($2.19 after adding 20 cent ICANN fee). All you need to do is use the coupon 199BUYCOM before checkout. You dont need to buy additional services to avail this offer.

This offer has the following limitations

  1. Only valid for one new domain name or domain name transfer per account
  2. Valid for 7,500 orders or 07-July-2009, whichever comes first.

Enjoy!

Updates: Working as of 05th July 2009. I just registered a domain name using this coupon.

How to Install Apache, PHP and MySQL on CentOS

I have seen people installing Apache, PHP and MySQL from source code on a production server. You should NEVER, NEVER, NEVER install these packages from source on an RPM or DEB based Linux distributions. Did I say “NEVER” enough times to make your realize that it is not a good practice?

Installing from source is bad idea; there are many reasons for this but the major one is that you will be spending a lot of time keeping the system updated. If you love installing from source then I would suggest using a different distribution e.g. Gentoo.

You can build from source if the package is not available in yum but still, try to use “yum” (or “apt-get” on Ubuntu) because it will save a lot of your time when upgrading your packages.

Continue reading

How to Install Webmin in CentOS

Update: A newer version of this article is available at http://www.centosblog.com/2012/01/16/how-to-install-webmin-on-centos/

Earlier, I posted a how-to to Install Webmin on Ubuntu, now im going through the tutorial again but this time for CentOS.

Install dependancies before we proceed to install webmin

yum -y install perl-Net-SSLeay

Download the latest version of webmin

wget http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin-1.500-1.noarch.rpm?use_mirror=ignum

Once it is downloaded, install the RPM using the following command

rpm -i webmin-1.500-1.noarch.rpm

No more steps required. Its installed :)
Go to your browser and access the control panel with valid ssh credentials