Im a big fan of JQuery. Its a truly versatile javascript library that greatly simplifies writing javascript code,and also one need not worry about cross-browser issues, which was the bane of plain old javascript.
Recently i came across an interesting bookmarklet written by Karl Swedberg, called JQuerify. It is a small snippet of javascript code that we can bookmark and use to embed jquery support on any page we are currently viewing in the browser.
Really useful for playing around with JQuery in the Firebug console. Go, give it a shot !
Recent Updates RSS Hide threads | Keyboard Shortcuts
-
JQuerify any webpage
raza
-
Unknown date in email notifications sent out by Mantis
raza
I have been using Bugzilla as a bug tracker for quite some time. However,recently i was involved in setting up Mantis , which is another free and open source bug tracking system .Unlike Bugzilla which is Perl based, Mantis is written in PHP.
I had a strange problem with email notifications being sent out by Mantis. When the emails arrived in my inbox,the inbox view showed ‘Unknown Date’ in the date field for the mails. Mantis uses PHPMailer as the mail library. This bug has been discussed on the PHPMailer mailing list. Quoting the solution below.
In class.phpmailer.php ’s function RFCDate(), there is a bug in the timezone code which returns +0580 for Indian Standard Time instead of +0530.
The line$tz = ($tz/3600)*100 + ($tz%3600)/60;
should be replaced with
$tz= (($tz - ($tz%3600) )/3600)*100 + ($tz%3600)/60;
After patching my Mantis installation with the fix, the issue was resolved.Hope this helps someone else faced with the same problem…have fun
-
Adding Python support to Aptana Studio
raza
Aptana Studio is the IDE that i have been using for development, for quite some time now . I like the various features it provides to ease the development of web applications . And since its Eclipse under the hood, its completely free and open source, and has plugins for all major web development technologies like PHP, Ruby on Rails,Adobe AIR etc.
Python support is provided by the Aptana PyDev plugin, which was earlier a part of their Pro version,but which they have now released as free and open source
Detailed instructions for setting up and using Aptana PyDev are given at http://pydev.org/manual.html,and here i have summarized the installation steps involved.
1) Go to Help->Install New Software
2) Click on Add, to add the update site
3) Now enter any Name for the update site,say PyDev,and in Location enter,http://pydev.org/updates and press OK.
4) Then select what you want to install and click Finish.
After installation is over, you will have to specify the location of the python interpreter on your system. So, to do that :
1) Go to Window -> Preferences.
2) Under PyDev select Interpreter-Python
3) You can press Auto Config to make Aptana automatically detect the python interpreter on your system and add it, but if that fails for some reason , no worries, just click on New,enter a name and Browse to the location on your file system where it is installed. Then press OK on the select interpreter screen and OK again on the Preferences screen
Thats it, you should now have full Python support in Aptana Studio…Happy Hacking
-
Hello World !
raza
Starting off my blog here with the customary Hello World post . I used to blog earlier at http://razasayed.wordpress.com, but this is gonna be my new home on the web . I plan to post interesting tidbits on tech, life and my day to day musings. Cya around folks !
My Networks
