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
| # DO NOT ERASE THIS LINE | |
| # This code was created by Pedro Maciel. | |
| class EmployeeSalaryResearch | |
| attr_reader :data | |
| def initialize | |
| @data = collect_data | |
| 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
| BookingContainer.all.each do |b| | |
| t = b.temperature | |
| next if t.blank? | |
| # We set the temperature to float if first character is a digit | |
| # else we set it to nil | |
| b.update_column(:temperature, (t[0] =~ /\d/ ? t.to_f : nil)) | |
| 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
| TruckVisit.all.each do |tv| | |
| t = tv.in_reefer_temperature | |
| next if t.blank? | |
| # we set the temperature to float if first character is a digit | |
| # else we set it to nil | |
| tv.update_column(:in_reefer_temperature, (t[0] =~ /\d/ ? t.to_f : nil)) | |
| 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
| The Epiphany (original lyrics below) | |
| In the beggining, it was only for some cents… | |
| That not truth, actually we were tired | |
| Of being treated like pigs | |
| Squeezed, suffocated | |
| We stand and struggled | |
| We took rubber bullets and got beaten | |
| For those who don't have any clue of who we are |
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
| @for $l from 0 through $color-levels | |
| $progress: ($l / $color-levels) * ($n-colors - 1) + 1 | |
| $color-a-index: floor($progress) | |
| $color-b-index: min($color-a-index + 1, $n-colors) | |
| $color-a: nth($colors, $color-a-index) | |
| $color-b: nth($colors, $color-b-index) | |
| $mix: percentage($progress - $color-a-index) | |
| $bg-color: mix($color-b, $color-a, $mix) | |
| .color-level-#{$l} |
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
| var extend = function(child, parent) { | |
| for (var key in parent) { | |
| if (hasProp.call(parent, key)) child[key] = parent[key]; | |
| } | |
| function ctor() { | |
| this.constructor = child; | |
| } | |
| ctor.prototype = parent.prototype; |
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
| 2016-04-16 at 17-26-06.CR2 | |
| 2016-04-16 at 17-33-58.CR2 | |
| 2016-04-16 at 17-26-07.CR2 | |
| 2016-04-16 at 17-34-03 (1).CR2 | |
| 2016-04-16 at 17-26-11.CR2 | |
| 2016-04-16 at 17-34-03.CR2 | |
| 2016-04-16 at 17-31-25.CR2 | |
| 2016-04-16 at 17-34-08 (1).CR2 | |
| 2016-04-16 at 17-31-27.CR2 | |
| 2016-04-16 at 17-34-08.CR2 |
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
| $LOAD_PATH.unshift(File.dirname(__FILE__)) | |
| require "java" | |
| require "jrubyfx" | |
| require "forest_generator" | |
| fxml_root File.dirname(__FILE__) | |
| class Main < JRubyFX::Application | |
| def start(stage) |
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
| AXÉ, MEU POVO! | |
| Se liga que o papo hoje é sobre Falsa simetria. Apesar da "inspiração" deste ep ter sido o polêmico grito de "White Power" do Phil Anselmo, acabou que ele vai calhar muito bem pra quem acha que vestir um garoto negro de abu no carnaval está tranquilo e favorável. Pois é gente, não é bem assim, mas calma e vem com a gente, aumenta o som que a gente explica. | |
| Comentários, dúvidas, críticas, sugestões, declarações de amor? Pode jogar aqui: contato@ladoblack.com.br. | |
| Os links: Comediante falando sobre racismo reverso: http://youtu.be/crCCQIWSx68 | |
| Diferenças entre os comentários sobre o evento das ruivas e sobre o evento do orgulho crespo: http://goo.gl/dNWdZi |
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
| erb: | |
| <p>You can also embed html in the text line</p> | |
| <pre class="code slim"><code class="slim">- articles.each do |a| | |
| | <tr><td>#{a.name}</td><td>#{a.description}</td></tr> | |
| </code></pre> | |
| <h3>Verbatim text with trailing white space <code>'</code></h3> | |
| <p>The single quote tells Slim to copy the line (similar to <code>|</code>), but makes sure that a single trailing white space is appended.</p> |