Here is a quick tip if you are having slow performance with Linux running on VirtualBox: Assign at least two processors to the Linux instance Some background… My laptop came with Windows 7. I prefer to use Linux (currently Ubuntu) when developing and I really dislike dual-booting so installing Ubuntu side-by-side with Windows is not… Continue reading Prevent slow Linux performance on VirtualBox
Category: Tips
Fixing weird sound in Ubuntu Linux
In Ubuntu, my sound will go weird at random times when listening to music or looking at Youtube and other videos. Voices turn into robot sounds and music is distorted. When this happens, I simply type the following in the terminal: Notice there is only one dash (-) in the first command and two in… Continue reading Fixing weird sound in Ubuntu Linux
Sorting an ASP.NET GridView with a custom data source
The other day, I had to present some data in an ASP.NET GridView control and I had to allow sorting of some of the columns. This is easy if the data source is based on e.g. an SQL data source but not particularly easy when using a custom data source. In my case, I had… Continue reading Sorting an ASP.NET GridView with a custom data source
Basic Http authentication from .NET to PHP webservice
Today, I had a major problem that had a not-so-complex-but-rather-stupid solution so I thought it might be worth sharing since I only found online solutions that were rather old. I have remote access to a PHP webservice, written using NuSOAP. I call the methods of this webservice from a .NET application. This is no problem… Continue reading Basic Http authentication from .NET to PHP webservice
Dual language spell checking in Chrome and Mac OS
Mac OS has a built-in spell checker. So does Google Chrome. This has caused confusion for me recently but the problem is now solved. For example, at the end of an email, we often write “Med venlig hilsen” in Danish which means something like “With kind regards”. Chrome underlines “venlig” with a red line, indicating… Continue reading Dual language spell checking in Chrome and Mac OS