Aug 26, 2009

Monitor Contains a Black Border

I purchased a new monitor today and when I plugged it in and turned on my computer the video contained an ugly black border. Turns out the problem is because my video card has an HDTV setting that needed to be turned off under the video card software control panel. I was able to fix the problem by enabling SLI on my dual video cards.

SVN Cheat Sheet

Add add a file/directory:
svn add file1

Update:
svn up

Commit:
svn commit -m "Message goes here"

Revert a file to a specific revision:
svn up
-r12345 file1 file2 file3

http://www.yolinux.com/TUTORIALS/Subversion.html

Aug 13, 2009

Vista Save Window size and location

I have found it very annoying that when you close and reopen windows explorer (along with other windows) in Vista it does not save the size and location of the window. If you hold the shift button down when you close the window it will save the size and location of the window for the next time you open it.

Jul 21, 2009

patch error: Assertion failed, hunk, file patch.c

When running patch.exe on windows error: Assertion failed, hunk, file patch.c

Add the --binary option when running patch.exe.

Jul 17, 2009

Flex Underline Links in a TextArea Component

import flash.text.StyleSheet;

private function init():void {
var ss:StyleSheet = new StyleSheet;

// Define an object for the "hover" state of the "a" tag.
var hoverStyles:Object = new Object;
hoverStyles.textDecoration = "underline";
hoverStyles.color = "#FF00CC";

// Define an object for the non-hover state of the "a" tag.
var linkStyles:Object = new Object;
linkStyles.color = "#FF00CC";

// Apply the newly defined styles.
ss.setStyle("a:hover", hoverStyles);
ss.setStyle("a", linkStyles);

// Apply the StyleSheet to the TextArea control.
myTA.styleSheet = ss;
}

Jul 12, 2009

Turn off Script Debugging in Internet Explorer

Description:
The following message pops up in Internet Explorer:
A Runtime Error has Occurred. Do you wish to Debug?

Solution:
Click on the "Tools" Menu in Internet Explorer
Select "Internet Options"
Under the "Browsing" section
Check the "Disable Script Debugging" Checkbox