While setting up a php project on CentOS 6, I came across an error “Fatal error: Call to undefined function mcrypt_encrypt()”.
I thought mcrypt is not installed and that should be an easy fix. Just a quick “yum install php-mcrypt”. Nope. It was already installed. After digging around for a while, installing, uninstalling, rebooting etc, I checked a config file /etc/php.d/mcrypt.ini.
There is a very easy way of capturing a screenshot in the HTC one x without installing any other app.
1. Hold down the POWER button
2. Then press the HOME button. That’s it! Yes, it’s that easy.
You’ll see a message on the screen saying “Screenshot saved to Camera shots”. You can now go to your Gallery app to see the screenshot that you have just captured.
If you want to install lynx, which is a command line browser, on your linux server, you can use following command to download and install lynx automatically in your system.
yum install lynx
Continents by size
#1 Asia – (44,579,000 sq km)
#2 Africa – (30,065,000 sq km)
#3 North America – (24,256,000 sq km)
#4 South America – (17,819,000 sq km)
#5 Antarctica – (13,209,000 sq km)
#6 Europe – (9,938,000 sq km)
#7 Australia/Oceania – (7,687,000 sq km)
Continents by population
#1 Asia – (3,674,000,000)
#2 Africa – (778,000,000)
#3 Europe – (732,000,000)
#4 North America – (483,000,000)
#5 South America – (342,000,000)
#6 Australia/Oceania – (31,000,000)
Continents by the number of countries
#1 Africa – (53)
#2 Europe – (46)
#3 Asia – (44)
#4 North America – (23)
#5 Australia/Oceania – (14)
#6 South America – (12)
I had an ASP.Net 4 website in Web Forms it was working fine on local machine and on one of our Windows 2008 R2 server which had Framework 4.0. But when we moved to production machine which also had Windows 2008 R2 server, website started to generate Ajax client-side framework failed to load error on pages which had UpdatePanels. After searching for some time, found the solution. This was actually caused by the fact that the website had an application pool set to .NET 4.0 but the [Handler Mappings] for the *.axd files where not registered. I had to add following handlers in my Web.Config file.
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
After adding this its working perfectly. But I am still not sure, why these handlers are already added in our testing server and not on production.
I have seen many people who use sims of different networks and keep forgetting short-codes for checking balance and recharging their phones using scratch cards. So here I am collecting different short codes for all five mobile companies.
Microsoft has finally released final version of its browser IE9 and made available for download from beauty of web site. There are many exciting and new features in this awesome browser.
You can download latest version from here, this will be a small downloader that will later download updates from web. if you’re looking for offline installer for IE9 download it from below.
Here are final IE9 offline installer download links
IE9 (x86) for Windows 7
IE9 (x64) for Windows 7
IE9 (x86) for Vista
IE9 (x64) for Vista
Earlier I told you an example where GEO news copied news content from AAJ News. Now I found another example where GEO has copied news contents from India Times’ sports news. See the images below. Click on photos to see large version.
I subscribed for the daily SMS bundle offer from zong by sending “sub” to 700. I received the following replies from zong.
1) “You have ordered package Daily SMS 500 for SMS_Bundle successful.”
2) “You have ordered package Daily SMS 500 For SMS Bundle successfully. The package is activated now. Keep enjoy with ZoNG.”
You see the simple English language mistakes in these replies? “successful” is used instead of “successfully” and in next message “Keep enjoy” is used instead of “Keep enjoying”
Should big companies like Zong, ignore such things?
V-fone is wireless phone service by ptcl using CDMA2000 1X technology. They are covering over 10,000 urban, suburban and rural villages. The network is already enabled for Voice, Dialup-Internet access (153.6kbps) and EVDO Broadband.
I have found many people around who have lost their CDs which come with Huawei sets, provided by PTCL in their V-Wireless ( V-Phone ) package. So I decided to put it on web for easy search.
Please download the setup from http://www.dotriz.com/wp-content/uploads/huawei_ptcl-v-wireless.zip
Installation guide for PTCL v-wireless is available on their website. You can view these instructions at http://www.ptcl.com.pk/contentp.php?NID=118