Skip to content

Instantly share code, notes, and snippets.

@stack72
stack72 / raid_ephemeral.sh
Created February 8, 2016 18:14 — forked from joemiller/raid_ephemeral.sh
detect all ephemeral disks on EC2 then stripe together in a raid-0 vol mounted at /mnt
#!/bin/bash
#
# this script will attempt to detect any ephemeral drives on an EC2 node and create a RAID-0 stripe
# mounted at /mnt. It should be run early on the first boot of the system.
#
# Beware, This script is NOT fully idempotent.
#
METADATA_URL_BASE="http://169.254.169.254/2012-01-12"
@stack72
stack72 / ConduitQuartzFacility.cs
Created May 27, 2011 22:04 — forked from codereflection/ConduitQuartzFacility.cs
Custom Quartz Facility for Castle Windsor to dynamically set the quartz_jobs.xml
using System;
using System.Linq;
using Castle.Core.Configuration;
using Castle.Facilities.QuartzIntegration;
using Castle.MicroKernel.Facilities;
using Castle.MicroKernel.Registration;
using Quartz;
using Quartz.Job;
using Quartz.Spi;