Skip to content

Instantly share code, notes, and snippets.

View sixlettervariables's full-sized avatar

Christopher Watford sixlettervariables

View GitHub Profile
@sixlettervariables
sixlettervariables / RemovePublicKeyTokenProgram.cs
Created August 7, 2015 22:36
Remove PublicKeyToken's from your Code First migration RESX files
// <copyright file="RemovePublicKeyTokenProgram.cs">
// Copyright (c) 2015 Christopher A. Watford ([email protected])
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
@sixlettervariables
sixlettervariables / FindCompatibilityProblems.cs
Created June 6, 2016 18:00
Sample code to run the .Net Framework Compatibility Diagnostics outside of VS
using System;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Registration;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
//
// Quick and Dirty way to read ELI 280 XML Files
// [email protected]
//
// .NET 5.0 / C# 8.0
//
using System;
using System.IO;
using System.Xml.Linq;
@sixlettervariables
sixlettervariables / open_ELI280_ECG.m
Last active March 29, 2023 00:22
Read ELI 280 XML ECG file data in Matlab/Octave
% Example MATLAB/Octave Script to Read ELI 280 ECG XML Files
%
% [email protected]
%
%
% Written as a standalone script (i.e., not a function)
%
clear;