VI like editing in eclipse

August 25th, 2010
Adrian Elsener

Since a few days I’m using a plugin in eclipse which allows vi like editing. It’s called vrapper and can be found under http://vrapper.sourceforge.net. It is a very good light weight alternative to commercial vi plugins. In my opinion there are not more disadvantages as in other vi plugins.
Sometimes it has hangers, this means it does not fall back to the main state instead it hangs in any command mode. In this rare cases normally helps to restart the plugin with the icon in eclipse.
The installation is very simple, only add the stable update site (http://vrapper.sourceforge.net/update-site/stable). Or if not possible to use the update site just download the file from http://sourceforge.net/projects/vrapper/files/, just copy the files into the plugins directory ;) .

If you like to use vi commands look in and check it out.

 

Adrian Elsener Java , , , ,

Bad DNS Server Settings in GPO

August 22nd, 2010
konrad.dambeck

For a Project I hade change the DNS Server settings on several client computers. All Clients hade fixed IP and DNS Settings on the clients and the customer want not to change to a DHCP. I can understand this approach because fixing the IP of computers can improve network security and awareness. My first approach was to look inside the GPO of Windows XP. And after 2 minutes searching look what I fond under: “Computer Configuration – Administrative Templates – Network – DNS Client – DNS Servers”

read more

 

konrad.dambeck Administration, Windows Server , , , , , ,

Udi Dahan talks about commercial options for nservicebus

August 17th, 2010
Daniel Marbach

Udi Dahan gives insight into nservicebus future and commercial options for nservicebus. Read post intro and comment 23 about pricing options:

http://nservicebus.grouply.com/message/8259

 

Daniel Marbach Announcement ,

Obscure reactions within terminal client

July 30th, 2010
Adrian Elsener

Since we use the new terminal client from microsoft we register sometimes obscure reactions. For example: program flipping while pressing the tab key solo, get the dialog which is shown normally pressing ‘Ctr-Alt-Del’ while pressing the delete key solo.
read more

 

Adrian Elsener Windows , , , , , ,

Multiscreen with microsoft terminal client

July 28th, 2010
Adrian Elsener

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:

  1. create a Shortcut to mstsc.exe
  2. 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.

 

Adrian Elsener Windows , , , , ,

Windows7, Resharper 5.1, VS2010 and xunit.contrib problem

July 27th, 2010
Daniel Marbach

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:

  1. Close all running VS2010 instances
  2. Upgrade to latest xunit.contrib for Resharper 5.1
  3. 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
  4. Open VS2010 again and you should be able to run the unit tests in unit test runner of Resharper again.

Hope that helps

 

Daniel Marbach .NET, Announcement , , , ,

Fileformat and the impacts in bash scripts

July 22nd, 2010
Adrian Elsener

I had the problem calling a bash script I got the error:
“syntax error: unexpected end of file”
and
“: command not foundne 2: ”

read more

 

Adrian Elsener Linux , , ,

Mockito – Answer vs. Return

July 20th, 2010
Adrian Elsener

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.

read more

 

Adrian Elsener Java, Test Driven Development, Testing , , , , , ,

iPad

July 12th, 2010
konrad.dambeck

Currently I’m in the refresher course of the swiss armed forces in Andermatt. So I get plenty of charlton-heston-Mosses-iPad 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.

read more

 

konrad.dambeck Administration, Mobile, Software, Uncategorized , , , , , , , ,

Ubuntu console command completition

July 10th, 2010
Adrian Elsener

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

 

Adrian Elsener Linux , , , ,