Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts

Saturday, September 24, 2011

How to activate the new facebook look 'Timeline' now | f8

Facebook F8 conference held on yesterday and introduce new design to facebook which is very attractive and useful. But now this feature is only available for developers only not for all. So we have to activate new design manually. Facebook’s new look is appearance of this new course has been developed to attract everyone. If you like to bring facebook new design please follow the steps which is given below.


Steps
  • Visit the link https://developers.facebook.com/apps

  •  

  •  Next click the Create new app button which is given top right side corner.

  •  

  •  Next window will open it showing  App Display Name and  App namespace you fill this two column anything you want. But the namespace column your words will be available.

  •  

  • Next window will open to ask Security code fill correctly and click submit button and you will go to next level and click Open Graph link see below image to better understanding.

  •  
  • Next window will open and fill that columns for your words simply and click Get Started

  •  

  • Next click the Save changes and Next button

  •  

  • Finally your app is ready and your window will be like below the image

  •  

  • Next you go to your profile page and timeline message waiting for you


  • Finally your facebook New Design changed



Video

(Read more inside ..)

Wednesday, May 18, 2011

Steps to include Indian Rupee Symbol Font in MS Word, Excel, PowerPoint, Gmail, Facebook, Twitter and in Browsers got easier with Unicode recommended code position


Foradians who first helped you type the rupee symbol on your computers with their legendary Rupee Foradian font has now come up with a quick and easy solution which will make you type the rupee symbol with out changing the keyboard, while sticking to the Unicode standard. Now its possible to type India rupee symbol in Microsoft Word, Excel, PowerPoint, Gmail, Facebook, Twitter and Mozilla. Currently its not supported in IE and Google Chrome, waiting for ISO approval.
Steps to type Indian rupee symbol:

  • Download this file Rupee_Keyboard.zip .
  • Extract the contents of the zip file.
  • First you have to install the new fonts.
  • Double click the Rupee Installer.exe File and follow the instructions.
  • This will install four new fonts to your computer with support for new rupee symbol in Unicode recommended code position.
  • Then double click the Keyboard Install.exe file.
  • This will install a new keyboard layout in your computer
  • To enable the keyboard layout selector right click on the task bar and select language bar from the toolbars menu.
  • Now you can click on the small keyboard icon and enable the Rupee Foradian Keyboard Layout.
  • Double check the keyboard layout is active.
  • Now you can use the grave accent key on the keyboard to type the rupee symbol by selecting the Rupee Foradian Standard fonts.
  • You can set Rupee Foradian Standard as the default font in browser and start using the rupee symbol in any applications like gmail, twitter or facebook.


If you can see only squares instead of rupee symbol, please check whether the font selected is "Rupee Foradian Standard" or  Rupee Foradian Keyboard Layout is enabled or not

(Read more inside ..)

Friday, April 8, 2011

Byte Converter

The byte is a unit of digital information in computing and telecommunications, that most commonly consists of eight bits. Historically, a byte was the number of bits used to encode a single character of text in a computer and it is for this reason the basic addressable element in many computer architectures.

I have done some coding in java script to easily calculate byte, kilobyte, megabyte and gigabyte. Try Byte Converter (Read more inside ..)

Thursday, January 20, 2011

How to save facebook chat history

Sometimes you want to go back and read an old chat that you had with someone on Facebook, probably this facility is provided by Facebook till date. But you can save all your Facebook chat history with a simple trick.

Steps to save facebook chat history:

To save Facebook chat history you have to chat with your friends in Pidgin. Then only you can able to save it.

  • Download Pidgin and install it.
  • Open Pidgin.
  • Go to "Accounts" and select "Manage Accounts."
  • On the Basic tab, enter the following info:
    • Protocol: XMPP
    • Username: for this log on to Facebook, Click on the Profile link (top right side) after that see the address bar you will get a link like "http://www.facebook.com/home.php#!/bishwajeet.naik". So, bishwajeet.naik is the username for me. For your case the text after "http://www.facebook.com/home.php#!/" is the username.
    • Domain: chat.facebook.com
    • Resource: Pidgin
    • Password: your Facebook password
    • Local alias: your name or any name (just for alias)
  • Click the Advanced tab, then enter the following info:
    • Connect port: 5222
    • Connect server: chat.facebook.com
    • Uncheck the box labeled "Require SSL/TLS"

  • Click on any of your friends in the friends list in Pidgin.
  • A chat window will open.
  • Go to Conversation -> View Log.
  • Now you can see all the chat history. Whatever you have talked with your friends in Pidgin from your Facebook Account all things are saved.

