Skip to content

Instantly share code, notes, and snippets.

View joshrobb's full-sized avatar

Josh Robb joshrobb

  • Auckland, New Zealand
View GitHub Profile
using System;
using ExtensionMethods;
namespace Events
{
public static class DomainEvents
{
private static IEventHandlerResolver _handlerResolver;
public static bool IsInitialised()
using NUnit.Framework;
using System;
namespace Castle.Windsor.Tests.SubContainers
{
[TestFixture]
public class ChildContainerSingleResolutionTestCase
{
private IWindsorContainer parentContainer;
private IWindsorContainer childContainer;
if [ `ssh $MY_HOST ps aux | awk '{sum+=$6}; END {print sum}'` -gt $RAM_LIMIT ]; then growlnotify -m "Some message"; fi ;