Sunday, August 28, 2011

Make a hidden folder using SCRIPT, without any software

1. Make a 'new folder'
2. Now make a new text file (.txt) in this folder.
3. Paste this code in that file

cls 
@ECHO OFF 
title Folder Private 
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK 
if NOT EXIST Private goto MDLOCKER 
:CONFIRM 
echo Are you sure you want to lock the folder(Y/N) 
set/p "cho=>" 
if %cho%==Y goto LOCK 
if %cho%==y goto LOCK 
if %cho%==n goto END 
if %cho%==N goto END 
echo Invalid choice. 
goto CONFIRM 
:LOCK 
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
echo Folder locked 
goto End 
:UNLOCK 
echo Enter password to unlock folder 
set/p "pass=>" 
if NOT %pass%== password here goto FAIL 
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private 
echo Folder Unlocked successfully 
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDLOCKER 
md Private 
echo Private created successfully 
goto End 
:End


Note: Replace password here with your own password.
3. Save this file as key.bat
4. Now double click on 'key.bat'. it makes a folder named 'Private'.
5. Put all your data in this folder, which you want to hide.
6. Finally double click on key.bat, and press 'y'.
        All done your data is hide and safe.

7. For opening this folder again, double click on key.bat and enter your password.

Friday, August 26, 2011

Start PYTHON in LINUX

1.    Install gedit in your linux distro.
                         Every GNOME Linux distro have gedit. Because gedit is the official text editor 
                         of the GNOME desktop environment.

2.    Run gedit so we can fix few default setting:
             2.1 Open  'edit>preferences' select the 'editor' tab
             2.2 Changed tab width to 4
             2.3 Select 'insert spaces instead of tabs'
             2.4 Turn on “automatic indentation” as well
             2.5 Now, view tab turn on “display line numbers”.

3.    Open your 'Terminal program', run python.


     If you run python and its not there, install 'python 2' not 'python 3'.
     Type 'exit()' or 'ctrl+d' and get out of python.

Note :
  1.    Use gedit because it is simple and same on all computer/environment.
  2.    Never use 'Vim' or 'Emacs' these are for a better programmer.
  3.    Do not try to install 'python 3', it's not for beginners.

Thursday, August 18, 2011

'learn English' online; Free resources

-          http://www.freeenglishnow.com/  You can download a free CD in British or American                                      English from http://www.freeenglishnow.com/help14.html

-      http://learnenglish.britishcouncil.org/en/elementary-podcasts  can download for free and listen in phone.

-      http://www.bbc.co.uk/worldservice/learningenglish/general/expressenglish/This is good because you can listen and read them at the same time on your computer and if you click on “Audio” in the download box on the right you can also save the audio to your computer or phone.

-      http://www.breakingnewsenglish.com/ British news site, so quite difficult language. Click on the article you want and then click the “Listen” button. If you right click with your mouse you should be able to save to your computer or phone.

-     http://www.podcastsinenglish.com/index.shtml Split into different levels which makes it easy to use. Just click on “Download” to save to computer or phone.

Nice cheat sheet eslprintables.com

Tuesday, August 9, 2011

Starting java

CAT 2011 Notification

                     The sale of the CAT 2011 Vouchers from the Axis Bank branches will start from Wednesday, August 17, 2011 and the last day of sale is Monday, September 26, 2011. The cost of the CAT 2011 Voucher is Rs. 1600.

CAT 2011 Eligibility
The candidate should have a Bachelor’s Degree with at least 50 per cent marks or equivalent CGPA.  

CAT 2011 Registration
The sale of the CAT 2011 Vouchers from the Axis Bank branche . The cost of the CAT 2011 Voucher is Rs. 1600. On purchasing the CAT 2011 Voucher, the candidate has to visit the www.catiim.in website for registration. The registration window starts from Wednesday, August 17, 2011 and closes on Wednesday, September 28, 2011 

For a list of participating bank branches, click here.  

