Saturday, June 04, 2011

Quick Powershell Background Function

My blogging energy is way low these days, but I'm forcing myself to throw together a quick post - whipping myself like that crazy albino masochist monk assassin in the DaVinci Code.

First, here's a handy function to change the background color of a powershell terminal. Just throw it into profile.ps1, and you're all set to colorMe 'DarkGreen' or whatever. I found the code at http://technet.microsoft.com/en-us/library/ee156814.aspx.

function colorMe( $color ) {
    (Get-Host).UI.RawUI.BackgroundColor = $color
}

Next, I'm working on a project now that involves a little SVG, and I was surprised to discover that my NetBeans IDE didn't recognize the file type. It turns out that NetBeans' SVG support is in its Mobility extension, so I'm all set now after installing that.

1 comment:

Anonymous said...

This casino offers the full package, together with an enormous selection of slots, virtual table games together with video poker, casino.edu.kg live vendor tables, and an entire sportsbook. We all know that a casino is no fun with out broad variety|all kinds} of games and HappySlots.io is a world casino with an intensive and quick growing game portfolio. With us, you can to|you possibly can} play on every thing from your favourite slot machines and traditional casino titles to the latest live casino games where your skills are examined towards actual dealers and different gamers.