Alesp

Author's details

Date registered: December 2, 2010

Latest posts

  1. How can I decode UTF-8 encoded data from a MySQL table with Latin1 character set? — June 21, 2013
  2. How can I remove a virtual directory in the Default Web Site using appcmd.exe? — June 14, 2013
  3. How can I determine which process occupies a port? — November 23, 2012
  4. Book Notes – The Power of Habit: Why We Do What We Do in Life and Business by Charles Duhigg — November 15, 2012
  5. How can I quickly sort characters in a string? — October 5, 2012

Author's posts listings

Feb 03

How can I get application’s directory in a WPF application?

string appPath = AppDomain.CurrentDomain.BaseDirectory;

Jan 26

Cannot convert lambda expression to type ‘string’ because it is not a delegate type

When you get the “Cannot convert lambda expression to type ‘string’ because it is not a delegate type” error in Visual Studio 2010, all you have to do is add using System.Linq; to the top of the source file.

Jan 20

Unhandled Error in Silverlight Application 2104

When you get the error  Message: Unhandled Error in Silverlight Application Code: 2104 Category: InitializeError Message: Could not download the Silverlight application. Check web server settings when you try to deploy your Silverlight application you have to register MIME type in your IIS 7: Extension: .xap MIME Type: application/octet-stream At least that is what it …

Continue reading »

Dec 28

Look What I Found #5

PDFsharp: .NET library for creating and processing PDF documents on the fly. SSH.NET: .NET 4.0 library for SSH client protocol. MailSystem.NET: suite of .NET components with support for SMTP, POP3, IMAP4, NNTP, MIME, S/MIME, OpenPGP, DNS, vCard, vCalendar, Anti-Spam (Bayesian , RBL, DomainKeys), Queueing, Mail Merge and WhoIs. Json.NET: makes working with JSON formatted data …

Continue reading »

Dec 28

Free books from Microsoft Press

Microsoft Press offers several e-books free of charge. For developers Programming Windows Phone 7, by Charles Petzold Moving to Microsoft Visual Studio 2010, by Patrice Pelland, Pascal Paré, and Ken Haines Parallel Programming with Microsoft .NET, by Colin Campbell, Ralph Johnson, Ade Miller and Stephen ToubIntroducing Microsoft SQL Server 2008 R2, by Ross Mistry and …

Continue reading »

Dec 09

Barve

Spalnica: JUMIX NCS S 2050-R4OB. Dnevna soba: JUMIX NCS S 2040-R.

Dec 06

Management vs. Motivation

Antoine de Saint-Exupéry (author of "The Little Prince”): “If you want to build a ship, don’t drum up people to gather wood, divide the work, and give them orders. Instead, teach them to yearn for the vast and endless sea."

Dec 06

How can I tell if Silverlight application is running out of browser?

Application.Current.IsRunningOutOfBrowser indicates whether application was launched as an out-of-browser application. Application.Current.HasElevatedPermissions indicates if application is running as an out-of-browser application with elevated permissions. Elevated permissions give you direct access to clipboard, user folder and COM enabled applications.

Oct 22

Code Kata

A code kata is an exercise in programming which helps hone your skills through practice and repetition. Here is a list of some of code katas I found: How to Become a Better Programmer Project Euler: Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to …

Continue reading »

Oct 22

How can I change temperature scale from Celsius to Fahrenheit for Braun Thermoscan?

Note: this tip works for Braun Thermoscan Type 6013. Turn on the thermometer. (If it is already turned on, make sure it is not in memory mode.)  Press the “power/mem” button and keep it pressed. Then press and release the activation button to switch over to the “change temperature scale” mode. By pressing the activation …

Continue reading »

Older posts «

» Newer posts