Links:
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
| [color] | |
| ui = true | |
| [alias] | |
| st = status | |
| ci = commit | |
| br = branch | |
| co = checkout | |
| df = diff | |
| lg = log -p |
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
| es: | |
| errors: | |
| messages: | |
| not_found: 'no encontrado' | |
| already_confirmed: 'ya ha sido confirmada' | |
| not_locked: 'no está bloqueada' | |
| expired: "ha caducado, por favor pide uno nuevo" | |
| not_saved: | |
| one: "1 error evitó guardar este %{resource}:" | |
| other: "%{count} errores evitaron guardar este %{resource}:" |
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
| set :test_log, "logs/capistrano.test.log" | |
| namespace :deploy do | |
| before 'deploy:update_code' do | |
| puts "--> Running tests, please wait ..." | |
| unless system "bundle exec rake > #{test_log} 2>&1" #' > /dev/null' | |
| puts "--> Tests failed. Run `cat #{test_log}` to see what went wrong." | |
| exit | |
| else | |
| puts "--> Tests passed" |
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
| // ----------------------------------------------------------------------------------- | |
| /** | |
| * Makes sure that, if team A plays against B on a round, team B plays against team A | |
| * on the same round. | |
| */ | |
| bool RTTP::roundConsistency() | |
| { | |
| /*for (size_t d = 0; d < (size_t)this->numberOfDays; d++) | |
| { |
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
| function res = combinatoria(n,r) | |
| % Esta es una combinatoria especial, dado que n es un | |
| % polinomio y r es un escalar (para el caso de newton | |
| % adelantado y atrasado) | |
| res = n; % Aca almacenaremos el resultado. | |
| for i=1:r-1 | |
| res = res * (n - i); | |
| end |
NewerOlder