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
/* 'rem' is a Sass mixin that converts pixel values to rem values | |
* Returns 2 lines of code — regular pixel values and converted rem values | |
* | |
* Sample input: | |
* .element { | |
* @include rem('padding',10px 0 2px 5px); } | |
* | |
* Sample output: | |
* .element { | |
* padding: 10px 0 2px 5px; |
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
#!/bin/bash | |
while getopts ":h:p:a:d:l:" opt; do | |
case $opt in | |
h) | |
HOST="$OPTARG" | |
;; | |
p) | |
PORT="$OPTARG" | |
;; |