Important dates :
Sale of CAT Vouchers :: Wednesday, 17 August 2011 - Monday, 26 September 2011
Registration for CAT 2011 : Wednesday, 17 August 2011 - Wednesday, 28 September 2011
CAT Test Dates : Saturday, 22 October 2011 - Friday, 18 November 2011
CAT RESULT  : Wednesday 11 January 2012 

Test Centers
CAT 2011 will be held across 36 cities.

You can take the CAT 2011 practice test by clicking on the following link:
CAT 2011 Practice Test


CAT 2011 scores will be accepted by the 13 IIMs + 200 other college
  1. IIM Ahmedabad
  2. IIM Bangalore
  3. IIM Calcutta
  4. IIM Indore
  5. IIM Kashipur
  6. IIM Kozhikode
  7. IIM Lucknow
  8. IIM Raipur
  9. IIM Ranchi
  10. IIM Rohtak
  11. IIM Tiruchhirapalli
  12. IIM Udaipur. 
  13. RGIIM Shillong   
List of other colleges is available at cat official site.

For more info about CAT and CAT pattern:
Click here
download CAT 2011 guide

Wednesday, August 3, 2011

ubuntu 10.04 LTS (lucid lynx)

1. installing vlc player
    1.1 By software_centre/SPM (synaptic packet manager)
           1.1.1 Open SPM(Synaptic Package Manager)(Administration->Synaptic Package Manager) and  
                     Search for vlc player.
           1.1.2. Check the the box to install and apply(Required in SPM).
           1.1.3. Downloading and installation will complete within few minutes.
     
    1.2 By using Terminal 
          type the command

Tuesday, August 2, 2011

What is Ajax

The standard model for Web applications is something like this: you get a screenful of text and fields from a server, you fill in some fields, and when you click a button, the browser sends the data you typed to a server (wait), which processes it (wait), and sends back an answer (wait), which your browser displays, and then the cycle restarts. This is by far the most common way Web applications operate, and you must get used to the delays. Nothing happens immediately, because every answer that needs data from a server requires a round trip.
            
               AJAX (Asynchronous JavaScript And XML) is a technique that lets a Web application communicate in the back-ground (asynchronously) with a Web server to exchange (send or receive) data with it. This does away with the requirement to reload the whole page after every action or user click. Thus, using AJAX increases the level of inter-action, does away with waiting for pages to reload and allows for enhanced functionality. A well-programmed application will send requests in the background, as you are doing other things, so you won’t have to stare at a blank screen or a turning-hourglass cursor. This is the Asynchronous part of AJAX acronym.

                 The next part of the AJAX acronym is JavaScript. JavaScript allows a Web page to contain a program, and this program is what allows the Web page to connect to a server as previously described. However, it’s not just a question of having JavaScript, but also of how it is implemented in the browser. Both Firefox and Internet Explorer both provide AJAX access, but with some differences, so programmers must take those differences into account when doing the connection. Data is usually retrieved using XMLHttpRequest, but other techniques are possible, such as using iframes. 

                    last part of the AJAX acronym is XML. XML is a standard markup language, used for sharing and passing information. As we’ve seen, the name of the DOM API for making Web service requests is named XMLHttpRequest, and most likely, the original intent was that XML be used as the protocol for exchanging data between browser and server. However, neither the X in AJAX nor the XML in XMLHttpRequest means that you have to use XML; any data protocol at all, including no protocol, can be used.
             JSON (JavaScript Object Notation) often is used; it’s more lightweight than XML, and as you might guess by its name, is often a better fit for JavaScript. See Figure 3 for some actual JSON code; remember, it’s not meant to be clear to humans, but compact and easy to understand for machines. AJAX comprises basic technologies that have been around for a while now, and the AJAX term itself was created in 2005 by Jesse Garrett. GWT uses AJAX to allow the client program to communicate with the server or execute procedures on it in a fully transparent way. Of course, you also can use AJAX explicitly for any special purposes you might have.
  1. Advantage and disadvantage of ajax (youtube)
  2. what is ajax