Komprimera dokument med PDF

PowerPoint-presentationer och Word-dokument lämpar sig väldigt bra att komprimera till PDF. Här ska jag visa hur man kan komprimera en presentation på 2½ MB till ungefär en tiondel av dess originalstorlek. Senare versioner av Office paketet kan själv exportera till PDF. Har man inte tillgång till senare versionen av Microsofts Office paket så kan man [...]

Comments { 0 }

CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

E/AndroidRuntime( 1720): android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

Comments { 0 }

WatiN on TeamCity

Test(s) failed. System.ComponentModel.Win32Exception : Access is denied

Comments { 0 }

adb install, -r …apk Failure


[INFO] C:\Tools\Java\android-sdk-windows/tools/adb [install, -r, C:\...\target\myApp-0.0.1.apk]
pkg: /data/local/tmp/myApp-0.0.1.apk


Comments { 0 }
Visual Studio 2010 build with xunit.net output

xUnit.net QuickStart

A couple of months ago I was trying to explain the concept of unit test and test runners within Visual Studio for a couple of friends. Needless to say there was some confusion around the fact that you needed a plug-in (TestDriven.Net/ReSharper) in order to run a plug-in (Gallio) that runs a plug-in (xunit-runner) in [...]

Comments { 0 }

Importing and exporting using Mercurial

This post will be a quick introduction to a revision control tool called Mercurial. (Mercurial is also known as hg from the chemical element Mercury’s symbol in the periodic table.) Background On my development machine I have a repository with a couple of commits I want to share with the rest of the team. Exporting [...]

Comments { 0 }