This file contains 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
<span id="cd-title"> | |
Vanacast - The Last Roundup | |
</span> |
This file contains 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
# true_love.rb | |
class Zeeraw; def self.+(other); other == Tenderlove; end; end | |
class Tenderlove; def self.+(other); other == Zeeraw; end; end | |
# $ irb | |
# require './true_love.rb' | |
# irb> Zeeraw + Tenderlove | |
# irb> => true |
This file contains 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
@each $vendor in -webkit-, -moz-, -ms-, -o-, "" | |
#{$vendor}transform: skew(-5deg) rotate(-5deg) | |
@each $vendor in -webkit-, -moz-, "" | |
#{$vendor}box-shadow: 0 6px 12px rgba(0, 0, 0, .2) |
This file contains 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 $i from 1 through 12 | |
$iUnitWidth: ($columnWidth + $gutterWidth) | |
$iMinWidth: ($i) * $iUnitWidth | |
$iMaxWidth: $iMinWidth + ($iUnitWidth - 1px) | |
@media (min-width: $iMinWidth) and (max-width: $iMaxWidth) | |
// ... grid code ... |
This file contains 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
/console SET CombatLogRangeParty "200" | |
/console SET CombatLogRangePartyPet "200" | |
/console SET CombatLogRangeFriendlyPlayers "200" | |
/console SET CombatLogRangeFriendlyPlayersPets "200" | |
/console SET CombatLogRangeHostilePlayers "200" | |
/console SET CombatLogRangeHostilePlayersPets "200" | |
/console SET CombatLogRangeCreature "200" |
This file contains 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
class Awesome; end | |
class MacBook < Awesome; end | |
def (money) | |
return MacBook.new if money.enough? | |
end |
This file contains 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
STREET = /(?<street>[^\d\,]{2,})/i | |
NUMBER = /(?<box>[\d]{2,5})/i | |
addresses = [ | |
"BRAY PARK 4500", | |
"BRAY PARK, 4500", | |
"4500 BRAY PARK", | |
"4500, BRAY PARK" | |
] |
This file contains 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
en: | |
hello: "World" | |
sv: | |
hello: "Världen" |
This file contains 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
class Admin::RootController < AdminController | |
def index | |
start_at = 30.days.ago | |
end_at = Date.today | |
@first_date = (start_at.to_i * 1000) | |
@samples = Sample.where(:date.gte => start_at.to_date.to_s, :date.lte => end_at.to_date.to_s).order_by(date: :asc) |
This file contains 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
class AvatarUploader < CarrierWave::Uploader::Base | |
include CarrierWave::MiniMagick | |
process :resize_to_fill => [200, 200] | |
process :convert => 'png' | |
end |
OlderNewer