Hide Folder in windows

First Create a folder without any name and with icon that is totally invisible

Just type these codes while renaming the folder name and  press enter once you are done

alt+0160
OR
alt+255


Now time to hide the folder, to hide a folder first select the folder then right click and go to properties,

in properties select the change icon option …
now you can see a lot of folder icon.

(C:Windowssystem32imageres.dll)..

you look for a blank icon select any of the 3 blank icon. click ok then apply u will c invisible folder…
(now with no name and no icon too..)

141 total views, no views today

Folder Option Not working in windows

Sometimes folder options in your PC may get disabled by some virus and after removing the virus,
you can not use folder options.
Here i am sharing some tricks to activate folder options again
Before doing this first remove that virus from ur computer using some good AV

Method:1

Type “regedit” in run command and hit enter
Find any of the following keys:
User Key: HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurre ntVersionPolicies Explorer

System Key: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurr entVersionPolicies Explorer

Value Name: NoFolderOptions
Data Type: REG_DWORD (DWORD Value)
Value Data: 0 = show options, 1 = hide options

Method:2

>do: start
> Run
> Type gpedit.msc
> hit enter
> User Configuration
> Administrative Templates
> Windows Components
> Windows Explorer
> Select Removes the Folder Options menu item from the Tools menu.
> Right click:
> Properties
> Disable
> Apply
“Shell”=”Explorer.exe “

135 total views, no views today

UNLOCK PASSWORD PROTECTED MEMORY CARD

Well its quite simple but most of the people do not know it.

Please note the fact that it only works if the password to the MMC Card was set in ur own mobile,where u want it to be unlocked.

This method works well for nokia cells with symbian operating system.Never tried on other cells.use any software like FXplorer that can browse files in ur cell.

1. Open one of above software you have.
2. Browse through the directory, C:system
3. Rename the file mmcstore to mmcstore.txt
4. Open the file – The file will open in Notes.
5. You will find your password in that file. That file would also contain much more data which you do not understand,so you need to go through the file to get the password!

When ur cell is connected to pc by means of data cable or bluetooth,u can see the password by simply opening the file mmcstore with notepad.

126 total views, no views today

Java.net.BindException: Address already in use: JVM_Bind:8080 Solution


This exception is self explanatory, its saying that a Java application is trying to connect on port 8080 but that port is already used by some other process and JVM Bind to that particular port, here its 8080, is failed. Now to fix this error you need to find out which process is listening of port 8080, we will how to find a process which is listening on a particular port in windows and then how to kill that process to make our port free to use.


Common Scenario when you see “Address already in use: JVM_Bind”
1. While doing Java remote debugging in Eclipse and when Eclipse tries to connect your remote java application on a particular port and that port is not free.
2. Starting tomcat when earlier instance of tomcat is already running and bonded to 8080 port. It will fail with SEVERE: Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind:8080



Find and listening port


1. Go to run
2. Type cmd
3. Write this command ———– 


netstat -ano | find “8080”

you will get a list of process listening to that port




4. Kill all the task 


write this command 


taskkill /F /PID 7820



7820 — This is the Id which you can see in the last column



148 total views, no views today

Call ajax after completion of another ajax ,Wait for ajax to return.

Lets suppose you are trying to set loggedIn username to the header of your web page and you have 2 ajax which get fired

1st Ajax : Which is decorating the header

2nd Ajax : Which gets the username

So if 2nd AJAX become first in the race then username is not visible to you as 1st ajax is responsible for decorating the header and if there is no header there is no place where you can set header.

so to be very sure that our username is visible on the screen, we should wait for the header(1st ajax)to complete


document ready function:

$(document).ready(function () {

//calling this method to get the fetch logged in user

fetchloggeInUser();

});




1st Ajax request : run in parallel with 2nd ajax 

this is building our header part
(function ($) {
$.pageDecorate = {
//declare a global variable so that it can be used.
decorateDeferred : null,
//set response of the ajax in a variable
var decoratorDeferred = $.ajax({
url : 'setHeader',
type : 'get',
data : decorateHeaderData,
dataType : 'json',
success : function (data) {
//response of testAjax sets in decorateDeferred
decorateDeferred = $.pageDecorate.testAjax();
}
});


Global declaration :

  //set value of global variable decorateDeferred so
  // that it can be use as a reference

$.pageDecorate.decorateDeferred = decorateDeferred;


},


Method to call :
 testAjax : function () {

  var navHtml = '<ul>';
navHtml += '<div class="divHeader" title="login">';
navHtml += '<div class="role">';
navHtml += '</div>';
navHtml += '</div>';
navHtml += '</ul>';
//append this to header of your page
$('.header').append(navHtml);
}
});


2nd Ajax:

fetchloggeInUser : function () {

$.ajax({

url : "loggedInUser",

type : "POST",

success : function (data) {

//although this success block call when ajax get
   //fired but this code runs when it get response
//after the success response of $.pageDecorate.decorateDeferred
   this below success get called

$.pageDecorate.decorateDeferred.success(function () {

$('.divHeader').find('.role').text(userName);

});

}

});

}



That ‘s it you are done.

123 total views, no views today