Month: July 2017

  • How to Use One Mouse and Keyboard Across Multiple Computers with Mouse Without Borders

    If you’ve got multiple computers at your desk, you probably know that it’s a pain to use more than one keyboard and mouse. Here’s how to use a single keyboard and mouse on more than one PC using a tool from Microsoft. Most geeks will be familiar with Input Director and Synergy, which do the […]

  • 7 lesser known hacks for debugging in Visual Studio

    Post originally appeared at: https://blogs.msdn.microsoft.com/visualstudio/2017/06/26/7-lesser-known-hacks-for-debugging-in-visual-studio/ Please refer the thread for more discussion, this is for reference purpose only.   The Visual Studio debugger is a magical beast that can save you loads of time while finding and fixing issues in your application. It is chock-full of tools that can make debugging easier… if you know […]

  • The fastest way to split a string using CLR

    The original post appeared here: http://sqlblog.com/blogs/adam_machanic/archive/2009/04/28/sqlclr-string-splitting-part-2-even-faster-even-more-scalable.aspx Please visit the original website for more discussion, this is for reference purpose only.   using System; using System.Collections; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; public partial class UserDefinedFunctions { [Microsoft.SqlServer.Server.SqlFunction( FillRowMethodName = “FillRow_Multi”, TableDefinition = “item nvarchar(4000)” ) ] public static IEnumerator SplitString_Multi( [SqlFacet(MaxSize = -1)] […]