Thursday, 8 August 2013

Resharper string.Format highlighting for Trace methods

ReSharper has fantastic string.Format highlighting such that you can see where format parameters are missing or redundant in the list of parameters. It only does this for certain functions though, such as Debug.Writeline. If you create your own functions you can annotate the code directly. However if you want to annotate a function that doesn't belong to you, you can still do this through the external annotations method.
A set of functions that ReSharper doesn't format in this way out of the box that I can't live without are the Trace.TraceInformation/Warning/Error methods.
To get these highlighted, add the following XML to "C:\Program Files (x86)\JetBrains\ReSharper\v7.1\Bin\ExternalAnnotations\.NETFramework\System\Attributes.xml". You'll see a section near the bottom for Debug.Writeline already.




Wednesday, 24 July 2013

SanDisk Extreme USB 3.0 Flash Drive 64GB

Just bought one of these USB 3.0 sticks. It's a very nippy drive indeed. I saw a steady 200MB/s copying 24GB of AVI files into the stick! I've only got 16GB of RAM so I believe that's not cached and I was able to eject the drive immediately and all the files were there, so pretty fast!

Saturday, 23 March 2013

Mouse without borders

Can't believe I didn't know about this one. Mouse without borders is a Microsoft Garage project (side projects by Microsoft Staff done out-of-hours) for sharing your mouse and clipboard between up to 4 machines. You can even drag and drop files between the machines.

The scenario I find this most useful in, is where I have a laptop sat next to my main monitor, and can easily control it without having to switch keyboard and mouse.
Many have reported it's easier to use than similar solutions, go have a look and see if it fits your needs.

Other similar solutions I like and have used for some time include: 
- Synergy (cross platform - free)
- Input Director (free for non-commercial use)

Tuesday, 5 March 2013

Free training for Life with Firebrand Training

I've used Firebrand training on many occasions and strongly recommend them as a training provider. They're currently running a free-entry competition to win free training for life, use the link below to enter!
Free training for Life