Sunday, January 15, 2012

Losing data due to Shift+Delete?

Many people have the habit of using 'shift + del' very often (atleast I do). So, I wanted to figure out a way so as to prevent shift + del happening in the background. Autohotkey came again to rescue me.
Here are the steps.

1) Install latest version of Autohotkey
2) Create a new text file somewhere in your Desktop.
3) Rename it to my_script.ahk
4) Open the file using any text editor and paste the below content into it.

+Del::Send {Delete}

In the above '+' denotes shift. So, what the script means to autohotkey is that, whenever user presses shift + del, send just del to the process and not shift + del.

5) Make a shortcut to the above created file.
6) Copy that shortcut to your startup folder.

When the system is restarted, you can enjoy using shift + del, and still see the files in Recycle bin.

Disclaimer: Please note that moving files frequently to recycle bin and not cleaning it up often can make the bin full and you lose your deleted data, as windows may not push data to recycle bin and delete it directly.

Always on top option in windows

Everyone would have been quite accustomed to the "Always on top" option in GNU/Linux. In windows, there are no out-of-the box ways to do it. However, you can easily achieve that in a few steps.
1) Install latest version of Autohotkey
2) Create a new text file somewhere in your Desktop.
3) Rename it to my_script.ahk
4) Open the file using any text editor and paste the below content into it.

^space::WinSet AlwaysOnTop, , A


5) Make a shortcut to the above created file.
6) Copy that shortcut to your startup folder.

Once you restart your system, you can use the shortcut 'ctrl + space' to make the current window 'Always on top'. I found it very useful when you are using calculators and command prompt. You can stop annoying now, because you don't need to use 'alt + tab' that often.

Sunday, January 8, 2012

Re entry

Planning to start writing again. Lets see how much time I get to devote to this site.

Sunday, May 9, 2010

Save images from orkut profile

Nowadays orkut has blocked the right click in a person's album, in order to prevent others from saving the photos. But I believe the statement, "Nothing is impossible" :)
There are many ways to save those photos. But the easiest of all is drag the photo to a new tab. Then right click on it to save the photo to your hard disk. I don't know whether orkut blocked the right click feature as a measure for privacy in the profile. I don't think so. Do you?
PS:
Other ways to do it is to take a screenshot and crop the image u need. Or u can copy the whole web page or copy the photo using Ctrl+c and paste it in word and save it from there.

Tuesday, February 2, 2010

Make your site more reachable with wibiya

Wibiya is a beta service offered to the users, which helps one in boosting their websites.

This toolbar is an all-in-one tool which has a lot of features.
Some of the services offered are

  • Search
  • Number of online users
  • Translator
  • Photo gallery
  • Testimonials
  • You tube vidoes
  • Games
  • Twitter and facebook integration
  • Live chat
  • RSS feed etc.

How to own yours
Goto the page http://www.wibiya.com/. You'll have an option "get it now". Create an account and select the theme. You ll have a variety of applications to choose from. Choose the one which fits ur site well.

It has a very customized 'Add it' option which helps u greatly in adding the toolbar to ur site. U can directly get ur code if u have the following type of sites.
  • Wordpress
  • Blogger
  • Typepad
  • Joomla CMS
  • Drupal CMS
  • Ning &
  • vBulletin

If your site doesn't fit in any of these u can choose the option "Install on webistes and other blog platforms"

Troubleshooting
You can troubleshoot if something goes wrong.
* Activate Toolbar After Page Load
This will be very much useful if ur site is down due to some issues. If u didn't select this ur site will be blank and the toolbar will be loaded. Or ur site may take a long time to load.

* JavaScript / Framework Conflict

* Flash Objects Overlay The Toolbar


This toolbar will be on the top wherever u scroll to the page. It is definitely worth a try if u own a blog or a website.

Wednesday, December 2, 2009

Hacking the hosts file in windows

Many of us would have used a local webserver for designing websites or for previewing. This is where the 'localhost' comes. We always give http://localhost or http://127.0.0.1 to tell the browser to take the files from the local webserver instead of going into the internet. How and where to change that name, if u wanted to make the localhost as .com or .net, whatever.
Just edit the file named hosts under the location
'C:\WINDOWS\system32\drivers\etc\hosts' (assuming C: is the drive where u installed windows)
A default hosts file will look like this

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

change the last line to whatever name u like.
e.g

127.0.0.1 xyz.com

Use the name xyz.com instead of localhost while using the local webserver.

This file can also be used to block unwanted sites. U can put the sites here that u don't wish to see.
e.g

127.0.0.1 dont-see-this.com

How the above line works?
If you goto a particular url in the browser the OS will check the hosts file whether any specific address has been mapped to that site.If yes it will load that,if not it will fetch it from the web. If you give the above line in the hosts file, whenever u goto the site 'dont-see-this.com' it will point the browser to the address 127.0.0.1 which is your localhost.
(The above technique is used in 'spybot search and destroy' when u give the immunize option)
Happy hacking

Tuesday, May 12, 2009

Cracking MD5 hashes using rainbow tables

This tutorial is for beginners on how to crack MD5 hashes using ur own rainbow tables.

Page Counter