All posts filed under “OSS

comment 0

Using Retrofit to control the Spark Core

As I briefly mentioned on my previous post, I’m building my first Android app to use the Spark Core as a Wake-on-LAN relay inside my network. I started out using DefaultHttpClient but quickly recently came across Retrofit. I have to say I’m very impressed with the API, its flexibility and ease-of-use. I was able to quickly prototype the following interface, which allows me to flash an arbitrary firmware, invoke methods and retrieve variables very easily: If you’re trying to build…

comment 1

A Wake-on-LAN implementation that works from everywhere

Every now and then I need to wake my machine up while I’m away from home, either to quickly remote desktop into it, or to get access to my Plex library on the go without needing to leave the computer on all the time. Unfortunately, quite a few routers block magic packets coming from the WAN altogether, without allowing you to disable that behavior. I decided this would be a great opportunity for a small first IoT project, where the…

comment 0

Integrating GitExtensions with TeamCity

Recently I came up with the idea of integrating the build information coming for each commit from TeamCity directly into GitExtensions (our GUI front end of choice for Git). I believe it should prove very practical when you need to check whether a colleagues’ branch is safe to merge with, or for a gatekeeper to know he can merge a feature branch into the origin repository. It has the added benefit of centralizing all the required information, so you can…

comment 0

Typed Factories a la Castle Windsor for Unity

I recently finished an implementation of the equivalent of Castle Windsor’s Typed Factories facility, for Unity 2. I decided on the creative name of Unity.TypedFactories :-). As far as I know, there isn’t anything like it out there for Unity, and since I didn’t feel like creating and testing dozens of small factories, I decided to create a simple implementation of Typed Factories. All you need is to declare the factory’s interface: And register it with Unity, through my library’s…