To disable this facility just go to the Option -> Uncheck Enabling Logging in the chat window, which appears after clicking on any of your friends in the friends list in Pidgin.

(Read more inside ..)

How to open Recycle Bin from Run Command

An alternative way to open Recycle Bin

  • Click on Start and go to Run.
  • Type "::{645FF040-5081-101B-9F08-00AA002F954E}" without quotes.
  • Click OK or press Enter.
(Read more inside ..)

Sunday, December 26, 2010

How to create Facebook Profile Pic in 1 Minute


What if I told you that you don’t need any software anymore and that you can apply the Facebook profile picture hack in just a few mouse clicks? Isn't it sounds interesting.

The past week has given birth to a bunch of websites that will all resize, cut up and crop the hell out of your uploaded photos so you can personalize your facebook profile without dropping a drop of sweat. These tools will create a 180 by 540 pixels profile pic for you, and 5 of those small 97 x 68 pixels images to add to your Photostream.

Facebook Profile Pic Generator
The Facebook Profile Pic Generator by digitalcrunch.in was probably one of the first to automate the Facebook photo hack process. It takes your JPG and PNG image and spits out into 6 images. Once you’ve uploaded and tagged the 5 photostream images and set the new profile picture.
(Read more inside ..)

Friday, December 17, 2010

How to Hack Facebook Profile Photos


Along with the New Profile Page makeover launched, Facebook introduced the Photostream; a set of the five most recent photos in which you’ve been tagged, prominently displayed at the top of your profile. You can activate it here. Here’s what i did first thing when the new profiles went live:

Here are the instructions to execute the photo tags profile hack:

  • Fire up your favorite image editor (this can be GIMP, Adobe Photoshop, or anything a slightly more advanced than MS Paint).
  • Load an image of your choice.
  • Resize its dimensions to 485 by 68 pixels (you might want to crop some unnecessary bits to make it look better)
  • Now cut or crop the image into 5 pieces of 97 by 68 pixels each and save them (obviously, you can achieve this effect with 4, 3 or even just 2 images as well).
  • Upload the five pieces to a Facebook album and start tagging yourself in reverse order. That means the part of the image that’s supposed to appear FIRST, should be tagged LAST. And you should start with the right end of the cut-up image. We’ve learned that it’s more accurate to tag yourself while viewing the album normally, instead of in Edit Album mode.
  • If everything went well, you’ll have a new, awesome Facebook profile page header!

Video Tutorial



(Read more inside ..)

Monday, October 4, 2010

How to automate farmville with 'Farmville Bots', Cheats and Tricks


FarmVille is a real-time farm simulation game developed by Zynga, available as an application on the social-networking website Facebook and as an App on both the Apple iPhone and Android.
A Farmville Bot is an external tool (automated software) that you can use to run the game on its own, which will allow you to earn levels without you even being there. Having a Farmville bot will help you be the best at FarmVille without you needing to spend hours playing it. It will automatically harvest your crops ,perform seeding, plow all your land in one click and several game operations.

Here is a list of free bots and guides to help you cheat at FarmVille and impress your friends.

(Read more inside ..)

Sunday, July 25, 2010

Steps to include Indian Rupee Symbol Font in MS Word and Excel


  1. Download the file . Rupee Font Version 3.0
  2. Extract the files. (You will need winrar or 7zip installed in your PC to extract the files)
  3. Double click on the Rupee_Font_Installer.exe
  4. Click on "Install" button
  5. Done. :)
  6. Another tutorial for easier installation and use of Indian Rupee Symbol Font in Facebook, Gmail and Twitter etc. Link to tutorial


