Skip to content

Instantly share code, notes, and snippets.

View justin-caldicott's full-sized avatar

Justin Caldicott justin-caldicott

View GitHub Profile
@justin-caldicott
justin-caldicott / RedGateDefaultTemplate.11.1.xaml
Last active December 27, 2015 09:59
A TFS XAML build template supporting the RgPublish tool used by Deployment Manager. This extends DefaultTemplate.11.1.xaml. It provides a set of fields on the build definition with descriptions and defaults. To use it, add the template in TFS, or merge the changes into your own build template. For more details, see the accompanying blog post: ht…
<Activity mc:Ignorable="sad" x:Class="TfsBuild.Process" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mt="clr-namespace:Microsoft.TeamFoundation;assembly=Microsoft.TeamFoundation.Common" xmlns:mtbc="clr-namespace:Microsoft.TeamFoundation.Build.Client;assembly=Microsoft.TeamFoundation.Build.Client" xmlns:mtbw="clr-namespace:Microsoft.TeamFoundation.Build.Workflow;assembly=Microsoft.TeamFoundation.Build.Workflow" xmlns:mtbwa="clr-namespace:Microsoft.TeamFoundation.Build.Workflow.Activities;assembly=Microsoft.TeamFoundation.Build.Workflow" xmlns:mtbwt="clr-namespace:Microsoft.TeamFoundation.Build.Workflow.Tracking;assembly=Microsoft.TeamFoundation.Build.Workflow" xmlns:mttbb="clr-namespace:Microsoft.TeamFoundation.TestImpact.BuildIntegration.BuildActivities;assembly=Microsoft.TeamFoundation.TestImpact.BuildIntegration" xmlns:mtvc="clr-namespace:Microsoft.TeamFoundation.VersionControl.Client;assembly=Microsoft.TeamFound
@justin-caldicott
justin-caldicott / CustomSchemeHandlerFactory.cs
Created September 1, 2016 07:00
An example of a SchemeHandlerFactory that throws a NRE in 49.0.1
using CefSharp;
namespace BirdJournal.Html.Windows
{
public sealed class CustomSchemeHandlerFactory : ISchemeHandlerFactory
{
readonly NancyService m_nancyService;
public CustomSchemeHandlerFactory(NancyService nancyService)
{
@justin-caldicott
justin-caldicott / CLAUDE.md
Created June 5, 2026 11:01
CLAUDE.md snippet to minimise permission prompts for simple search operations

Codebase Search and Navigation

Tool priority

  1. Claude native tools — fastest, always available, no dependencies
  2. IDE MCP tools — for semantic search and large codebase exploration
  3. Bash — never for search or read operations

Use native tools for

  • Reading a file when the path is known → Read
  • Listing directory contents → LS