Friday, June 28, 2013

Install Spotify in Ubuntu


Spotify is a commercial music streaming service.

Follow the steps below to install Spotify client in your Ubuntu :)

# 1. Add this line to your list of repositories by
#    editing your /etc/apt/sources.list
deb http://repository.spotify.com stable non-free

# 2. If you want to verify the downloaded packages,
#    you will need to add our public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59

# 3. Run apt-get update
sudo apt-get update

# 4. Install spotify!
sudo apt-get install spotify-client

Sunday, June 23, 2013

UPCP failed cPanel : TIMEOUT: RPM DB is not responding

The cPanel update failed with the following error:

=======================================
[20130622.035505] Detected version '11.36.1.6' from version file.
[20130622.035505] Target version set to '11.36.1.8'
[20130622.035505] Checking license
[20130622.035509] License file check complete
[20130622.035509] Checking that the RPM DB is OK...
[20130622.040509] TIMEOUT: RPM DB is not responding after 10 minutes.
[20130622.040509] E Blocker found: Your RPM database appears unstable. It is not possible at the moment to install a simple RPM.
[20130622.040509] ***** FATAL: An attempt to up/downgrade to 11.36.1.8 was blocked. Please review blockers.
[20130622.040509] The Administrator will be notified to review this output when this script completes
[20130622.040509] E Detected events which require user notification during updatenow. Will send iContact the log
=======================================




RPM database is corrupted which is causing this problem:

Fix : -
---------------------------------------------------
mkdir /root/old_rpm_dbs/
mv /var/lib/rpm/__db* /root/old_rpm_dbs/
rpm –rebuilddb

---------------------------------------------------


Monday, June 17, 2013

PHP Parse error: syntax error, unexpected T_VARIABLE

To fix the problem, open file wp-includes/functions.php and replace line "if ( doubl// Mysql string Year" with "if ( doubl)// Mysql string Year". The line number is 190.

Thursday, June 6, 2013

Why buying smartphone on EMIs is not a wise idea

For a country like India where average salaries are low compared to other developed/developing economies, we tend to spend too much on buying the latest electronic gadgets. This trend of splurging on electronic gadgets is observed more in the new generation because of lifestyle reasons.

Considering that the average life of a smartphone is about one year, we have to ask the question whether buying a smart phone on EMI is really a wise decision. As it is we as a society are very profligate with our money and now the mobile phone companies want us to spend more on buying their expensive and much-hyped devices. Should we take the bait and buy these devices on EMIs? The prudent answer is a vehement “no”!
Though it is a lifestyle choice and up to individuals to choose the type of phone they want to use, this decision has a significant impact on the personal finance of an individual. Every personal financial decision, no matter how big or small, has an impact on the overall finances of the individual. With the current trend of zero per cent interest rate on EMIs (with hidden processing fee) and no down payment, the smartphone business is booming for mobile phone manufacturers, banks and telecom operators (higher ARPU). On the face of it, the EMI option appears attractive to individuals who cannot afford a high-end phone but would like to own one. At a deeper level, individuals usually fall for such offers because they are looking for instant gratification. This nature of ours makes us susceptible to such offers over the savings route.
Opportunity cost
Let us consider an example where an individual who can afford to buy a smartphone worth Rs. 12,000 gets lured by the zero per cent interest, zero down payment bait of buying a smartphone of Rs. 36,000 on EMIs. This individual ends up paying an excess of Rs. 24,000 beyond his means. However, a prudent individual would choose to buy the smart phone that costs Rs. 12,000 and invest the excess amount of Rs. 24,000 in a systematic plan. Considering that he invests Rs. 2,000 per month for a period of 12 months at a 10 per cent annual rate of return, he would accumulate Rs. 25,281 at the end of the year. The same amount would be worth around Rs. 62,093.37 in 10 years. Not to mention that the same individual over the period of 10 years would change at least five smart phones, getting lured into more expensive upgrades every year.
Conclusion
In the era where marketing mavens drive social frenzy around the mobile phones, it is necessary that we do not succumb to the temptation of spending more than what we can afford. The money thus saved should be prudently invested to achieve more important and essential goals.

Source : http://www.desidime.com/forums/dost-and-dimes/topics/why-buying-smartphone-on-emis-is-not-a-wise-idea

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews