I just dropped by the blog for the above banner which is attempting to raise funds for a little girl Charmaine who is down with neuroblastoma and found out that they have managed to raised the target amount of funds which means that Charmaine will be able to fly to New York for her treatment. Cheers for that! And continue to pray for this little girl for a successful treatment.
Archive for the 'Uncategorized' Category
Page 2 of 3
If you are trying to upgrade PHP to the latest version (5.2.10 as I write this article) and MySQL and mcrypt (for the latest phpmyadmin) and you are using a server instance on EC2 running virtualmin AMI. Here is some help for the upgrade process which works for me.
Copy and paste these into terminal window
rpm -ivh http://software.virtualmin.com/bleed/centos/5/i386/virtualmin-bleed-release-1.0-1.rhel.noarch.rpm
yum upgrade php
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
yum install mysql-server
yum install mcrypt
yum install php-mcrypt
There might be some redundant commands up there, but its exactly what worked for me. Feel free to exclude some statements if they are not used.
If you are having troubles with the Logout function of Facebook Connect using the wp-fbconnect plugin for Wordpress. Head into the wp-fbconnect plugin folder, open up fbconnect.js and modify the following code (add the code in red):
logout : function() {
FB.ensureInit(function() {
FB.Connect.logout();
setTimeout(function () {
window.location = FBConnect.home_url;
}, 3000);
});
},
I have tried a couple of numbers for the delay and 3 secs seems to be rather reliable for now. You might find other numbers more suitable for yourself. I have no explanation for this behavior currently. A wild guess might be when the logout is called, there is a delay between the data being updated and synchronised across the Facebook servers, hence when the page refreshes too fast, the user is read as being still logged in and FB resets his status to being connected. If you know whats going on, please contact me via the comments below. Thanks and Cheers.
I am writing this special post to bring attention to this outstanding young lady who is fighting a disease known as neuroblastoma. I came to know about her condition through a friend and was deeply saddened that a three year old has to put up with these cruel facets of life. So I urge anyone who is reading this post to (stop coding) for a moment, head over and help by clicking the banner in the site which contributes to the funds that helps the girl. Or even just offer a word of sincere encouragement.
Get this badge to help Char! (Copy the following code and paste in your blog in HTML mode to get the badge)
<a href="http://ourfeistyprincess.blogspot.com" target="_blank"><img src="http://shootingpixie.com/wp-content/themes/nishita/i/charbanner.jpg" alt="Feisty Char needs bullets to fight!" /></a>
The blog is at http://ourfeistyprincess.blogspot.com/
Its here! Singapore’s first RIA conference. There will be many exciting topics that will be presented by the “various RIA factions” such as Google, Adobe and Microsoft. Microsoft will also be setting up XBox 360 booths to entertain the attendees. So pop over to RIAction.sg and register your place now, registration is free.
Promotional video for RIAction (Homemade
)
If you are experiencing an issue where spaces are added into your email subject especially for dynamically generated subjects, consider using base64 encoding for your subject field in the email you send out or if you use non-latin characters or even binary data.
This problem occurs if you use xpertmailer for php which uses Quoted-printable encoding by default.
I quote one important information from the wikipedia page on Quoted-printable:
ASCII tab and space characters, decimal values 9 and 32, may be represented by themselves, except if these characters appear at the end of a line. If one of these characters appears at the end of a line it must be encoded as “=09″ (tab) or “=20″ (space).
If you are using xpertmailer, you can set the encoding in the following manner:
$m = new MAIL5();
$m->From(’you@example.com’);
$m->AddTo(’recipient@example.com’);
$m->Subject(’Look at this example, it is a very’ .
‘ long subject line which may be subjected to ‘ .
’spaces added unknowingly.’, ‘utf-8′, ‘base64′);$m->Html = array(’content’ => ‘Your email HTML content here’);
echo $m->Send(’sendmail’) ? ‘Mail sent !’ : ‘Error !’;
Myself at the Adobe MAX Conference in Tokyo! The machine to the right of me is a reader for the points on the RFID enabled conference pass which we could redeem for lucky draw opportunities and there was a lucky guy who walked off with a Macbook AIR at the end of the conference.

Originally uploaded by misutahagane
View more MAX ‘09 Photos at http://flickr.com/photos/hagane/sets/72157613158696550/ (photos taken by Alex who is also more affectionately known as Mr Steel)
I am blogging this right from MAX Tokyo right now and it has been really great. Kevin Lynch gave the opening and then we had some showcases of some really cool products and a peek of how NTT docomo features the future.
Project Eagle is something interesting I heard from Duane Nickel on his wonderful talk on SOA (Service oriented architecture) and its about Adobe’s continued foray into cloud computing.
I had been grappling with this problem since there is no straight forward backup website button in the godaddy’s control panel. PHP scripts seem to run into script timeouts or http timeouts because of the mammoth size of the website.
Heres the solution with help and information from:
http://www.bala-krishna.com/permission-denied-error-with-godaddy-cron-job
Bala Krishna has an excellent writeup on how to use the cron job on godaddy and to avoid the permissions error.
- Hence create a shell script file called sitebackup.sh
- Copy and paste the following:
/bin/sh tar -cvvf /$HOME/html/fullsite.tgz . - Save it.
- Upload to godaddy.
- Go into the control panel and locate the Cron Manager.
- Add a new Cron Job and Browse for the script you uploaded.
The backup should be created in the root of your web folder accessible via FTP or the web.
If you happen to be unfortunate and lose your AIR mouse receiver like I do (which happens to render that piece of hardware entirely useless) and then purchase a replacement receiver from eBay, you will have to go to http://www.logitech.com/index.cfm/447/3516 and download the Logitech Connection Utility. The MX AIR mouse is not listed at the bottom but you can download the one for MX Revolution, I tried it and it works. Just follow the instructions there. Voila! The AIR mouse is alive again.






Recent Comments