Wednesday, June 2, 2010

How to install Skype in Fedora 13 x64

  1. su
  2. curl http://ftp-stud.hs-esslingen.de/pub/fedora/linux/updates/13/i386/nss-softokn-freebl-3.12.4-19.fc13.i686.rpm -o nss-softokn-freebl-3.12.4-19.fc13.i686.rpm
  3. yum install nss-softokn-freebl-3.12.4-19.fc13.i686.rpm
  4. yum install alsa-lib.i686 dbus-libs.i686 e2fsprogs-libs.i686 expat.i686 fontconfig.i686 freetype.i686 glib2.i686 glibc.i686 keyutils-libs.i686 krb5-libs.i686 libcap.i686 libgcc.i686 libICE.i686 libpng.i686 libselinux.i686 libSM.i686 libstdc++.i686 libX11.i686 libXau.i686 libxcb.i686 libXcursor.i686 libXdmcp.i686 libXext.i686 libXfixes.i686 libXi.i686 libXinerama.i686 libXrandr.i686 libXrender.i686 libXScrnSaver.i686 libXv.i686 openssl.i686 qt.i686 qt-x11.i686 zlib.i68
  5. yum install libv4l.i686

  6. Now install Skype:
Create repo file:
gedit /etc/yum.repos.d/skype.repo

Put into skype.repo:
[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
gpgkey=http://gd.tuwien.ac.at/infosys/phone/skype/rpm-public-key.asc
gpgcheck=0

Install skype:
yum install skype
Start skype using the command (this is what made video work):
env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
Source

Tuesday, August 25, 2009

How to run VMWare vSphere Client version 4 on Windows 7

1. Edit the VpxClient.exe.config file located in C:\Program Files\Vmware\Infrastructure\Virtual Infrastructure Client\Launcher folder and make it look like the following:

2. Get .Net system.dll from a non Windows 7 machine and copy it inside %ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\lib folder.

3. Create a batch file and add the following lines:
SET DEVPATH=%ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\lib
"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"

Thursday, June 18, 2009

How to export Workstation VMs to ESXi 4.0

Use VMWare converter.
Source type: VMWare Workstation
Target Type: VMWare Infrastructure

How to enter nocheckCPUIDLimit on ESXi 4.0

  1. At the initial bootloader screen (when booting from the ISO), press TAB to edit the boot options
  2. add "nocheckCPUIDLimit" right after
    "vmkernel.gz", so that the first part of the boot options BEFORE the
    first "---" reads: "mboot.c32 vmkernel.gz nocheckCPUIDLimit ---"
  3. Press enter to finish
When ESX is booting from the HD, press Shift+o and type nocheckCPUIDlimit.

How to enable SSH in ESXi 4.0

http://www.vm-help.com/esx40i/ESXi_enable_SSH.php

Sunday, October 12, 2008

Delete and Reset Windows Vista Folder Views or Folder Types Settings to Default Clean State

  1. Click on Start button.
  2. Type regedit in the Start Search box, and press Enter to run Registry Editor.
  3. Click Continue on User Account Control dialog prompt.
  4. In Registry Editor, navigate to the following registry branch:

    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags

    Right click on Bags registry key in the left pane, and click Delete.

  5. Click Yes when prompt for confirmation to delete the registry key and all its subkeys.

  6. Next, navigate to the following registry key (it should be just below):

    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU

    Right click on BagMRU registry key in the left pane, and click Delete.

  7. Click Yes when prompt for confirmation to delete the registry key and all its subkeys.

  8. Close Registry Editor.
  9. Log off and log on again or restart computer so that the registry keys can be rebuilt and recreated.
  10. After logged on, open Windows Explorer, go to Folder Options (Organize -> Folder and Search Options) View tab, and make sure the Remember each folder’s view settings is checked.
  11. To ensure that any changes to Folder settings in Explorer window, close the Explorer window after changes to save the settings. Windows Vista will only remember the state of folders of the window is closed.
Source

Thursday, October 2, 2008

Fix for "ORA-00704: bootstrap process failure / ORA-39700: database must be opened with UPGRADE option"

1. Open a command prompt and browse to /rdbms/admin
1. Start sqlplus (sqlplus / as sysdba)
2. Run "startup upgrade"
3. Run @catproc.sql

FizzBuzz in different languages

Java: import java.util.TreeMap ; public class Main { public static void main (String[] args) { System. out .println( ...