marthijn. Rotating Header Image

Posts under ‘Software’

How to send an e-mail from your Android app

I’m developing an Android application where the user must be able to send a file stored on the SD Card to a specific e-mail address. By using Android’s Intent class this is very easy. The following code snippet will bring up an e-mail application choose dialog. String filename = "file://" + Environment.getExternalStorageDirectory() + "/file.txt"; String [...]

Fix .NET 4 SocketPermission for MySQL driver in Medium Trust

Most .NET 4 shared hosting providers offering their customers a medium trust environment. This is not a problem for most web applications unless the applications uses MySQL in combination with the .NET MySQL driver (MySQL.Data.dll). The MySQL driver connects to the MySQL database using a socket. However, sockets are not allowed in medium trust. The [...]

Building a Home Theater PC part 2

Today I finally assembled my HTPC. There were some stock issues with the case I ordered, so after a week I ordered another. Although the motherboard is passively cooled I decided to enable one of the two case fans. Unfortunately the fans are very noisy when directly connected to the motherboard, so I placed a [...]

Building a Home Theater PC part 1

Last year I build a home server based on the Intel Atom platform. In my second post I mentioned building an HTPC with the same components, but I wasn’t really sure the current Atom processors and Nvidia ION platform could handle video decoding with a full HD resolution. Since a few weeks I’m looking for [...]

Possible solution for NHibernate many-to-many criteria

How to query an NHibernate many-to-many relationship.

Using log4net to show NHibernate SQL in Visual Studio

Configure log4net in order to show NHibernate SQL queries in Visual Studio’s console.

How to lookup MIDI notes of your MIDI controller

How to lookup MIDI note and channel information of a MIDI controller using MIDI-OX.

Map Traktor’s Beat Phase Monitor to your Reloop Digital Jockey 2

How to map Traktor’s Beat Phase Monitor to a LED on the Reloop Digital Jockey 2

How to stop Traktor from editing ID3 tags

How to run Traktor as a different user so it has no permission to modify music files.

Getting started with LaTeX and BibTeX in LEd

A simple tutorial about LaTeX and BibTeX in the editor LEd.