Skip to content

Instantly share code, notes, and snippets.

View tdwright's full-sized avatar

Tom Wright tdwright

View GitHub Profile
@tdwright
tdwright / dupeUsers.jql
Created January 24, 2019 08:20
Duplicate users by email address
/**
* Duplicate People Profile Check
* Originally by Mixpanel
* Updated by tdwright 09/01/19
**/
var matchKey = "$email";
function main() {
return People()
.filter(function(user){
`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
@tdwright
tdwright / Program.cs
Created December 31, 2017 21:33
Minimal ConTabs demo (Planets)
using ConTabs;
using System;
using System.Collections.Generic;
namespace ConTabs_ReviewDemo
{
class Program
{
static void Main(string[] args)
{
@tdwright
tdwright / ncover_format.xml
Created December 29, 2017 19:58
Result of applying the XSL transform to my OpenCover data
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<coverage>
<module name="ConTabs">
<class name="ConTabs.Column">
<method class="ConTabs.Column">
<seqpnt visitcount="182"/>
</method>
<method class="ConTabs.Column">
@tdwright
tdwright / coverage.xml
Created December 29, 2017 19:57
OpenCover coverage data for ConTabs
<?xml version="1.0" encoding="utf-8"?>
<CoverageSession xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Summary numSequencePoints="244" visitedSequencePoints="217" numBranchPoints="88" visitedBranchPoints="79" sequenceCoverage="88.93" branchCoverage="89.77" maxCyclomaticComplexity="5" minCyclomaticComplexity="1" visitedClasses="9" numClasses="9" visitedMethods="65" numMethods="74" />
<Modules>
<Module skippedDueTo="Filter" hash="00-F3-05-6F-08-92-B6-6B-3E-5F-7D-EC-0B-D4-5C-AA-27-07-BD-32">
<ModulePath>C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll</ModulePath>
<ModuleTime>2017-09-21T01:37:46.2523965Z</ModuleTime>
<ModuleName>mscorlib</ModuleName>
<Classes />
</Module>
@tdwright
tdwright / gist:6224cd2f48e2139fa9e8c06964865daf
Created November 18, 2017 11:03
DLLs in the bin directory of a fresh .NET framework project with ConTabs installed
ConTabs.dll
Microsoft.Win32.Primitives.dll
System.AppContext.dll
System.Console.dll
System.Diagnostics.DiagnosticSource.dll
System.Globalization.Calendars.dll
System.IO.Compression.dll
System.IO.Compression.ZipFile.dll
System.IO.FileSystem.dll
System.IO.FileSystem.Primitives.dll
@tdwright
tdwright / gist:0b3568a9da2e318fe6e3c2efc40fcff4
Created November 18, 2017 10:12
Package manager output when installing ConTabs v0.1.0 in a fresh project
Attempting to gather dependency information for package 'ConTabs.tdwright.0.1.0' with respect to project 'ConTabsNugetTest', targeting '.NETFramework,Version=v4.6'
Gathering dependency information took 15.25 sec
Attempting to resolve dependencies for package 'ConTabs.tdwright.0.1.0' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'ConTabs.tdwright.0.1.0'
Resolved actions to install package 'ConTabs.tdwright.0.1.0'
Retrieving package 'ConTabs.tdwright 0.1.0' from 'nuget.org'.
Retrieving package 'Microsoft.NETCore.Platforms 1.1.0' from 'nuget.org'.
Retrieving package 'Microsoft.Win32.Primitives 4.3.0' from 'nuget.org'.
Retrieving package 'NETStandard.Library 1.6.1' from 'nuget.org'.