»
S
I
D
E
B
A
R
«
Testing Microphone in Windows 7
Jul 29th, 2010 by admin

To test microphone in Windows 7 is easy. Read the rest of this entry »

Changing Windows 7 Boot Screen
Jul 28th, 2010 by admin

Windows allows OEMs to change the login wallpaper and it is easily done with a registry hack and placement of the correct files.

Step 1 Create registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background] “OEMBackground”=dword:00000001

Step 2 Place image files:
in C:\Windows\System32\oobe\Info\Backgrounds that are the correct size:
* backgroundDefault.jpg
* background768×1280.jpg
* background900×1440.jpg
* background960×1280.jpg
* background1024×1280.jpg
* background1280×1024.jpg
* background1024×768.jpg
* background1280×960.jpg
* background1600×1200.jpg
* background1440×900.jpg
* background1920×1200.jpg
* background1280×768.jpg
* background1360×768.jpg

Here is a more detailed explanation.

Forgot Windows 7 Password
Jul 26th, 2010 by admin

If you forgot Windows 7 password, don’t worry, here are three ways you can use to reset the password:

1. If you have an Ubuntu live CD you can reset it using chntpw application
2. You can use Bart’s PE + Password Renew to reset the password
3. You can use Offline NT Password Editor to reset the password.

Here is the detailed instruction: http://www.makeuseof.com/tag/3-ways-to-reset-the-forgotten-windows-administrator-password/

jQuery Slide Left
Jul 11th, 2010 by admin

Here is how you can use jQuery to animate a div to slide left.

<style>
#outerDiv {width:20px; height:20px; position:relative;}
#innerDiv {width:20px; height:20px; position:absolute; top:0; left:0;}
</style>
<div id="outerDiv">
    <div id="innerDiv">
        some text here
    </div>
</div>
<script>
$(document).ready(function() {
 var $marginLefty = $('#innerDiv');
 $marginLefty.css('marginLeft',$marginLefty.outerWidth());
 $marginLefty.animate({
   marginLeft: parseInt($marginLefty.css('marginLeft'),10) == 0 ?
  $marginLefty.outerWidth() :
  0
 });
});
</script>
CSS Chrome Only
Jul 4th, 2010 by admin

Chrome is based on webkit, to so target your CSS for Chrome only, you can use webkit hack. Here is an example:

@media screen and (-webkit-min-device-pixel-ratio:0) {
.item { background-color: #FF0000; }
#item-group {color: #0000FF;}
p, a, li {text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
}
JW Player Set Buffer
Jun 23rd, 2010 by admin

To set JW Player buffer length is easy. It can be configured through Flash variable in JW Player using the bufferlength property.

Variable number is the number of seconds of the file that has to be loaded before starting. Set this to a low value to enable instant-start and to a high value to get less mid-stream buffering. By default, the value is 1.

JW Player Multiple plugins
Jun 23rd, 2010 by admin

You can add more than one plugin to a JW player, to install multiple plugins, use comma to separate the plugin names, for instance:

so.addParam(‘flashvars’,'plugins=accessibility,yourlytics-1′)

In the example above, both accessibility and yourlytics-1 plugin will be loaded to the JW Player.

Firefox turn off disable theme
Jun 21st, 2010 by admin

Sometimes, Firefox themes can be very bad visuals and make the user interface hard to use.

Here are the steps to turn off, disable and uninstall a Firefox theme:

1. At the top of the Firefox windowOn the menu bar, click on the Tools menu and select Add-ons. The Add-ons window will appear.
2. In the Add-ons window, select the Extensions panel or Themes panel.
3. Select the add-on you wish to uninstall.
4. Click the Uninstall button. When prompted, click Uninstall to confirm.
5. If prompted, click Restart Firefox to finish uninstalling the add-on.

Security.loadPolicyFile Error opening URL
Jun 17th, 2010 by admin

If you have http://www.example1.com/a.swf and the following lines in

Security.allowDomain("*");
Security.loadPolicyFile("http://example2.com/subfolder/crossdomain.xml");

When you try to compile, you will receive the following error:

Error opening URL 'http://example2.com/crossdomain.xml'

This happens due to the fact that there is a security change in Flash player 10. crossdomain.xml can no longer work in sub folder without a crossdomain.xml in root directory.

A root directory must have a crossdomain.xml with the following meta policy for crossdomain.xml in sub folder’s to work.

<cross-domain-policy>
   <site-control permitted-cross-domain-policies="by-content-type"/>
</cross-domain-policy>

Below are references from official Adobe site:

Understanding the security changes in Flash Player 10 – Policy file strictness: Phase 2
Policy file changes in Flash Player 9 and Flash Player 10 – Meta-policies

AS3 Color Brightness
Jun 13th, 2010 by admin

To adjust bitmap movieclip color brightness using AS3 (ActionScript 3) in Flash is easy. A class named ColorMatrix provides a way to adjust Brightness based on a range of numeric values as well as multiply matrices.

You can download the source as well as the example here:

http://www.gskinner.com/blog/archives/2007/12/colormatrix_upd.html