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
/* | |
Fizz Buzz Bazz | |
hacer una funcion que receba un numero e imprima: | |
- fizz si es multiplo de 3 | |
- buzz si es multiplo de 5 | |
- bazz si es miltiplo de 3 y 5 | |
- n si no es multiplo de 3 ni 5 | |
========================================================= |
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 test_when_a_user_with_inactive_account_login_the_body_show_correctly_a_error_message(self): | |
RegistrationProfile.objects.create_inactive_user("jefree", "[email protected]", "1234", "", False) | |
self.selenium.get('%s%s' % (self.live_server_url, '/accounts/login/')) | |
username_input = self.selenium.find_element_by_name("username") | |
username_input.send_keys('jefree') | |
password_input = self.selenium.find_element_by_name("password") |
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
sudo adduser %USER% sudo | |
sudo apt-get update | |
sudo apt-get install curl git-core vim postgresql libpq-dev python python-virtualenv python-pip python-dev build-essential -y | |
sudo pip install --upgrade pip | |
sudo pip install --upgrade virtualenv | |
sudo apt-get install redis-server libxslt-dev libxml2-dev -y | |
sudo apt-get install libmemcached-dev zlib1g-dev libssl-dev python-dev -y | |
sudo apt-get install mysql-server -y | |
sudo apt-get install libmysqlclient-dev libmysql-ruby -y | |
sudo apt-get install libssl-dev libfontconfig1-dev gitk -y |
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
require 'rdl' | |
require 'types/core' | |
extend RDL::Annotate | |
class Option | |
extend RDL::Annotate | |
type_params Option, [:T], :all? | |
var_type :@value, 'T' |
OlderNewer