This file contains hidden or 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
I'm having trouble uploading to S3 from Rails 3.1.5 using CarrierWave 0.5.8 and Fog 1.4.0. | |
CarrierWave worked fine storing files locally, the problem is with the Fog/S3 integration. | |
Tried removing the Rails.env.development? || Rails.env.production?, changing config.fog_public to false, changing the S3 region, and all the things I've commented out too. | |
Any ideas? | |
EDIT: forgot to add - my environment variables stored just fine - it looks like Fog isn't finding them at all though. |
This file contains hidden or 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
// http://csswizardry.com/2012/06/single-direction-margin-declarations/ | |
=font-size($sizeValue: 1) | |
font-size: ($sizeValue * 16) + px | |
font-size: $sizeValue + rem | |
=margin-right-rem($margin: 1.6) | |
margin-right: ($margin * 16) + px | |
margin-right: $margin + rem | |
=margin-bottom-rem($margin: 1.6) |
This file contains hidden or 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
def kitten_image_tag(size) | |
image_tag "http://placekitten.com/#{size}", size: size | |
end |
This file contains hidden or 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
$('html').addClass(navigator.platform.substring(0,3)) |
This file contains hidden or 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.circle { | |
height: 100px; | |
width:100px; | |
background:#373e4e; | |
border-radius:50px; | |
margin: 40px |
This file contains hidden or 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
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size: 13px; | |
color: #333; | |
} | |
#mask { | |
position: absolute; | |
background: black; | |
width: 100%; | |
height: 100%; |
This file contains hidden or 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
body { | |
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size:13px; | |
color:#333; | |
} | |
#mask { | |
position:absolute; | |
background:black; | |
width:100%; |
This file contains hidden or 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
@import url('https://raw.github.com/daneden/animate.css/master/animate.css'); | |
#mask { | |
position:absolute; | |
background:black; | |
width:100%; | |
height:100%; | |
opacity:.6; | |
z-index:10; | |
} |
NewerOlder