This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
// Got most of it from: | |
// https://developer.apple.com/sample-code/wwdc/2015/downloads/Crustacean.zip | |
// This is in the Protocol-Oriented Programming in Swift talk | |
// Pay special attention to the Heterogeneous Equality section, on page 2. | |
// | |
// Most comments directly copy/pasted from Crustacean Playground | |
protocol Account { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin font-face($font-family, $url) { | |
@font-face { | |
font-family: '#{$font-family}'; | |
src: url('#{$url}.eot'); | |
src: url('#{$url}.eot?#iefix') format('embedded-opentype'), | |
url('#{$url}.woff') format('woff'), | |
url('#{$url}.ttf') format('truetype'), | |
url('#{$url}.svg') format('svg'); | |
font-weight: normal; | |
font-style: normal; |