Oskar Gewalli's blog articles

0
comment
on 4/5/2010 6:51 AM
Ever since I heard of the NoRM driver for MongoDB I had to try my hands on it. You can find it here:NoRM , mongodb The first thing is setting up the server. I dropped the binaries into C:\MongoDb<br> Next thing I created two batch files. To start the db: start.bat C:\MongoDb\bin\mongod.exe –dbpath C:\MongoDb\data –port 27000 –logpath C:\MongoDb\log\mongodb.log –logappend The other to access the mongo shell: shell.bat C:\MongoDb\bin\mongo.exe –port 27000 Next thing is creating a simple asp.net MVC app th[...]
>> Read the full article
.
0
comment
on 1/2/2010 3:23 PM
I’m using an iphone, but the calculator is somewhat limited. I want something a bit more like the calculator that I used in school. Perhaps one approach is to use a simple page: <script type=”text/javascript”> var m = Math; var doeval = function(){ var cmd = document.getElementById(“commands”).value; document.getElementById(“history”).value+=”“+cmd+” : “+ eval(cmd) +”\n”; }; </script> <h2>Eval</h2> <p><label for=”history”>History:</label></p> <p><textarea id=”history”></textarea></p> <p><textarea value=”” [...]
>> Read the full article
.
0
comment
on 1/2/2010 3:23 PM
I’m using an iphone, but the calculator is somewhat limited. I want something a bit more like the calculator that I used in school. Perhaps one approach is to use a simple page: <script type=”text/javascript”> var m = Math; var doeval = function(){ var cmd = document.getElementById(“commands”).value; document.getElementById(“history”).value+=”“+cmd+” : “+ eval(cmd) +”\n”; }; </script> <h2>Eval</h2> <p><label for=”history”>History:</label></p> <p><textarea id=”history”></textarea></p> <p><textarea value=”” [...]
>> Read the full article
.
0
comment
on 12/8/2009 11:22 AM
Had some problems starting the debugger with IE8 installed. The solution is presented in a forum:Disable addons by choosing browse with:“C:\Program Files\Internet Explorer\iexplore.exe” -extoff
>> Read the full article
.
0
comment
on 9/3/2009 11:46 PM
Why Assert.Fail? Some might find it negative. Perhaps it is. The way I use it is more like a clean slate:public void FooTest(){ Assert.Fail();}It’s the starting point of many tests. Same as methods:public void Foo(){ throw new NotImplementedException();}It’s a clean canvas for your implementation.
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper

Logging in...