AWS query-instance_method docs
export AWS_ACCESS_KEY_ID=‘XXXX’
export AWS_SECRET_ACCESS_KEY=‘XXXX’
# ENV['AWS_ACCESS_KEY_ID']
# ENV['AWS_SECRET_ACCESS_KEY']
AWS query-instance_method docs
export AWS_ACCESS_KEY_ID=‘XXXX’
export AWS_SECRET_ACCESS_KEY=‘XXXX’
# ENV['AWS_ACCESS_KEY_ID']
# ENV['AWS_SECRET_ACCESS_KEY']
class Calculator | |
def reduce(operator) | |
fail "You shouldn't be calling this directly!" | |
end | |
end | |
def uses_a_duck_type(calculation) | |
calculation.reduce(:+) | |
end |
module.exports = curry; | |
function curry (f) { | |
var arity = f.length; | |
var params = []; | |
var end = createEnd(f, arity); | |
return createCurried(params, arity, end); | |
} | |
function createEnd (f, arity) { |
// It's important to realise that you'll only ever want to `go build` or `go run` a single file | |
// This confused me originally | |
// I could understand why my task's `Context` didn't get passed the name of the changed file | |
// The problem was I was just hacking little scripts together | |
// In practice, you'll be working within a project directory and you'll have a single entry point file | |
package main | |
import . "gopkg.in/godo.v1" |
/* Checkbox Hack */ | |
input[type=checkbox] { | |
position: absolute; | |
top: -9999px; | |
left: -9999px; | |
} | |
label { | |
-webkit-appearance: push-button; | |
-moz-appearance: button; |
Below is how I am currently structuring my CSS to be more object-oriented (with a little assistence from Sass):
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Sascha Depold http://depold.com | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
%myclass { | |
color: blue; | |
@media (min-width: 600px) { | |
background: red; | |
} | |
@media (min-width: 800px) { | |
font-size: 28px; | |
} | |
} |