This is a quick slideshow help. How to use the Indian Rupee Font in MS Application

 How to use in Microsoft Word



 How to use in Microsoft Excel




  • Go to setting ----- > Control panel ------> Regional & Lang Option ------> Customize ------> then click Currency tab
  • Put currency symbol as " ` " click ok
  • Open Excel
  • Go to format cell (Ctrl + 1 command)
  • Click to Number tab ------- > select currency as " ` " & ok it
  • Select fonts as Rupee_Foradian.ttf



 How to use Indian Rupee Symbol in Mac


  • Download font to a folder.
  • Open Font Book in mac.
  • Click Fonts.
  • Select rupee foradian font.
  • Press the key just above the tab ( tilde ) to get the symbol.


 How to use Indian Rupee Symbol in Fedora

  • Copy the ttf file to the .font directory under the user home directory
  • Run the command "fc-cachc" and use the font through all the applications

 How to use Indian Rupee Symbol in Debian
  • In Debian machine login as root or use su and give following command :
  • mkdir /usr/share/fonts/ttf

    cp Rupee_Foradian.ttf /usr/share/fonts/ttf

    apt-get install ttmkfdir

    cd /usr/share/fonts/ttf

    ttmkfdir > fonts.scale

    mkfontdir

    cd /usr/share/fonts/ttf/

    chmod 644 /usr/share/fonts/ttf/Rupee_Foradian.ttf

 How to use Indian Rupee Symbol in Ubuntu
  • Open the font and click 'Install font' button on bottom left of the font viewer.

Tips
  • Those who cant see the grave accent key - Try "alt+0096" - Type 0096 while holding down "alt" key on your keyboard.


Via [foradian.com]
(Read more inside ..)

New perspective in Email Marketing i.e 'Social Networking'


Email marketing has evolved extensively over the past few years. E-mail marketing is a anatomy of absolute business which uses e-mail as a medium of communicating commercial or fundraising letters to list of customers. In its broadest sense, every e-mail sent to a abeyant or accepted customer could be assumed as e-mail marketing.

While surfing I get across a social email marketing site which gives a new aspect to email marketing, it target customers with social networking data. This site populate the e-mail list with social networking statics and send mails to a particular group of users who are using either facebook , flickr , twitter , stumbleupon etc. It gives a new vision to the online marketing.

Some survey also reveled that Social Networking Sites Continue to Attract Record Numbers of people. Its good to use social networking sites to grow the business. Go through marketing today to get the updated news and tricks of marketing.

Using twitter for business purpose is also a good idea. Although Twitter was originally intended for communication among individuals, a number of organizations have begun to actively participate on the platform. Take the example of Dell, Samsung they has created a number of Twitter profiles, each meant for different types of deals.
(Read more inside ..)

Tuesday, May 18, 2010

How to pass values from child window to parent window using Javascript XHTML

Code for passing values from child window to parent window using Javascript and HTML. I am working on a project where I need to access parent page variables from child page without using GET and POST methods. Searched the net and got a technique to complete the work i.e using 'window.opener' properties.

Code for Parent HTML Page

Use window.open to open a new window. The following code opens a new window without toolbars, menubars, etc



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Parent </TITLE>
<META NAME="Generator" CONTENT="Bishwajeet">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<SCRIPT TYPE="text/javascript">
function sendTo()
{
window.open('child_blog.html','_blank','resizable=yes,width='+(screen.width-500)+',height='+(screen.height-500)+'');

}
</SCRIPT>
</HEAD>

<BODY>

<input type="text" value="" name="text1" id="pdetails1">
</br>
<a href="javascript:void(0)" onClick="sendTo()" >Pop Up</a>

</BODY>
</HTML>


Code for Child HTML Page

In the newly opened window, you can access the original window by using window.opener

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Child </TITLE>
<META NAME="Generator" CONTENT="Bishwajeet">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<SCRIPT TYPE="text/javascript">
function sendValue()
{
window.opener.document.getElementById('pdetails1').value=document.getElementById('details1').value;
window.close();

}
</SCRIPT>
</HEAD>

<BODY>
<form name="selectform">
<input name="details1" id="details1" value=""><br/>
<input type=button value="Copy input to parent opener" onClick="sendValue();">
</form>
</BODY>
</HTML>
(Read more inside ..)

Sunday, November 29, 2009

How to add Orkut Share in Blogger Posts



Orkut had launched Orkut Share API. By using this API sharing on Orkut has became easier.We will see how to add Orkut Share button in blogger posts.

