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