Visual Studio 2008 Color Settings

I like to code in the dark. Literally. Dark outside, dark inside, dark on the screen. I find the dark screen to be “easier on the eyes”, even when it is light outside.

In Visual Studio (or vwd) you can use these .vssettings files to import settings. Some great guy on the internet has made several settings files to turn your code windows dark. I love it.

Here is the link to one such blog that has these files avail for download.

http://www.agileprogrammer.com/dotnetguy/archive/2006/09/07/19030.aspx

To apply these settings download the file from the blog above. The zip file contains 3 color schemes that you can use. Unzip them. Go into visual studio and click Tools >> Import and Export Settings. The wizard is kinda confusing but read the screens and you should be importing those settings in no time.

If you don’t like any of those color schemes from the agile programmer blog, there are some more out there on the internet.

For example http://winterdom.com/2007/10/ragnarokavs2005colorscheme

I like the Ragnarok Grey color scheme from that site the best.

Posted in Uncategorized | Tagged | Leave a comment

Sourcecode Posting in WordPress

So i found a plugin for posting code up here. I like it alot.

The Plugin:

http://wordpress.org/extend/plugins/syntaxhighlighter/

Its called syntax highlighter and its really neat. Basically when you post you can wrap your code with tags representing what ever langugage your code is in. These tags are refered to as brushes.

For a list of “brushes” go here:

http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes

Really neat plugin so far.

Posted in Uncategorized | Tagged , , | Leave a comment

Code Snippet of the Week? Day? Year?

Ok so i’m going to post some code snippets up here, more for my own reference than anything else. But here is one i use quite often lately for YUI.

<div id="yes-no" class="yui-g">
<div class="yui-u first">
<asp:LinkButton ID="lbYes" runat="server" OnClick="lbYes_Click">Yes</asp:LinkButton>
</div>
<div class="yui-u">
<asp:LinkButton ID="lbNo" runat="server" OnClick="lbNo_Click">No</asp:LinkButton>
</div>
</div>

This is they way that you get two divs to take up %50 each of the parent div. I love YUI.
Now to find out if there is a decent way to post code in here…

Posted in Uncategorized | Tagged , , , | Leave a comment