Feb 5 2010

How To Fix Broken Authentication To Gitosis

Category: TipsAlexRobson @ 10:52
I recently had to replace a hard drive in my laptop. While this was a great opportunity to clean things up and have a fresh machine, it turn into a huge, huge time-sink :( We’ve started using git internally and for our “primary” git repository we’re using gitosis. Normally gitosis makes things “just work” so well that the fact that the server is debian and not even on the domain is completely transparent to the developers. As you may know, git uses ssh to handle communication. In order to do th... [More]

Tags: , ,

Aug 25 2008

Translate List<A> to List<B> With LINQ

Category: .Net Framework | TipsAlexRobson @ 17:23
Let me just skip to the fun bit that the title promised before going off on some rant-flavored-jelly-filled-technical-jargon-journey that you really didn't pay for. If you have a generic List of type A and you want a generic List of type B, AND you know A can be cast as B then you could do the following: List<B> TranslateList<A, B>(List<A> listofATypeThingies) { List<B> listofBTypeThingies; foreach(A item in listofATypeTh... [More]

Tags: ,