Steps:
  • Login into your blogger account > Dashboard > Layout > Edit HTML > Download Full Template. This will take a backup of your blog template.
  • Click on Expand Widget Templates.
  • Search for <data:post.body/> in Template.
  • Add the following code below <data:post.body/>, Code goes like this:
    <p>
    <div style='float:left; margin-left:10px;'>
    <script src='http://www.google.com/jsapi' type='text/javascript'/>
    <script type='text/javascript'>
    google.load( 'orkut.share', '1' );
    google.setOnLoadCallback(function() {
    new google.orkut.share.Button({
    lang: 'en',
    style: google.orkut.share.Button.STYLE_REGULAR,
    title: '<data:post.title/>',
    summary: ('Stay tuned with TechnoZone to be a part of the Technology that is changing the world.'),
    thumbnail: ('http://www.bishwajeet.blogspot.com/logo1%20copy.png'),
    destination: '<data:post.url/>'
    }).draw('orkut-button');
    });
    </script>
    <div id='orkut-button'/>
    </div>
    </p>
  • Just change summary part as you want and the URL for the thumbnail
  • Now save your template. You will see below your post. Wait till your page is fully loaded.




(Read more inside ..)

Thursday, November 19, 2009

How to create ringtones from YouTube videos



Searching new ringtones for your pretty mobile phones. I have a site madringtones for you where you can create mp3 ringtones for your mobile phone from your favourite YouTube videos or any music file from your computer.

Steps:
  • Open your favourite video in YouTube, whose mp3 ringtone you want to create for your mobile phone.
  • Copy the link from the address bar of your favourite YouTube video eg: http://www.youtube.com/watch?v=7kV-5vc-vrk
  • Open madringtones.org and paste the link of your favourite YouTube video you have copied from the address bar.
  • You can upload files from your computer or any web link also.
  • Click on the Play button, it will start uploading the file and then press Save to save the mp3 file
  • After saving it will allow you to download the saved file in mp3,amr,ogg formats
  • Now send the downloaded file to your mobile phone and enjoy the ringtones.


(Read more inside ..)

Monday, November 16, 2009

Listen to Online Hindi FM Radio for Free

My new innovation

Technology + Hindi Songs

Now, listen to romantic bollywood songs while surfing internet.






Speed: 32Kbps
Server: www.1.fm
Station: Bombay Beats India
My site was nominated for Best Geek Blog!






(Read more inside ..)

Sunday, November 15, 2009

List of Run Commands for Windows



Run command ability is to do almost everything that the command line can do. In some run commands the output is displayed and the windows exit.

eg: 'ipconfig' command. If you type that into Run, it would open a command prompt, run the ipconfig command, and then close because the command finished running!

So, to fix this, type cmd into the Run dialog, and then type ipconfig into the command prompt.

