Cornbeast R&D
  • Synthesizers
  • DIY-electronics
  • Programming
  • About

C#

Determine if an image is more or less landscape (or portrait) than given dimensions

Here’s a nifty c# extension method I wrote to determine how an image should be resized and/or cropped to fit within certain dimensions. If you divide a rectangle’s width by […]

IMG_6114

Raspberry Pi to netduino serial communication

The Raspberry Pi and Netduino both got their strenghts, but what if they can talk to each other? I did a small proof of concept and got them to do […]

Consuming JSON/REST web services with .Net

I allways find consuming JSON/REST web services using .Net cumbersome (at least without 3rd part libraries). Not sure why, maybe I’m doing it all wrong. Anyway, here’s a method I […]