Find PageRank of all outbound and multiple links

Latest Google PageRank update was on April 3rd 2010, that is 2 days back. I wanted to check out the PR of all my subpages as well. However, I was too lazy to check one by one.  I had 2 solutions for this. Either make a PHP-curl script and put all the links in a loop or find a tool which just did that.

I just googled and found http://pagerank.bthomson.com/

You can check PR for multiple links or all outbound links from a page.

Cheers!

Type in Devanagari in any field on any site

Now, you can type directly in Devangari script on any text field on any website. Thanks to http://code.google.com/p/t13n/

Just drag the link below to your bookmarks bar:
Drag this link to your bookmarks bar

How to use

After a webpage loads, just click on the bookmarklet to enable it. After enabling it, you can type in Devanagari on any text field on that webpage. Just type the words in English and it will be transliterated to Devanagari.

There are many other supported scripts. Please visit the project’s homepage for other bookmarklets and more detailed information on using it.

Cheers!

Killing Xorg, when things get out of control

Today I experienced a rather strange problem in Ubuntu. It crashed. Actually it wasn’t completely crashed, the mouse clicks weren’t working, I couldn’t switch using Alt+Tab, I could only use the program which was on the screen. The panels weren’t working, though the shortcut keys were. Fortunately enough, I had assigned shortcut key to open the terminal and it was working, so I could even access the terminal.

Fortunately, firefox  (shiretoko) was running as the frontmost application and I was able to access the internet. I searched for How to kill X and was presented with many solutions.

I tried killall X in  terminal but it didn’t work. Suddenly, I remembered that X was called Xorg in jaunty. I did this:

sudo killall Xorg

and instantly the X restarted, and presented me the login screen. And after logging in everything was as good as rebooted :D.

I love Ubuntu, I love linux.

Cheers!

[How-To] Change default application installation location on windows xp

So, you just want to keep a partition for Windows XP and another partition for all your applications that you install. You can change it in all the installations manually but changing the default location is a much better idea. And there are also some applications which don’t let you change the default path.

XP uses the C:\Program Files directory as the default base directory into which new programs are installed. However, you can change the default installation drive and/ or directory by using a Registry hack.

Run the Registry Editor (regedit)and go to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Look for the value named ProgramFilesDir. by default,this value will be C:\Program Files. Edit the value to any valid drive or folder and XP will use that new location as the default installation directory for new programs.

Note: This post was written originally for www.techmindz.com by me. You can find the post here

Killing applications in Ubuntu

Well all OSes have bad programs, Linux has it too. Some times they stop responding and unlike windows, they don’t make the whole OS unresponsive. The application alone is unresponsive but you can still use other applications normally. Killing an unresponsive application is fairly easy job in Ubuntu.

Bring the unresponsive application to the front, the app must be having a desaturated look because its unresponsive (if its not, check again… it must not be unresponsive). Launch the terminal and type:

$ xkill

The mouse cursor will change to a cross, click anywhere on the unresponsive application and it will be killed.

To get things done faster, you can type xkill in “Run application” dialog box too. Press Alt+F2 to bring the run dialog box and type xkill and enter. The mouse cursor will change to cross and click on unresponsive app to kill it.

Alternatively, you can use the System Monitor (System->Administration->System Monitor). In the processes tab, right click the process you want to kill, and select kill process. Note that this method requires some expertise on which process represents which application. You are better off using the previous method if you don’t know what the process name for the application is.

There’s one more method of process killing. Type the following in terminal:

ps -d | grep “process-name”

It will list all the process with that process name along with the process ID (PID).

then type this:
kill -s KILL pid

PID is taken from the previous command and written into this one. That process which has this process-id will be killed.

I hope you liked this tutorial.

Cheers!