Archive
Multiscreen with microsoft terminal client
Since a few months I’m working in a new project where we have remote PC’s for developing. Since they updated the clients from Windows XP SP1 to SP3 we we have the new remote desktop client. Now it’s possible to show the terminal client on two monitors (or a monitor with a resolution over 1600×1200). We just had to do the following:
- create a Shortcut to mstsc.exe
- add as params
- /w:2560 (The screen witdth)
- /h:1024 (The screen height)
- /v:hostname
The link will look like this: mstsc.exe /w:2560 /h:1024 /v:hostname
Our expirience was it works not bad. The only thing we noticed was, the client needs more power.
Windows7, Resharper 5.1, VS2010 and xunit.contrib problem
Just a short notice. If you are using Resharper 5.1 under Windows7 and xunit.contrib and your unit tests are not executed anymore in VS2010 you need to check the following:
- Close all running VS2010 instances
- Upgrade to latest xunit.contrib for Resharper 5.1
- If you have xunit.contrib under Program Files\Jetbrains\Resharper\..\Bin\Plugins then move them to
[Root]:\Users\[YourUser]\AppData\Roaming\JetBrains\ReSharper\v5.1\vs10.0\Plugins\XunitContrib - Open VS2010 again and you should be able to run the unit tests in unit test runner of Resharper again.
Hope that helps
Fileformat and the impacts in bash scripts
I had the problem calling a bash script I got the error:
“syntax error: unexpected end of file”
and
“: command not foundne 2: ”
Mockito – Answer vs. Return
Did you had the problem your mock must act like a bean? And you could not create the object with the real implementation? And the interface was too large, so you would not create a innerclass for the test? I had this problem too. I solved it with the answer in mockito.
iPad
Currently I’m in the refresher course of the swiss armed forces in Andermatt. So I get plenty of
time to test my new Apple iPad. I have the 16 GB model without the 3G (UMTS) modem. I decide to buy the cheapest model because I think I don’t need much storage on my web tablet. The 3G option was for me secondary because I own a notebook with built in UMTS modem. As a side note you can use the freeware Connectify to switch any pc in to a wlan access point http://www.connectify.me/. Or create a wlan network proxy with an iPhone and the app NetShare (10$) from the Sydia store.
First I will make my coming out as an Apple fan boy. So this article reflects my personal meaning and may not be 100% objective. The physical dimensions of the device are 243mm x 190mm x 13mm. The weight of the iPad is 0,68 kg or 0.73 kg for the 3G model. By the way the 3g models have also an compass and a GPS module. The display is 9.7 inch and has a resolution of 1024×768 (132ppi). The battery live is beyond 10 hours witch is very, very, very impressive. There are only three points witch are semi optimal. The reflecting display is not my favorite option. And if you use the iPad in the Sun in became a little bit hot and shuts himself down. The iBook store of Switzerland only host’s only free book from the Gutenberg project. As you can imagine Nathan the wise from Lessing is note my favorite bed lecture.
Ubuntu console command completition
Since I always have to search how to enable the history search in (k)ubuntu I post it here. I don’t know why this feature is disabled by default in (k)ubuntu. Imo it’s one of the greatest features under the linux term. Just start the command you entered last time in the term and then press the key ‘PageUp’ to get the last history entry you used the letters.
For everybody who wants to enable the feature too:
Open the file ‘/etc/inputrc’ and enable the following two lines: (It’s in the section ‘# alternate mappings for “page up” and “page down” to search the history’)
“\e[5~”: history-search-backward
“\e[6~”: history-search-forward
Speaking at BASTA! in Mainz (Germany) on September 21st 2010
I’m going to speak about code quality (see my short version of the presentation) at the conference BASTA!
BASTA! is mainly focused on .NET technology and gives you the opportunity to see and speak with a wide range of technology experts.
If you have any feedback of what you are missing in my short presentation, please write a comment here or on the post with the presentation. The short version takes about 30 minutes and my speak at BASTA! is scheduled for 1 hour and 15 minutes. I will mainly show real life examples of the theory shown in the short version. But if you want to here something specific, ask for it
I’ll probably will publish the long version on this blog, too – for all of you not joining the conference.
So long…

