Skip to content

Instantly share code, notes, and snippets.

View scottgerring's full-sized avatar

Scott Gerring scottgerring

View GitHub Profile
anonymous
anonymous / gist:04ce00eb11a271a145cd
Created September 1, 2015 21:06
#################################################
# Detect the Ephemeral drives and stripe them
#################################################
$DriveLetterToAssign = 'Z' # Be sure to choose a drive letter that will not already be assigned
#################################################
# Given a device (e.g. xvda), strip off "xvd" and convert the remainder to the appripriate SCSI ID
#################################################
function GetSCSI {
@erikh
erikh / hack.sh
Created March 31, 2012 07:02 — forked from DAddYE/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#