patriksvensson.se
Patrik Svensson
http://patriksvensson.se/2014/08/script-aliases
This is my blog, where I will be writing about stuff that interests me such as C#, Python, C and technology in general. I will probably also occasionally write about my pet projects. Copy Patrik Svensson 2014. Theme by David Lecina. NET, C#, Cake. Cake supports something called script aliases. Script aliases are convenience methods that are easily accessible directly from a Cake script. Every API method. In Cake is implemented like this. PM Install-Package Cake.Core. That's been marked with the. Task("Ge...
patriksvensson.se
Patrik Svensson
http://patriksvensson.se/2013/08/how-to-dynamically-add-attributes-to-a-class-with-castle-core
This is my blog, where I will be writing about stuff that interests me such as C#, Python, C and technology in general. I will probably also occasionally write about my pet projects. Copy Patrik Svensson 2014. Theme by David Lecina. How to dynamically add attributes to a class with Castle.Core. NET, C#, Castle.Core. Yesterday I was working on some unit tests that ensured that some user derived classes passed to a method were decorated with a specific attribute. Since the mocking framework I used ( Moq.
patriksvensson.se
Patrik Svensson
http://patriksvensson.se/2014/07/its-not-a-party-without-cake
This is my blog, where I will be writing about stuff that interests me such as C#, Python, C and technology in general. I will probably also occasionally write about my pet projects. Copy Patrik Svensson 2014. Theme by David Lecina. It's not a party without Cake. NET, C#, Cake. I have during my nine years as a (professional) programmer used several different build automation systems such as Rake. But none of these have allowed me to write my build scripts using C# - the language I use the most. A build s...
patriksvensson.se
Patrik Svensson
http://patriksvensson.se/2013/08/culture-agnostic-string-comparisons
This is my blog, where I will be writing about stuff that interests me such as C#, Python, C and technology in general. I will probably also occasionally write about my pet projects. Copy Patrik Svensson 2014. Theme by David Lecina. Culture agnostic string comparisons. Something I've seen a lot at different clients is naive string comparison. The most common case is to do something involving String.ToLower() on both strings that are being compared and then an equality comparison of the result.
patriksvensson.se
Patrik Svensson
http://patriksvensson.se/2014/01/displaying-teamcity-build-status-on-github
This is my blog, where I will be writing about stuff that interests me such as C#, Python, C and technology in general. I will probably also occasionally write about my pet projects. Copy Patrik Svensson 2014. Theme by David Lecina. Displaying TeamCity build status on GitHub. Have you ever wanted to display the current CI build status for a TeamCity project in your GitHub README? I did but couldn't find any good, straight forward information about how to do it. Turns out it's quite simple.
patriksvensson.se
Patrik Svensson
http://patriksvensson.se/2014/11/cake-and-appveyor-integration
This is my blog, where I will be writing about stuff that interests me such as C#, Python, C and technology in general. I will probably also occasionally write about my pet projects. Copy Patrik Svensson 2014. Theme by David Lecina. Cake and AppVeyor integration. NET, C#, Cake, AppVeyor. In this blog post I will show you how to use Cake. With your AppVeyor CI builds. 1 Create the build script. Add a build script called. 2 Create a bootstrapper script. Create a old fashioned batch file called. For more in...
patriksvensson.se
Patrik Svensson
http://patriksvensson.se/2013/12/binarywriter-and-cplusplus
This is my blog, where I will be writing about stuff that interests me such as C#, Python, C and technology in general. I will probably also occasionally write about my pet projects. Copy Patrik Svensson 2014. Theme by David Lecina. System.IO.BinaryWriter and C. A while back I had to read string data written by .NET's BinaryWriter. The encoded integer indicates the length of the written string, and is more commonly known as UTF-7 encoding. 0); return result; }. Comments powered by Disqus.
patriksvensson.se
Patrik Svensson
http://patriksvensson.se/2014/04/introducing-lunt
This is my blog, where I will be writing about stuff that interests me such as C#, Python, C and technology in general. I will probably also occasionally write about my pet projects. Copy Patrik Svensson 2014. Theme by David Lecina. Last summer, a friend and I started to write a little Paradroid. Clone Since my only real experience as a game programmer was with XNA and MonoGame, I had grown fond of the XNA Content Pipeline. And naturally wanted something similar for this project. How does it work? The im...