Friday, June 25, 2010

Powershell Functions

CLIP

Very cool. It copies piped input to the clipboard.

Tuesday, June 1, 2010

Computer languages

I tend to use the following on a monthly basis:
C#
VB
Powershell
F#
Javascript - JQuery
AutoHotKey
Android (Java)
Regular Expressions

Some of them I use daily (VB, C#).
Weekly (Powershell, Javascript - JQuery, F#)
Monthly (Android, Regular Expressions).

I find it interesting, just looking over the list and noting the vast differences in their purposes and their syntax,
even in the tools used to write them. That is by no means an exhaustive list of the computer languages which I know and have worked with, but it is the list of the languages that I am still learning and growing more proficient in.

More powershell

Here's what I wrote today:


1. Get-Item count.txt | Get-Content | Measure-Object -Line | Select-Object -ExpandProperty Lines
2. Get-Item count.txt | Get-Content | Select-String -Pattern "ThatObject\.Load\(\)" | Measure-Object -Line

In one, note the -ExpandProperty option. This returns an integer rather than a powershell object containing an integer.

In two, note the use of a regular expression.

Regular expressions are cool in general, but my regular expression skills and my powershell skills suffer from the same problem, and that is that I tend to use them rarely. But they're very useful when I do use them. When I get to combine the two, that's just a bonus.

Tuesday, May 11, 2010

Building with VS2010

The big change is the workflow integration in the build. Which is cool.

I'm very glad to see that they've minimized the use of MSBuild. MSBuild is retarded, I'm glad I don't have to touch it anymore.

If I have to do anything complex I launch a custom powershell script to do it.

Software that I use:

Slysoft Virtual Clone Drive
Office 2010
  OneNote
VS 2010
  Power Commands
  GIT SCC
Firefox
  Firebug
  Rikaichan
  Delicious
  StumbleUpon
  FireFtp
Chrome
Adobe Acrobat
Sql Server 2008 R2
PowerGui
AutoHotKey
Notepad++
Reflector
JQuery
TrueCrypt

I should put this in a static web-page, so I can provide linked commentary on each tool.

Monday, May 3, 2010

Week 9: MonoDevelop Hello World

I fired up Monodevelop for the first time, to see how hard it was to develop on Linux. I'm running Ubunto 9.10 and had it installed from ubuntu's cool software installation untilities. It wasn't hard. And the silly console program that I wrote ran just fine on Windows. Nifty.

Friday, April 9, 2010

ogresoft.com

I moved my japanese quiz programs out onto the internet, away from my local computer. I also put them into an MVC 2.0 project. It seems to have worked out well. ogresoft