Tuesday, September 26, 2006

IIIT LAN Browser

I have made this IIIT LAN Browser which allows someone from outside iiit to access our lan. Right now following domains are considered as part of IIIT LAN:-
192.168.36.200
192.168.36.150
192.168.36.208
192.168.36.250
172.16.*.*
172.17.*.*
I got this idea in summer when I found that daily tens of people, who were at home, would give their 200 password to me and ask me to check their grades on ISAS. So I thought why not make a site which would help such students.
I have been working on it since summer. The basic site was made in summer only. I implemented everything including forms, response headers like user-agent, accept, etc. But after implementing it I found its still not working for ISAS. To my utter dismay, I found that ISAS site used cookies and my LAN Browser just ignored cookies. I tried ... but couldnt do it.
But now, when exams are so near, I had to find something for keeping me away from studying. So started it again and now its work. Yes... now you can check your grades while at home!

[UPDATE : Now its working for diglib as well. There was some bug. Now you can download softwares from diglib for your home pc.]


This site could also be configured to make it as an anonymous proxy site. I would do such things in future. Right now I think I must study.

And finally this link to my blog : Shaastra Thamesportal Zalecenia Autophytes Invernesshire to increase its PR.

TechnoratiTechnorati: , , , , ,

Monday, September 11, 2006

Why is my blog always on top in IIIT Blogroll ?

There is some problem with my feed since I shifted to blogger beta. The blogger beta atom feed was not getting correctly parsed by SMR's IIIT Blogroll. It seems MagpieRSS (the software used by blogroll to parse feeds) is not comfortable with the newer versions of Atom Feeds. So I decided to shift to RSS feed. But Blogger would allow RSS feeds only to paid customers. So I created an account at http://www.feedburner.com/ which takes my atom feed provided by blogger as input and publishes an RSS Feed. And I asked blogroll to subscribe to this feed.
Now my blog feed started getting parsed, but time is not correct. Blogger publishes the time in this format 2006-09-11T01:26:52.069+05:30 , i.e GMT +05:30. Now feedburner keeps the same time but changes to 05:30 to -05:00 . So a blog written at 1:26:52 +5:30 becomes 1:26:52 -5:00.
Now blogroll rightly adds 10:30 minutes to this time to get the IST time which becomes 11:56:52am.
So my blog comes to top and remains there atleast till 11:56am.
The problem is with feedburner(changes +0530 to -0500). Any solutions ??

TechnoratiTechnorati: , , , , ,

Monday, August 21, 2006

How to get Yahoo Mail Beta

Yahoo Mail Beta is out there for quite sometime. But alas! only for Yahoo UK, Germany and France(as far as I know). But there is trick at this post that allows Yahoo India users(or for that matter any yahoo user) to get Yahoo Mail Beta.
In essence, what you need to do is to switch your yahoo content preference to Yahoo UK or Germany or France , get the beta version and then switch back to your old preference. See the above link for step by step method.
Note : Yahoo Mail Beta does not yet work on IE7.

PS: The new interface is phodu - specially the drag and drop feature . Try it, its better than gmail.

TechnoratiTechnorati: , ,

Saturday, August 19, 2006

Technorati Tags Bookmarklet adapted for blogspot and blogger

Inspired by Rakesh's Bookmarklet (originally Lorelle's), I came up with a technorati bookmarklet for blogspot and blogger.com users.
Technorati tags bookmarklet is a Firefox bookmarklet to tag ur blog posts. First created by Lorelle and later modified by freehogg and then again modified by Rakesh. Veterans can see the modified code below and newbies first read "How to create bookmarklet" and "How to use it" further down.
-----
javascript: ( function() { /* Technorati Tag Book Marklet 0.3 Created First By: Lorrell <http://lorelle.wordpress.com > for wordpress. Last Modified By: Rakesh <http://rakeshkumar.wordpress.com > for wordpress. Adapted for Blogspot By : Turbo <http://sandy007smarty.blogspot.com > */ var a=''; var t=prompt('Enter Tags separated by commas',''); if(!t) return; var tr=t.split(','); a+='<p><img id="technorati_img" src="http://photos1.blogger.com/blogger2/6946/1885/1600/technorati.gif" alt="Technorati" /><strong>Technorati: </strong>'; for(var i=0;i<tr.length;i++) { tr[i]=tr[i].replace(/^\s+/,""); tr[i]=tr[i].replace(/\s+$/,""); var tag_text=tr[i]; tr[i]=tr[i].replace(/\s+/g,"+"); if(i > 0){ a+=', '; } a+='<a href='+unescape('%22')+'http://www.technorati.com/tag/'+tr[i]+unescape('%22')+' rel='+unescape('%22')+'tag'+unescape('%22')+'>'+tag_text+'</a>'; } a+='</p>'; prompt('Copy this html code, Press OK, Then Paste into your blog entry:',a); } )()
-----
Its character by character same as Rakesh's version, except for the image url. I changed the url to a blogspot url to make it a blogspot bookmarklet in true sense. That is, blogspot won't have to go to wordPress for that image. Although I have not tried, Rakesh's original version should also work without any problems, unless blogspot specifically blocks wordpress urls (which it does not do now atleast).
Following FAQs have been shamelessly copied from Rakesh's post :-
FAQs
Q1. How to create bookmarklet?
Ans: Copy the above script and paste it to Firefox’s address bar. Drag and drop it to bookmarks toolbar. Right click on it, go to properties and verify the location.
The location should contain the above script. Change the name to something related like “Technorati Bookmarklet”.

