I hereby claim:
- I am pololee on github.
- I am pololee (https://keybase.io/pololee) on keybase.
- I have a public key ASDSTD18KD7aW0XFO4-b0rMeX7DnH5SgGVtooQ7GY0WgQAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$ git pull
remote: Counting objects: 409, done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 409 (delta 269), reused 248 (delta 247), pack-reused 96
Receiving objects: 100% (409/409), 82.91 KiB | 0 bytes/s, done.
Resolving deltas: 100% (273/273), completed with 61 local objects.
From github.com:alphagov/smart-answers
c71d9c3..6f9dbfe master -> origin/master
9f9ef5d..741945f benefit-cap-calculator-pre-autumn-changes -> origin/benefit-cap-calculator-pre-autumn-changes
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
object = mock() | |
object.expects(:expected_method).yields('result') | |
yielded_value = nil | |
object.expected_method { |value| yielded_value = value } | |
yielded_value # => 'result' |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
def disabled? | |
node[:class].include?('is-disabled')` | |
end |