Skip to content

Instantly share code, notes, and snippets.

View Turtlator's full-sized avatar

Brendan Graham Turtlator

View GitHub Profile
@AndrewSouthpaw
AndrewSouthpaw / calendarCopy.js
Last active January 22, 2026 19:41
Google Apps script to copy personal events and block those times in your work calendar.
// *******************
// Contributors:
// - Andrew Smith (@AndrewSouthpaw)
// - Shaun Mosley (@Shaunm44)
// *******************
// This setup will allow you to synchronize personal events from one calendar (the "secondary calendar")
// to another calendar, e.g. work (the "primary calendar"), but obfuscate the details. Then your coworkers
// know when you're busy but don't get to see the personal details.
//
@droyad
droyad / gist:30097e1f8c02df781ac2
Created August 10, 2015 07:35
Test Autofac registrations by inspection
public abstract class ContainerTestsBase
{
private IContainer _container;
private HashSet<Type> _registeredServices;
readonly Autofac.Core.Activators.Reflection.DefaultConstructorFinder _ctorFinder = new Autofac.Core.Activators.Reflection.DefaultConstructorFinder();
private HashSet<Type> _genericServices;
private HashSet<Type> _registeredConcretions;
[TestFixtureSetUp]