Tuesday, June 5, 2012

How to run Skype in Windows 8 Release Preview

UPDATE: Skype has released a hot fix for these issues so instead of following these steps please re-install/update the latest version of Skype.

Fix login issue:
  • Stop Skype (it doesn't stop all the way in Win8 RP so kill it using Task Manager/Process Explorer)
  • Go to C:\Users\YourUserName\AppData\Roaming\Skype
  • Delete the following folders and files
    •  shared_dynco
    • shared_httpfe
    • shared.lck
    • shared.xml
Fix high CPU usage:
  • Run Process Explorer
  • Find Skype from the running processes
  • Double click the Skype.exe process
  • Go to Threads tab (click ok on the warring, it only shows up once)
  • Sort the running threads by CPU usage and kill the one that is consuming highest CPU resource
  • Skype will be still running but it will consume less CPU resource than before

Wednesday, January 11, 2012

How to disable password complexity rule in Active Directory (Windows 2008 R2)

  1. Go to Start > run > gpmc.msc
  2. Go to "Forest">"Domains" then expand the default domain
  3. Right-click and edit the "Default Domain Policy". This will open a new window with title "Group Policy Management Editor"
  4. On the "Group Policy Management Editor"
    go to "Computer Configuration">"Polices">"Windows Settings">"Security Settings">"Account Policies">"Password Policy"
  5. Now modify the password complexity requirements setting. 
  6. You have to then run "gpupdate" to propagate the changes.

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"

FizzBuzz in different languages

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