Wednesday, October 19, 2011

Solution: Deleting Sent Emails from Recepient's Mailbox

Open sent Items in MS Outlook

Open email that needs recalling

Click on

Other Actions --> Recall this message

  • Select "Delete Unread copies of this message"  
  • Tick "Tell me if recall succeeds or fails for each receipient"
  • Press OK
After this, keep monitoring your mail box and you will see all the ones that have been recalled and also the ones that cannot be recalled.

Solution: Windows Updates not working

To register the Wups2.dll file in Windows, follow these steps:

Step 1: Stop the Automatic Updates service. To do this, follow these steps:

a. Open the Command Prompt window. To do this, click Start, click Run, type cmd, and then click OK.
b. At the command prompt, type the following command, and then press ENTER:
net stop wuauserv

Step 2: Register the Wups2.dll file. To do this, follow these steps:

a) At the command prompt, type the following command, and then press ENTER:
regsvr32 %windir%\system32\wups2.dll

Note For a computer that is running Windows XP Professional x64 Edition, type the following command, and then press ENTER:
regsvr32 %windir%\syswow64\wups2.dll

b) Click OK if you receive a verification message.


Step 3: Start the Automatic Updates service. To do this, type the following command at the command prompt, and then press ENTER:
net start wuauserv


Step 4: Exit the Command Prompt window. To do this, type exit at the command prompt, and then press ENTER.

You should now be able to run Windows Updates on your PC.

Solution: Open and convert .WPS files

Step 1: Download Microsoft Works 6–9 File Converter.
Step 2: Install it
Step 3: Open the .wps file or document
Step 4: Save as latest format document to avoid future compatibility issues

Solution: Crack Excel Spreadsheet Password Protection

Open the workbook that has the protected sheet in it. Hit Alt+F11 to view the Visual Basic Editor. Hit Insert-Module and paste this code into the right-hand code window:

Sub PasswordBreaker()
'Author unknown but submitted by brettdj of www.experts-exchange.com

Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim i1 As Integer, i2 As Integer, i3 As Integer
Dim i4 As Integer, i5 As Integer, i6 As Integer

On Error Resume Next
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126


ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
If ActiveSheet.ProtectContents = False Then
MsgBox "One usable password is " & Chr(i) & Chr(j) & _
Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
ActiveWorkbook.Sheets(1).Select
Range("a1").FormulaR1C1 = Chr(i) & Chr(j) & _
Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
Exit Sub
End If
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next


End Sub


Close the VB Editor window. Navigate to the worksheet you want to unprotect. Hit Tools-Macro-Macros and double-click PasswordBreaker in the list.

Note: If you have multiple worksheets in the Excel Workbook, and they all are password protected, you will have to run this macro on each one of them by selecting them individually.

Solution: Updating Global Address List Forced on MS Exchange 2008

Logon to MS Exchange Management Console. Fire following commands one by one

  • Get-GlobalAddressList | Update-GlobalAddressList
  • Get-AddressList | Update-AddressList

Tuesday, October 18, 2011

Pre-Caching on Google Maps for Android

Google slipped an amazing feature from the release (5.8.0) of Google Maps on Android.

In the “Labs” area, you can now select to pre-cache tile of map. Boom!

 

Instructions:

Under Labs, turn on pre-caching

Get a locations information and select more. Under more at the very bottom of the list is Pre-cache!

You’re done! Enjoy your pre-cached maps while you’re off the grid.

 

Solution : Ubuntu 11.10 + minimize, maximize and close button to right

following command should do the job.

gconftool-2 --set /apps/metacity/general/button_layout  --type string "menu:minimize,maximize,close"

logout and login that's it.

- Mihir Patel

Thursday, October 13, 2011

SSH Login Without Password


Follow this step from the machine that you want to get access to remote machine

Step 1: Create public and private keys using ssh-key-gen on local-host

patelm@local-host$ [Note: You are on local-host here]
patelm@local-host$ ssh-keygenGenerating public/private rsa key pair.
Enter file in which to save the key (/home/jsmith/.ssh/id_rsa):[Enter key]
Enter passphrase (empty for no passphrase): [Press enter key]
Enter same passphrase again: [Pess enter key]
Your identification has been saved in /home/patelm/.ssh/id_rsa.Your public key has been saved in /home/patelm/.ssh/id_rsa.pub.
The key fingerprint is:f3:58:0d:f8:65:d6:8f:95:8B:11:89:1a:e5:d6:b0:64 patelm@local-host
The key's randomart image is:
+--[ RSA 2048]----+
|          .E.oo  |
|         oo.=o+ .|
|        . +++o.o.|
|         o.*   + |
|        S o . . .|
|         =       |
|        . .      |
|                 |
|                 |
+-----------------+

Step 2: Copy the public key to remote-host using ssh-copy-id

patelm@local-host$ ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
patelm@remote-host's password:
Now try logging into the machine, with "ssh 'remote-host'", and check in:

.ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.
Note: ssh-copy-id appends the keys to the remote-host’s .ssh/authorized_key.

Step 3: Login to remote-host without entering the password

patelm@local-host$ ssh remote-host
Last login: Sun Nov 16 17:22:33 2008 from 192.168.1.2
[Note: SSH did not ask for password.]

patelm@remote-host$ [Note: You are on remote-host here]

Monday, October 10, 2011

wrong fs type, bad option, bad superblock - nfs

mount: wrong fs type, bad option, bad superblock on 10.1.1.1:/home/nfs,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so

All of this was because crunchbang does not come with nfs-common installed, so if run into this problem, run:

sudo aptitude install nfs-common

If you are working with Arch Linux, type this:

sudo pacman -S nfs-utils

And the problem will go.

 

ref : http://www.go2linux.org/wrong-fs-type-bad-option-bad-superblock

Wednesday, October 5, 2011

Fixed : Annoying “Symbol ‘value’ could not be resolved” error + Eclipse Indigo

disable the “Symbol is not resolved” from the “Code Analysis” property of the project.

This is not fixed .. fixed, but indeed it will stop annoying error message avalance.


Tuesday, October 4, 2011

Installing Microsoft Truetype fonts on Ubuntu

You can install the MS core fonts by installing the msttcorefontspackage. To do this, enable the “Universe” component of the repositories. This is done by default in Feisty. After you do that, use the following command from the command line:

$sudo apt-get install msttcorefonts

This will give you the core fonts, but if there are other TrueType fonts that you want installed, it is as easy as copying the font files to the~/.fonts/ directory.

After installing new fonts, you will have to log out and log in again to be able to see and use the new fonts. If you want to avoid this, you can regenerate the fonts cache by issuing the following command:
$sudo fc-cache -fv

Solution : relocation 0 has invalid symbol index 11

if you are getting thie message or something like given bellow

basically it's telling your application does not have a main function.

 

 

 

I am not sure why this much of crap while it can just say missing main !

========================================

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 2

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 2

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 12

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 13

/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 20 has invalid symbol index 21