With the advent of modern browsers, web pages are using more and more javascript and stylesheets to make applications work faster and look better. And this is achieved with caching the Javascript, images and CSS files in the browser cache in user’s machine. This is great for speeding up page load for end user, but...
Working with Access-Control-Allow-Origin
When developing Ajax applications on local machine you may face this error on almost all browsers that cross referring a link from other domain is not allowed. This is mentioned as the “Access-Control-Allow-Origin” on Google Chrome. To work around this issue, temporarily – yes temporarily as this may make your system unsafe – you need...
Setting include path for a domain in Plesk
If you need to use PEAR library functions in your web applications. Sometimes you may need to set the path to pear files for your domain so that the PEAR library files/classes are accessible to your PHP scripts. While using Plesk Parallels control panel you can do this as given below: Login to SSH as...
Displaying UTF characters in the FPDF
It is very easy to show UTF characters in a FPDF generated PDF file. Just use the following conversion function and it will work. Assume you have initialized the FPDF class to $pdf variable and you want to print the string stored in $name variable: $pdf->Write(iconv(“UTF-8”, “ISO-8859-1”, $name)); It worked for me.
Exporting WordPress blog to Blogger
If you ever need to export your wordpress blog to Google Blogger, then you can use a great tool for this I just found – Convert WordPress Export to Blogger. Follow below steps: Export your wordpress blog as XML file. Use the tool above to convert that XML file to blogger compatible import file. Use...
Apache Keep Alive Directive
Today, I was analysing a website for performance improvements using the Page Speed tool by Google. One interesting thing I found out that it was recommending to enable the KeepAlive feature of Apache web server. Usually this is enabled by default, but somehow on the VPS I was working on, it was disabled. So if...
Javascript code to convert date to timestamp
This is not everyday that you need a Javascript function to convert the date and time string to UNIX timestamp. But if you do need this like me, then here it is: function covertToUnixTime(yourDate) { //Subtract 1 from month to accomodate the month start from 0 in the function return new Date(yourDate.substring(6, 10), ((yourDate.substring(0, 2)...
Elance ID – App_Services
Its a real pleasure to get to write this review.. Truth is we kept adding and adding and adding to this project and Rajendra should have gotten 3 or 4 of these reviews by now. I can say with 100% honesty that if your looking for a stress free experience then this is the provider...
Installing Skype on Fedora 14
Download the latest Skype rpm from the Skype website, current version is skype beta 2.1.x. There are some prerequisites which need to be installed for Skype to work on Fedora 14. They are as below : yum install libXv.i686* yum install libXScrnSaver.i686* yum install qt.i686 yum install qt-x11*.i686 Now install the Skype using the package...
Installing Adobe Air 2.x on Fedora 14 64 bit
First change to root user:
sudo -i
Install xterm:
yum install xterm
Install Fedora 32 bit dependencies: