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
# ============= | |
# What is TDD ? | |
# ============= | |
# Writing test first is not TDD, you should let your test guide your code | |
# so the test bellow should have the simplest implementation as possible | |
it 'consumes fuel' do | |
expect { drive(80) }.to change(car, :fuel).from(10).to(2) | |
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
<script type="text/javascript"> | |
var bg_container = '\ | |
<div id="bg_container">\ | |
<iframe src="//www.youtube.com/embed/XhzfQbGfmQ?autoplay=1&controls=0&loop=1&showinfo=0&modestbranding=1&disablekb=1&enablejsapi=1&muted=true" frameborder="0" width="100%" height="100%"></iframe>\ | |
</div>'; | |
// Escolher um dos 3 abaixo adicionando ou removendo o // da frente | |
$('body').append(bg_container); | |
// $('#featured-content .container').append(bg_container); | |
// $('#container section').append(bg_container); |
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
// This is a GoodData SSO implementation example with Groovy language following the article https://developer.gooddata.com/article/gooddata-pgp-single-sign-on | |
// 1. Download and install GnuPG for your platform from https://www.gnupg.org/download/ | |
// 2 Setup your keystore following https://developer.gooddata.com/article/how-to-generate-public-private-key-pair | |
def SSO_PROVIDER = "resultadosdigitais.com.br" | |
def signerEmail = "[email protected]" | |
def signerPassword = "myPassw0r4" | |
def projectUserEmail = "[email protected]" | |
def projectId = "xapasdpas123aspasdas" |