Installing / re-installing and Configuring phpMyAdmin on Ubuntu

phpMyAdmin is a very common and handy tool that most of the developers use. It is available on almost every server.

Installing phpMyAdmin on Ubuntu server is even easier, you just need to

sudo apt-get install phpmyadmin

but what if we accidently skip the configuration screen where phpmyadmin makes modifications to apache?

Dont worry just do the following

Edit Apache’s configuration file (assuming you are using apache2)

sudo nano /etc/apache2/apache2.conf
# better to use the following command instead of the one above
#gksudo gedit /etc/apache2/apache2.conf

Add the following line of code inside apache2.conf:

Include /etc/phpmyadmin/apache.conf

Now restart Apache:

sudo /etc/init.d/apache2 restart

Go to /phpmyadmin/ and login with your mysql username and password.

Cash Deposit Machine (CDM) or Can’t Deposit Machine? Weird experience

My salary account is HBL (I hate this bank) and I use Dubai Islamic Bank’s services which I am very satisfied with. So last night after work, I thought to move balance from HBL to DIB, tried the inter-bank transfer (which should be great if it is working) but invain. So I went straight to DIB Main Bulevard, Guberg branch.

I took out the cash from one ATM and tried to deposit it via DIB’s CDM (Cash Deposit Machine) into my DIB account. Either the machine was acting weird or the time-waste was inevitable. The machine deposited half my cash and reject the other half. I took a look at the other half that was rejected, the bills were clean and new. I could not find anything with the naked eye so I tried again and the machine rejected all the bills again.

Hmm, what could be wrong, I was asking myself. Then I tried again but this time with different counts, some upside down, some backwards and to my surprize all of the cash was deposited. So next time, if your CDM says Can’t deposit, try straightening the bills and submitting them again using different ways, It will hopefully work. It worked for me 😉

Warid Postpaid Issues – had to MNP my cell number

I moved from Warid to Ufone in April, I forgot to mention that. Thanks to MNP the move was smooth and easy.

Now let me tell you why I moved. First of all, there are billing issues in Postpaid. They have two SMS packages

  • Zoom Limited SMS Package offering 750 messages per month and
  • Zoom Unlimited SMS Package offering 7,500 messages per month

When you activate any of these packages (for the first time) the package is charged double. So e.g. you activate Zoom Unlimited and it costs approx Rs. 300 per month so it will be charged twice, once as ACTIVATION CHARGES and second as monthly charges (WTF!!)

Continue reading

Twitter Down Time Rescheduled because of Iran Protests


Twitter Down Time Rescheduled because of Iran Protests, originally uploaded by asim.zeeshan.

Twitter says “A critical network upgrade must be performed to ensure continued operation of Twitter. In coordination with Twitter, our network host had planned this upgrade for tonight. However, our network partners at NTT America recognize the role Twitter is currently playing as an important communication tool in Iran. Tonight’s planned maintenance has been rescheduled to tomorrow between 2-3p PST (1:30a in Iran).

Our partners are taking a huge risk not just for Twitter but also the other services they support worldwide—we commend them for being flexible in what is essentially an inflexible situation. We chose NTT America Enterprise Hosting Services early last year specifically because of their impeccable history of reliability and global perspective. Today’s decision and actions continue to prove why NTT America is such a powerful partner for Twitter.”

Domino’s Pizza in Lahore – A bad experience

I thought it was a good news for pizza lovers like me but it wasn’t.
Me and my friend visited the Domino outlet in Link Road branch on 06th June 2009. Let me give you an account of what I saw and went through there.

Four tables and chairs similar to those in Kindergarden. Plus there was no one to show you the way AND all tables were pre-occupied. So as soon as one table got free, I jumped in while my friend was still at the counter ordering the pizza. We always ask for less vegetables and extra chicken topings. We did the same here too.

After 15 min someone called my friend’s name if his Parents were here to pick him up from school (lol, yeah!) and he was stunned at first then he moved to the counter, they handed him the pizza in a box. He asked “Excuse me, I am a Dine-in not a take away”, she replied Yes sir its a Dine-in. She also handed over ketchup sachets and two thick papers to use them as PLATES (WTF!!)

We opened the box on the tables and the first look of the pizza seemed if it was really DRY, it was clearly not deep-pan pizza. There were LOTS of vegetables on it and we thought for a second if we accidentally ordered a vegetable pizza (if they had one that is) but it was not. This was out order. Clearly the presentation was very poor but we planned to eat it since we were hungry.

There are no plates, forks, knives etc in Domino so you have to use your hands as fork/knive and the paper they gave you as a plate.

Just when we took a couple of bites off this dry-and-vegetables-full-pizza two of the Domino workers on the floor started a fight and they were swearing each other. For a split second I thought I was in some market, standing near a street hawkers but then I realized even the street hawker has plates so I am not there, its Domino.

One more thing that I must mention here is that my pizza didn’t had any chicken pieces on it (apart from the 4-5 microscopic chicken pieces), I looked to my sides and I noticed nobody has it.

In short, I was really disappointed and wasted my money in Domino. And I could have got more money for value from a shawarma or a plate of Gol Gappas.

Moral: Don’t go to Domino just for the sake of trying it. If you want to eat good Pizza then go for Pizza Hut M.M. Alam Road, their Pizza is great as always.