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.

FizzBuzz in different languages

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