Wednesday, December 12, 2012

AutoFixture for TypeScript

Automate test fixture When doing TDD.

In .NET we have AutoFixture written by Mark Seemann.
It really helps me saving time and making my tests cleaner and faster.

For the last few month I have playing around with TypeScript, it's not perfect but really has potential.

I needed a new home project based on TypeScript, but needed and idea to what I would create.

So I have made a project on GitHub called AutoFixtureTS - http://ronniehegelund.github.com/AutoFixtureTS/

Im using Jasmine as Testing framework and has 73 tests and 73 passed :-)

Check it out, any feedback would be great!

Tuesday, September 7, 2010

uComponents is in the top 10 Best rated packages

uComponents is in the top 10 Best rated packages, and is still in beta wooot!....

uComponents is a collaborative project for creating components for Umbraco including data types, XSLT extensions, controls and more.

Currently uComponents consists of 17 data types, 3 very useful XSLT extension libraries, and some great utilities to make consistent data types.

I made a bunch of fixing and featureing to the uComponents last night so its really taking shape, only 6 issues left atm. :-)

So I think that we will make a final release very soon.

Though the code is top quality tested, we still need to do a lot of documentation

you can download uComponents here

Beta http://our.umbraco.org/projects/backoffice-extensions/ucomponents
Code http://ucomponents.codeplex.com/

Monday, April 6, 2009

Umbraco - moving servers

Umbraco is moving servers tonight, so the website is down atm, so I got this friendly message!..




If you re looking @23:10 Niels is still smiling, even though he made a little mistake late at night.

That's what I call "umbraco spirit"

Keep up the good work Niels, and thank for a great CMS!..

Friday, April 3, 2009

Test .NET solutions and SVN with powershell

Developer consultants are often working with several projects during each day, and between colleagues, and there is nothing wrong with that, as long that you have your projects in version control.

@ Ebita (where I work) we are using Subversion and Visual SVN for VS200x IDE and its working great.

Every time I have worked on a project I commit my changes, but to ensure that the projects still compiles in a fresh clean checkout, I check all the code out in a different folder and compiles the project.

This is a manual process "Click checkout,open solution in VS,Click Rebuild button,check for compilation errors"

I don't like manual processes, if it can be automated, why isnt it so?
I installed powershell on my new laptop a few days ago, and thought let me see how easy it can be done with that.

Here is the code

$svnProjectName = "test_svn_project"
$svnUserName = "foo"
$svnPassword = "bar"
$visualStudioSolutionName = "test.sln"
$CheckoutPath = "C:\test\testFolder"

"//////////////////////"

"Get project from svn"
"//////////////////////"
[diagnostics.process]::start("svn.exe","checkout svn://svn/$svnProjectName $CheckoutPath --username $svnUserName --password $svnPassword").WaitForExit()

"//////////////////////"
"Rebuild .NET..."
"//////////////////////"

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe "$CheckoutPath\$visualStudioSolutionName" /t:Rebuild /p:Configuration=Release

"//////////////////////"
"Finsished test deleting project"
"//////////////////////"

rm $CheckoutPath -recurse -force

"//////////////////////"
" DONE "
"//////////////////////"


Happy shelling :-)

Wednesday, April 1, 2009

LéLé - Hot food, Cool website!

Me and my wife went out for dinner a few days ago on a vietnamese restaurent called LéLé placed i copenhagen.

The food was hot healthy and none fatty with alot of taste.

The atmosphere was Asian/New Yorker style, really cool!

LéLé has 2 cool websites:

Umbraco website: http://lele-nhahang.com/
TakeAway http://www.allezallez.dk/


The websites is made by Ebita


Try it next time you visit copenhagen, you wont be dissapointed.

Show map



Thursday, March 26, 2009

CNUG - Ny hjemmside

Jeg var lige inde og tjekke CNUG "Copenhagen .NET User Group" for at se om der kommer nogle arrangementer som kunne være interessante for mig.
Så i den forbindelse at de havde fået fået skiftet det gamle design ud med et nyt og pænere et. derudover kører det også på umbraco (ved ikke om det også gjorde det før) - tjek det ud her http://cnug.dk/

Du kan også tilføje dig gruppen på linkedin hvis du har sådan en http://www.linkedin.com/groups?gid=1837948#h207-619

Næste interessante arrangement var vist noget med en geekdinner og nogle bajere, måske man skulle se hvad det er for noget....

Sunday, March 22, 2009

Enlarge your VPC

I have now used Microsoft VPC for some time now, and went into disk space problems.


I didn't realy know howto fix this problem, but after som googling i found a way to fix it in 2 steps.

1.wmtoolkit - vhd resizer to enlarge my vhd image.
2. Downloaded and run partition manager home http://vistaguide.dk/?EaseusPartitionMaster3.0HomeEdition/Diverse/Programmer/784#