Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View yagudaev's full-sized avatar

Michael Yagudaev yagudaev

View GitHub Profile
protocol ArrayRepresentable {
typealias ArrayType
func toArray() -> ArrayType[]
}
extension Range : ArrayRepresentable {
func toArray() -> T[] {
return T[](self)
}
@yagudaev
yagudaev / Custom.css
Created June 30, 2012 18:59 — forked from bentruyman/Custom.css
Dark Theme for Chrome Dev tools
/**********************************************/
/*
/* IR_Black Skin by Ben Truyman - 2011
/*
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2
/*
/* Inspired by Darcy Clarke's blog post:
/* http://darcyclarke.me/design/skin-your-chrome-inspector/
/*