#Blur The Lines Links from our SXSW Presentation
###Challenges http://codepen.io/mutewinter/ ####Animations Challenge: http://codepen.io/mutewinter/pen/fKcyr
Answer: http://codepen.io/mutewinter/pen/pcraL ####Image Upload
class Player | |
def initialize | |
@last_health = 20 | |
end | |
def play_turn(warrior) | |
move = MoveAction.new warrior | |
health = HealthAction.new warrior |
#Blur The Lines Links from our SXSW Presentation
###Challenges http://codepen.io/mutewinter/ ####Animations Challenge: http://codepen.io/mutewinter/pen/fKcyr
Answer: http://codepen.io/mutewinter/pen/pcraL ####Image Upload
def clear_cache domain | |
domain_parts = domain.match(/(?:[^:]*:\/\/)?([^\/]+\.[^\/]+)/) | |
domain = domain_parts[1] | |
Net::HTTP.get(domain, "/") | |
end |
@mixin rem( $property, $a:0, $b:$a, $c:$a, $d:$b ) { | |
@if ( $property == "font-size" ) { | |
// $a is the font size | |
// %b is the keyword | |
@if ( $a != $b ) { | |
font-size: $b; | |
} | |
@else { | |
font-size: $a * $base-font-multiplier * 16px; | |
} |
msgs = YAML::load(File.open("#{::Rails.root.to_s}/config/locales/devise.en.yml")) | |
msgs['en']['devise']['failure']['unauthenticated'] |
gem list | cut -d" " -f1 | xargs gem uninstall -aIx | |
*If this doesn't work - blame Don. |
.elementA:before, | |
.elementB:before, | |
.elementA:after, | |
.elementB:after { content: ""; display: table; } | |
.elementA:after | |
.elementB:after { clear: both; } | |
.elementA, | |
.elementB { *zoom: 1; } |
@mixin rem-width( $em-size ) { | |
width: $em-size * $base-font-multiplier * 16px; | |
width: $em-size * 1rem; | |
} |