I hereby claim:
- I am Brunty on github.
- I am brunty (https://keybase.io/brunty) on keybase.
- I have a public key whose fingerprint is 07B9 7329 66B8 9BF9 E9D5 B0B8 F652 2873 B77E DDB6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
By default, $(window).resize() will fire every time the window is resized, so for each pixel it moves, it's called. | |
This isn't necessarily always needed and some things can be left to when the window has finished resizing. | |
We don't have a (native) way of doing this, but with this little snippet you can achieve basically what we want. | |
*/ | |
var windowResize; | |
$(window).resize(function() { | |
// Clear the timeout each time the window is resized | |
clearTimeout(windowResize); | |
/* | |
Rough first-go, need to create mixins so you can use these styles in your own classes. | |
But for now, you can just use the grid classes and it'll work. | |
*/ | |
$column-gutter: 26px; | |
$default-padding: $column-gutter / 2; | |
$max-row-width: 1000px; | |
/* | |
This kinda thing should be in a normalise file anyway - but if not, throw it in somewhere. |
*~ | |
.buildpath | |
.project | |
.settings | |
.vagrant | |
######################### | |
# OS X | |
######################### |
Stories? Scenarios? BDD? Are these just more words in the ever-growing list of jargon that developers have to know? Or are they something more important than new terms to memorise?
In this session we'll look at how BDD fits into the software development work-flow, how to tell user stories through features, and how to automate them in Behat.
*~ | |
.buildpath | |
.project | |
.settings | |
.vagrant | |
######################### | |
# OS X |
type Money struct { | |
isoCode string | |
symbol string | |
value int | |
} | |
type Product struct { | |
name string | |
price Money | |
} |
default: | |
gherkin: | |
cache: '%paths.base%/app/cache' |
#!/usr/bin/env groovy | |
stage("Setup Project") { | |
node() { | |
sh "ls -lah" | |
// clean out all files within this workspace | |
deleteDir() | |
sh "ls -lah" | |
// Check out our repository |
stage("Deploy to UAT" ) { | |
node { | |
def gitCommit = gitCommit() | |
ansiblePlaybook extraVars: [release_version: "$gitCommit"], | |
inventory: 'ansible/inventories/uat', | |
playbook: 'ansible/deploy-uat.yml' | |
} | |
} |