Monday, 30 November 2009

Saving images in Firefox

Some of you might be thinking what's difficult in saving images? Just right click on image and you will get menu item to save image. Simple?
Nah...not everytime.

Some sites will not allow to save images, e.g orkut. They just don't display any context menu on right clicking on the image. That's where these tips may come in handy.

1) Drag Drop image to your desktop. This is simplest method. Isn't it?

2) Firefox has a useful option called "Page Info". That could be your friend in many circumstances.

Goto "Tools" -> "Page Info" -> "Media"

In the first list you will find the various images present in the current page. You could select a single image or select multiple images(use Control key), and press the "Save As".



3) Lastly, you could save the images from the cache. Just use "MozillaCacheView" from Nirsoft.

Thursday, 16 July 2009

Windows Search Replacement

If you search a lot using windows inbuilt search program you must have noticed it is slow and if indexing is enabled then it becomes a great space hogger. Recently I tested for some of the search programs both sharewares and freewares. Here are some of them which I liked.

# 'Everything' by voidtools : It's the best I have found for the day to day simple file searching. Although it uses indexing but the index file is only about 1mb for over 100GB indexed files. It can be used only for indexing ntfs partitions. It allows only file searching based on names or type. Doesn't allow to search in network.



And one more thing it's freeware!

Visit Everything's homepage to know more.

# Effective File Search(EFS) from sowsoft : It's another nice search tool which could be used as Windows Search Replacement. It doesn't index files. You could search with different criteria like Filesize, Timestamp etc. It can search in network for files. Another thing it offers is to search for text within files using regex. It's very useful for programmer's point of view.




It's shareware product.

Visit EFS homepage to know more.

# Locate32 : Another search software using indexing. Very fast and plenty of search options.



It's a freeware product.
Visit homepage to know more.

Feel free to recommend your favorite search software.

Cheers!

Wednesday, 15 July 2009

Creating S40 Themes Online

If you don't want to download anything to create themes, then I have found a good site that allows to create themes online for Nokia S40 and Nokia S60 platforms. I have S40 mobile so I only tested for it and I found it really useful.

You can visit it here

There are lots of things that you can customize as compared to similar sites offering online theme creation. Here are are few of them:
# Customize iconset from many preset templates.
# Customize the highlights for grid and list views.
# Customze the wait graphics(progressbar alike).
# Customize sounds.
# Customize individual calendar month backgrounds.

and many more....

Cheers!

Thursday, 9 April 2009

Syntax Highlighter Check

I installed SyntaxHighlighter by Alex Gorbatchev.
Since it uses javascript so to be able to see syntax highlighted code make sure that javascript is enabled for your browser e.g if you have Firefox with noscript, then add this site to whitelist.

Let's test some test code for python

#Sum n numbers
def sum_n(n):
return n*(n+1)/2

print sum_n(10)


and some test code for c


/* Calculates sum of n numbers */

int sum_n(int n)
{
return n*(n+1)/2;
}

int main()
{
int n;
printf("Enter n:");
scanf("%d",&n);
printf("\nSum : %d",sum_n(n));
return 0;
}


Let's see if it works.

Wednesday, 8 April 2009

Project Euler Solutions

I am thinking about posting solutions and strategies about problems from Project Euler. Since there are lots of persons who have solved the starting problems so I think it's fair enough to share my ideas and code as the solutions forums were already closed for some of the problems.

Well if you like to have fun then try to first solve the problem yourself.

Wednesday, 1 April 2009

PSEB 5th class Result out

Today result of 5th class of Punjab School Education Board was made available online. One of my nephew is studying in 5th class so i thought to check it out. But what a pity, after trying a lot i was unable to get the result as I was told that the roll no. couldn't be found. There site is so lame. They need to have some good coders. They expect everybody to read there mind? They gave no hint whatsoever how to enter your roll number. What to include and what not to. After few tries i asked my nephew to give his roll number and he told me the same with area code that is i guess specific to area where he wrote the exams. But the problem again persisted. The roll number was given in format 100-08-123456. I entered it but still no luck. Then after some more tries i thought to remove the hyphens and try it. And guess what it worked!

Now isn't this the responsibility of the staff to tell the students how to enter the roll number. They are not the mind readers. They must be told what to do and how.

Anyways i think there will be many other frustrated souls out there trying to know there future. So i hope this could help you a bit.

And if you don't want to Google then you can find the result at www.ssapunjab.org

Btw my nephew passed with good marks.

Good luck to all!