List of Run commands:
My site was nominated for Best Geek Blog!
  • Accessibility Controls - access.cpl
  • Accessibility Wizard - accwiz
  • Add Hardware Wizard - hdwwiz.cpl
  • Add/Remove Programs - appwiz.cpl
  • Administrative Tools - control admintools
  • Adobe Acrobat (if installed)- acrobat
  • Adobe Designer (if installed)- acrodist
  • Adobe Distiller (if installed)- acrodist
  • Adobe ImageReady (if installed)- imageready
  • Adobe Photoshop (if installed) - photoshop
  • Automatic Updates - wuaucpl.cpl
  • Bluetooth Transfer Wizard - fsquirt
  • Calculator - calc
  • Certificate Manager - certmgr.msc
  • Character Map - charmap
  • Check Disk Utility - chkdsk
  • Clipboard Viewer - clipbrd
  • Command Prompt - cmd
  • Component Services - dcomcnfg
  • Computer Management - compmgmt.msc
  • Control Panel - control
  • Date and Time Properties - timedate.cpl
  • DDE Shares - ddeshare
  • Device Manager - devmgmt.msc
  • Direct X Control Panel (If Installed)* - directx.cpl
  • Direct X Troubleshooter - dxdiag
  • Disk Cleanup Utility - cleanmgr
  • Disk Defragment - dfrg.msc
  • Disk Management - diskmgmt.msc
  • Disk Partition Manager - diskpart
  • Display Properties - control desktop
  • Display Properties - desk.cpl
  • Display Properties (w/Appearance Tab Preselected) - control color
  • Dr. Watson System Troubleshooting Utility - drwtsn32
  • Driver Verifier Utility - verifier
  • Event Viewer - eventvwr.msc
  • Files and Settings Transfer Tool - migwiz
  • File Signature Verification Tool - sigverif
  • Findfast - findfast.cpl
  • Firefox (if installed) - firefox
  • Folders Properties - control folders
  • Fonts - control fonts
  • Fonts Folder - fonts
  • Free Cell Card Game - freecell
  • Game Controllers - joy.cpl
  • Group Policy Editor (XP Prof) - gpedit.msc
  • Hearts Card Game - mshearts
  • Help and Support - helpctr
  • HyperTerminal - hypertrm
  • Iexpress Wizard - iexpress
  • Indexing Service - ciadv.msc
  • Internet Connection Wizard - icwconn1
  • Internet Explorer - iexplore
  • Internet Properties - inetcpl.cpl
  • Internet Setup Wizard - inetwiz
  • IP Configuration (Display Connection Configuration)- ipconfig /all
  • IP Configuration (Display DNS Cache Contents) - ipconfig /displaydns
  • IP Configuration (Delete DNS Cache Contents) - ipconfig /flushdns
  • IP Configuration (Release All Connections) - ipconfig /release
  • IP Configuration (Renew All Connections) - ipconfig /renew
  • IP Configuration (Refreshes DHCP & Re-Registers DNS) - ipconfig /registerdns
  • IP Configuration (Display DHCP Class ID) - ipconfig /showclassid
  • IP Configuration (Modifies DHCP Class ID)- ipconfig /setclassid
  • Java Control Panel (If Installed) - jpicpl32.cpl
  • Java Control Panel (If Installed) - javaws
  • Keyboard Properties - control keyboard
  • Local Security Settings - secpol.msc
  • Local Users and Groups - lusrmgr.msc
  • Logs You Out Of Windows - logoff
  • Malicious Software Removal Tool - mrt
  • Microsoft Access (if installed) - access.cpl
  • Microsoft Chat - winchat
  • Microsoft Excel (if installed) - excel
  • Microsoft Frontpage (if installed) - frontpg
  • Microsoft Movie Maker - moviemk
  • Microsoft Paint - mspaint
  • Microsoft Powerpoint (if installed) - powerpnt
  • Microsoft Word (if installed) - winword
  • Microsoft Syncronization Tool - mobsync
  • Minesweeper Game - winmine
  • Mouse Properties - control mouse
  • Mouse Properties - main.cpl
  • Nero (if installed) - nero
  • Netmeeting - conf
  • Network Connections - control netconnections
  • Network Connections- ncpa.cpl
  • Network Setup Wizard - netsetup.cpl
  • Notepad - notepad
  • Nview Desktop Manager (If Installed) - nvtuicpl.cpl
  • Object Packager - packager
  • ODBC Data Source Administrator - odbccp32.cpl
  • On Screen Keyboard - osk
  • Opens AC3 Filter (If Installed)- ac3filter.cpl
  • Outlook Express - msimn
  • Paint - pbrush
  • Password Properties - password.cpl
  • Performance Monitor - perfmon.msc
  • Performance Monitor - perfmon
  • Phone and Modem Options - telephon.cpl
  • Phone Dialer - dialer
  • Pinball Game - pinball
  • Power Configuration - powercfg.cpl
  • Printers and Faxes - control printers
  • Printers Folder - printers
  • Private Character Editor - eudcedit
  • Quicktime (If Installed) - QuickTime.cpl
  • Quicktime Player (if installed) - quicktimeplayer
  • Real Player (if installed) - realplay
  • Regional Settings - intl.cpl
  • Registry Editor - regedit
  • Registry Editor - regedit32
  • Remote Access Phonebook - rasphone
  • Remote Desktop - mstsc
  • Removable Storage - ntmsmgr.msc
  • Removable Storage Operator Requests - ntmsoprq.msc
  • Resultant Set of Policy (XP Prof) - rsop.msc
  • Scanners and Cameras - sticpl.cpl
  • Scheduled Tasks - control schedtasks
  • Security Center - wscui.cpl
  • Services - services.msc
  • Shared Folders - fsmgmt.msc
  • Shuts Down Windows - shutdown
  • Sounds and Audio - mmsys.cpl
  • Spider Solitare Card Game - spider
  • SQL Client Configuration - cliconfg
  • System Configuration Editor - sysedit
  • System Configuration Utility - msconfig
  • System File Checker Utility (Scan Immediately) - sfc /scannow
  • System File Checker Utility (Scan Once At Next Boot)- sfc /scanonce
  • System File Checker Utility (Scan On Every Boot)- sfc /scanboot
  • System File Checker Utility (Return to Default Setting) - sfc /revert
  • System File Checker Utility (Purge File Cache) - sfc /purgecache
  • System File Checker Utility (Set Cache Size to size x) - sfc /cachesize=x
  • System Information - msinfo32
  • System Properties - sysdm.cpl
  • Task Manager - taskmgr
  • TCP Tester - tcptest
  • Telnet Client - telnet
  • Tweak UI (if installed) - tweakui
  • User Account Management - nusrmgr.cpl
  • Utility Manager - utilman
  • Windows Address Book - wab
  • Windows Address Book Import Utility - wabmig
  • Windows Backup Utility (if installed) - ntbackup
  • Windows Explorer - explorer
  • Windows Firewall - firewall.cpl
  • Windows Address Book - wab
  • Windows Address Book Import Utility - wabmig
  • Windows Backup Utility (if installed) - ntbackup
  • Windows Explorer - explorer
  • Windows Firewall - firewall.cpl
  • Windows Magnifier - magnify
  • Windows Management Infrastructure - wmimgmt.msc
  • Windows Media Player - wmplayer
  • Windows Messenger - msmsgs
  • Windows Picture Import Wizard (need camera connected) - wiaacmgr
  • Windows System Security Tool - syskey
  • Windows Update Launches - wupdmgr
  • Windows Version (to show which version of windows) - winver
  • Windows XP Tour Wizard - tourstart
  • Wordpad - write
