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
{ | |
"rules": { | |
"at-rule-empty-line-before": [ "always", { | |
"except": ["blockless-after-same-name-blockless", "first-nested"] | |
} ], | |
"at-rule-name-case": "lower", | |
"at-rule-name-newline-after": "always-multi-line", | |
"at-rule-name-space-after": "always-single-line", | |
"at-rule-semicolon-space-before": "never", | |
"block-no-empty": 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
// change to false if its not imported into bootstrap | |
$use-bootstrap: true; | |
// margin and padding values array | |
$space-values : ( | |
5, | |
10, | |
15, | |
20, | |
30, |
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
# Find downloads at: https://helpx.adobe.com/air/kb/archived-air-sdk-version.html | |
class AdobeAirSdk < Formula | |
homepage "https://www.adobe.com/devnet/air/air-sdk-download.html" | |
url "http://airdownload.adobe.com/air/mac/download/19.0/AIRSDK_Compiler.tbz2" | |
version "19.0.0.190" | |
sha256 "a724d7cae0f9602551e714a9e7ac77217e027de0bb957c9dad4f5596ea5d2c8c" | |
# conflicts_with "adobe-air-sdk-flex" | |
def install |
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
adjustLightness = (color,percent) -> | |
num = parseInt(color.slice(1),16) | |
amt = Math.round(2.55 * percent) | |
R = (num >> 16) + amt | |
B = (num >> 8 & 0x00FF) + amt | |
G = (num & 0x0000FF) + amt | |
"#" + (0x1000000 + | |
(if R<255 then (if R<1 then 0 else R) else 255)*0x10000 + | |
(if B<255 then (if B<1 then 0 else B) else 255)*0x100 + | |
(if G<255 then (if G<1 then 0 else G) else 255) |
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
# config/environment.rb | |
# Set Selenium to use Chrome browser | |
# Make sure to have chromedriver: brew install chromedriver | |
Capybara.register_driver :selenium_chrome do |app| | |
Capybara::Selenium::Driver.new(app, :browser => :chrome) | |
end | |
Capybara.javascript_driver = :selenium_chrome |