Wednesday, August 1, 2012

Enable Column Select in Eclipse

To view/change the setting 


1. go to window -> preferences 
2. type: 'keys' 
3. when the key preference page opens you can type 'toggle block selection'


for me this setting is shift + alt +a 

Tuesday, July 31, 2012

Solution : Lenovo C30 Workstation + Centos

Use Centos 6.2 disk for installation

When installation countdown starts hit tab

use the Boot (Basic Video) mode to install the OS

 

- Mihir Patel

 

Note:- This is required as the base video that comes with the Centos 6.2 Disk crashes at the start of install and you would  see a blank screen , if you use normal install mode.

Saturday, July 28, 2012

How do you delete extra home screen pages on samsung galaxy s2

Just wipe with 2 fingers towards eachother. Then the homescreen-overview will appear. Now you can slide the homescreen you want to delete to the trashbin at the bottom of the screen.

How do you delete extra home screen pages on samsung galaxy s3

Just wipe with 2 fingers t How do you delete extra home screen pages on samsung galaxy s owards eachother. Then the homescreen-overview will appear. Now you can slide the homescreen you want to delete to the trashbin at the bottom of the screen.

Thursday, July 19, 2012

socat printing hex data


user -x option to print x values.




socat -xd udp-recv:2000 stdout

example output :

> 2012/07/19 11:17:42.705658  length=9 from=0 to=8
 10 02 45 04 78 1c 54 10 03
ExT> 2012/07/19 11:17:43.755924  length=9 from=9 to=17

Tuesday, July 3, 2012

How to disable the SMS security for GMAIL


Turning off 2-step verification

back forward

Did your email client or applications stop working when you turned on 2-step verification? Don't fret -- you can get applications and devices that need access to your Google Account working again in minutes using application-specific passwords.

Turning off 2-step verification

  1. Visit the Using 2-step verification page under your Google Account settings. Sign in with your username, password, and verification code if prompted.
  2. Click Turn off 2-step verification.
  3. A pop-up window will appear to confirm that you want to turn off 2-step verification. Click OK.

Ref: Google Support

Wednesday, June 13, 2012

Fixed: An error occurred while gathering user information (Thinkvantage System Update)


Make sure you are logged in as an Administrator or a user with administrative rights to apply the following fix.
Step 1
 Remove all previous log files from C:\program files\lenovo\system update\logs

Step 2 
Click Start -> Run -> Secpol.msc
Click Security Options.
Find System cryptography: Use FIPS compliant algorithms for encryption, hashing and signing
Disable this setting

Step 3
Navigate to:
C:\Program Files\Lenovo\System Update\session\system\SSClientCommon
For 64 bit OS
C:\Program Files (x86)\Lenovo\System Update\session\system\SSClientCommon
Open file MappingInterface.xml using Notepad
Add the following lines:
WIN7-PRO.SP1
Windows 7 Professional
Service Pack 1
7.SP1
Windows 7
If you're using other version than Professional, just change WIN7-PRO.SP1 to WIN7-UTL.SP1 etc and 4th line to WINDOWS 7 Ultimate.
You should be able to run the System Update now.
This fix can work for any other Windows Operating systems as long as correct name and version is put into the above code.
For Windows Server 2008, try the following code, I've put together. Bare in mind that it is not tested so please take a back up of the original XML file stated above before making changes on the server.
 WINSERVER2008-Standard.SP1
 Windows Server 2008 Standard
 Service Pack 1
 2008.SP1
 Windows Server 2008

Fixed : Windows User account repeatedly locked for no reason ?


Situation 1 : Forgotten PC with an open session and Outlook running

If you leave Outlook running on a PC you forgot somewhere hidden in your office, it will go on using the same credential for ever. Even after the policy forced you to change your password, it will go on using the old credentials and ultimately lock out your account…

Situation 2 : “remember password” box checked while accessing a network share

If you check the “remember password” box when you access a network share, it will use the same password for ever. Even after the policy forced you to change your password. And then, when you’ll want to access that share again, it will use the old credentials and lock out your account.

Solution :
using command prompt fire following command

rundll32.exe keymgr.dll, KRShowKeyMgr

and remove all cached passwords one by one. Now you just need to restart.

Wednesday, May 2, 2012

Fixed wamp : Could not execute menu item (internal error)...

In my case this was due to skype using alternative port 80.

Temp Solution : Shut-down skype


Permanent solution :
Setup skype using different port as follows File -> Options -> Connection -> Uncheck "Use port 80 as an alternative for..."


Other problems :
most likely apache is not running, so make sure you dont' have anything in this list: IIS, Skype, Zone Alarm, NOD32, Eset, Internet Optimizer, Google Accelerator, any other database server, any other webserver?

Saturday, April 14, 2012

Mac G5 led 1 2 3 4

Locate the large white arrow in the middle of the computer.
Above this arrow, you'll see four LEDs:

LED 1 indicates that trickle voltage from the power supply has been detected. This LED will be ON when the computer is turned off and your power supply is working correctly.
LED 2 indicates that the main logic board has detected proper power from the power supply when the computer is turned on. This LED will be ON when the computer is turned on and the power supply is working correctly.
LED 3 indicates that the computer and the LCD display are communicating. This LED will be ON when the computer is turned on and video signal is being generated.
LED 4 lights only if the computer detects an over-temperature condition. This LED will be OFF when the computer is turned on and running at the correct temperature.