(Read more inside ..)

How to create own Run commands in windows

If you use some programs very frequently. One way to make them start faster is to give them their own Run command

Steps:

  1. Win+R to open the Run dialog or Start->Run
  2. Enter %windir% in the run dialog box to open the Windows directory
  3. Press Alt+F , then press W, then press S to open the File menu, choose the New menu item, then the Shortcut menu item
  4. Go through the wizard to create a shortcut to the desired program
  5. The name you give the shortcut is what you type in the Run dialog to start the program
(Read more inside ..)

Wednesday, November 4, 2009

Servlet Life Cycle



Servlets are container managed. The life and death of servlets is under the control of the Servlet Engine. Servlet engine is developed strictly according to the Servelt specification. Our servlet also is written aonforming the same specification and by following the Servlet API. Therefore the servlet container can manage the servlet life cycle. The servlet life cycle steps describe the process by which the servlet container loads, instantiates, unloads and invokes its life cycle methods.

Life Cycle:
  1. The servlet container loads the servlet class that we developed and deployed into it. This can happen either at the time of web application startup or on receiving the client request for the first time.
  2. The servlet engine creates the servlet instances.
  3. Servlet engine creates the ServletConfig object.
  4. Servlet engines create the init method by suppyling ServletConfig object as argument.
  5. Servlet engine creates ServletRequest object & ServletResponse objects.
  6. Servlet engine calls the public service method and supplies the above two objects as arguments.
  7. Within the public service method these two objects are converted into Http specific objects and public service method calls protected service method.
  8. Within the protected service method client request type is calibrated (GET or POST). Depending upon the type of request, protected service method calls either doGet() or doPost(). In one of these methods a servlet developers implements the clinet request processing clode that involves.
    i) Evaluating the HttpServletRequest object and capture the user input.
    ii) Producing dynamic data by communicating with the database.
    iii) Building dynamic web content and sending it to the client using HttpServletResponse object.
  9. If the container receives another client request, process starts from strp 5.
  10. When the container is instructed to keep the servlet out of service, the servlet engine calls the destroy method on the servlet instance just before the servlet instance is garbage collected.
(Read more inside ..)

Wednesday, October 28, 2009

How to install the Recovery Console in Windows XP



Recovery Console provides the means for administrators to perform a limited range of tasks using a command line interface. Its primary function is to enable administrators to recover from situations where Windows does not boot as far as presenting its GUI.

Steps:.
  • Insert the Windows XP CD into the CD-ROM drive
  • Click Start, and then click Run
  • In the Dialog box, type 'd:\i386\winnt32.exe /cmdcons' without quotes, where d is the drive letter for the CD-ROM drive. In the case of 'Microsoft Windows XP Professional x64 Edition, type d:\amd64\winnt32.exe /cmdcons where d is the drive letter for the CD-ROM drive
  • A Windows Setup Dialog Box appears. The Windows Setup Dialog Box describes the Recovery Console option. To confirm the installation, click Yes



  • Now if you have internet connection, select the first option 'Connect to the internet on my own'. Otherwise select the other option and click Next



  • Now follow the instruction for installation on the screen
  • Restart the computer. The next time that you start your computer, "Microsoft Windows Recovery Console" appears on the startup menu