Q2. How to use it?
Ans: Just click on the bookmark. A dialogue box will open. Enter your tags in it, seperated by commas. (spaces are allowed within tags). It generates
the html code for tags. Copy and paste it in your blog post.

Q3. Why Technorati Tags?
Ans: A simpler explantion is that it adds meaning to the information that you are providing (i.e. your post). Tags work both ways, it helps sites like Technorati
to organize the contents properly and on the other hands it increases your reach to a broader audience.

Q4. But blogspot already has labels?
Ans: Yes, a recent feature. Those who still use old templates don't have the labels feature. Also its simply good to have technorati tags. Isn't it?


TechnoratiTechnorati: , , , , , , ,

Enabling Adsense in the new blogger/blogspot templates

Those who are wondering what is this fuss about new blogger, read my previous post or visit this.
Those who have already added the javascript code and still their adsense is not working, read from step 6. Others see all steps.

1. At the dashboard(the page that opens when you login) , click on settings :-
2. Then go to template tab. If you have not yet moved to a new template(beta template) , do it now as mentioned here .
By default, page elements tab is open.
3. Now click on "add a element" link.

4. A popup will open up showing various kind of page elements. Select the one named "HTML/Javascript".

5. You will be presented with a form. Don't write anything in the title text box because anything that you write here will appear above the adsense thing and will look very bad. In content box paste your adsense code.
[UPDATE(27 Sept, 2006): Blogspot has removed the bug with javascript. So step 6 is no longer required. Continue from step 7.]
6. Now you need to understand a fact about javascript. Most of the javascript codes are included inside comments(HTML comments) so that javascript incompatible browsers are not confused. For example :-
<script type="text/javascript"><!--
Some javascript code
//--></script>
What you need to do is to just remove the red things(comments) in above code. Remove only "<--" and "//-->" and not the matter in between them.
7. Click on save changes button
8. Done!!!
Note that this thing will create problems in javascript incompatible browsers. But then you need adsense, so thats the way.
Also note that step 6 above is required because beta blogger seems to have some bug. Once that bug is removed no need to do step 6. FYI, as of now, step 6 is required for any javascript code whether it is of adsense or not.

Friday, July 21, 2006

Foxmarks, TCCC and random stuff...

Thank God! Blogger is back. I could not post for such a long time, though I could read blogspot blogs using pkblog and several other proxies. But I didn't get how ppl posted blogs during the time blogspot was blocked.
Foxmarks
Foxmarks = Firefox + Bookmarks
You guessed it right. Its yet another firefox extension but is extremely useful for dual OS people like me.

If you use Firefox on more than one computer, you'll want Foxmarks. Install Foxmarks on each computer, and it will work silently in the background to keep your bookmarks synchronized. As a bonus, log in to my.foxcloud.com from any computer anywhere to access your bookmarks.
What it does is that It synchronizes the bookmarks that you add on different PCs/OSs. That is, if you add a bookmark in your lab PC you can get it added on your room PC as well. It creates an account for you on sync.foxcloud.com and your bookmarks automatically get uploaded to this site every 1 minute. It uses the same account on the other PC and downloads the updated bookmarks. This happens both ways. That is both upload(every 1 min) and both download(every 1 hour).
It helps me because half of time I am in windows and half in linux. So I created an account for myself and use it in both OSs.
Now before further delay, download it here : https://addons.mozilla.org/firefox/2410/

There is another way around (only for dual OS ppl like me and not dual PC ppl) that struck me just now. You will require a fat32 partition.
Create a file called bookmarks.html in your fat partition.
First lets handle windows. Create a shortcut to this bookmarks.html file in the folder where your bookmarks are stored in windows. The directory is :- C:\Documents and Settings\Turbo\Application Data\Mozilla\Firefox\Profiles\n074fqtc.default
You have to make some changes in above path for your PC.
For linux create a softlink to the bookmarks.html file with the same name in the directory where your linux bookmarks are stored. I don't remember the exact the path (as I am in windows now) .
I haven't tried it yet. Should work without much trouble.
For more info about extensions that I use read my previous post Cool Firefox Extensions.

2006 TopCoder Collegiate Challenge

Yes! yet another Topcoder contest. This is diffrent from Topcoder open. This one is open only to college students. Still its very tough. I don't hope to get any further than the Qualification Round :P The guys from Poland, Sweden are extremely good in programming. You won't believe there are highschool students in these countries who are red at TopCoder. One of the finest examples is Zuza. The registration begins from August 28 and the qualification round is somewhere in september. Hope I don't get disqualified this time as I was in Google Code jam.(Read this for more details).

Random Stuff
No time for random stuff now. Got to go to give bumps to Akash Deep.

TechnoratiTechnorati: , , , , , ,