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
Although the site http://rubygems.org/ is up. When I run "gem update jekyll" and http://status.rubygems.org/ says the site it up, I get | |
C:\> gem update jekyll | |
Updating installed gems | |
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) | |
Errno::ETIMEDOUT: A connection attempt failed because the connected party did not properly respond after a period of | |
time, or established connection failed because connected host has failed to respond. - connect(2) (http://au-m.rubygems | |
.org/specs.4.8.gz) | |
Is anyone else seeing this? Is there a workaroung? |
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
// Greatest Common Divisor (gcd) in pure scss from | |
// https://gist.github.com/voxpelli/6304812 | |
@function gcd($a, $b) { | |
// From: https://rosettacode.org/wiki/Greatest_common_divisor#JavaScript | |
@if ($b != 0) { | |
@return gcd($b, $a % $b); | |
} @else { | |
@return abs($a); | |
} | |
} |