Reference: Microsoft Article ID: 314058
(Read more inside ..)

Monday, October 12, 2009

How to make fake error dialog box



 
Open Notepad and type 'x = msgbox("Your computer is attacked",0+16 ,"TechnoZone") '
  • Replace the "Your computer is attacked" message with the message of your choice ,do the same with "TechnoZone".which is the box title.
  • Now for the button selection x = msgbox("Your computer is attacked",0+16 ,"TechnoZone"). '0' represents OK Button , '1'  represents OK and Cancel , '2' represents Abort Retry and Ignore, '3' represents Yes No and Cancel, '4' represents Yes and No and '5' represents Retry and Cancel 
  • For the logo x = msgbox("Your computer is attacked",0+16 ,"TechnoZone"). 16 represents Critical Message, 32 represents Warning Query 48 represents WarningMessage and 64 represents Information Message.
  • So if you want to make OK ,Cancel and Warning Query, your code will be 'x = msgbox("Your computer is attacked",1+32 ,"TechnoZone")'. 1 for OK  and Cancel Button and 32 fro Warning Query Logo. Understand the format, now proceed.
  • Just save the file as *.vbs (replace * with whatever you want).

Now, if you want to trick someone into thinking it is there Internet Explorer Icon. Generally the computer new babies will start panicking by seeing the error message.
  • Move the *.vbs file to any place that it will not be seen by the user
  • Right click on the file you have made and select "Creat Shortcut"
  • A shortcut will be created in the same folder, where the original file is kept
  • Then when you have the shortcut, Cut the shortcut and paste it in the desktop.
  • Now right click on the shortcut > Select Properties > Click on the "Shortcut" tab > Change Icon > Select IE Icon from the Change Icon Gallery> Click OK
  • Rename the shortcut to Internet Explorer, Right Click on the shortcut > Rename > Type Internet Explorer
  • Now when you click it, you will get the error message
(Read more inside ..)

Tuesday, October 6, 2009

How to shutdown computer automatically at a specific time



For last few days I was searching for a technique to shutdown my laptop automatically at a specific time. My broadband package allow me to download unlimited data only at night i.e from 2300 hrs to 0600 hrs. So, I want some sort of technique to shutdown my desktop before 0600 hrs otherwise I will be charged for downloading data by my ISP. And finally I got a trick. You might also be facing such type of problem. But don't worry friends a trick is here to solve your problem.

Trick 1:
  • Start > Run
  • Type 'shutdown -s -t 1800' without quotes
  • Click OK
  • A dialog will appear showing the countdown timer
Note: 1800 is the amount of time remaining before your computer shutdowns. 1800 is in seconds - 60sec * 30 min = 1800 sec. If you want to shutdown your desktop after 1 hour simply enter 3600 sec, as 60 sec * 60 min = 3600 sec.

How to cancel the shutdown timer ?
  • Start > Run
  • Type 'shutdown -a' without quotes
Trick 2:
  • Right click on desktop, Go to New > Shortcut
  • Type 'shutdown -s -t 1800' without quotes
  • Click Next
  • Type whatever you want to name the shortcut link.
  • Click Finish.
  • Now a shortcut is created in the desktop.
  • Just double click it and your shutdown timer will start.
  • You can customize the look of the shortcut. 
  • Right click on the shortcut icon, Go to Properties > Customize > Change Icon > Select any icon from the gallery > Click OK
Trick 3:

In this trick we will create a shutdown job by using the 'at' command, which is used to schedule task manually in windows.
  • Start > Run
  • Type 'at 13:26 shutdown -s' without quotes, it will shutdown your computer at 13:26 
  • If you type 'at 13:26 shutdown -s -t 60', it will shutdown your computer after 60 sec from 13:26 hrs
  • Click OK
How to view the list of jobs along with their attributes in your computer and how to abort the jobs ?
  • Start > Run
  • Type cmd
  • Type 'at' without quotes. It will display the list of jobs in your computer.along with their Status ID, Time of execution, Command to be executed etc.
Now, if you want to cancel the shutdown job that we had created.
  • Start > Run 
  • Type cmd
  • Type 'at 1 /delete' without quotes. Here '1' represents Status ID of the job. I have already mentioned in the above paragraph how to view the Status ID of the job.


References:
Microsoft Help & Support, Article ID: 313565
(Read more inside ..)