- install postgis
$ brew install postgis
- start PostgreSQL service
stop PostgreSQL service
$ brew services start postgres
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
// group | |
=group | |
&:after | |
content: "" | |
display: table | |
clear: both |
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
// media query break point | |
// if 1em == 16px then 40em == 640px | |
=media($point) | |
@if $point == "mobile" | |
@media (max-width: 40em) | |
@content | |
@else if $point == "mobile2x" | |
@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2), (min-resolution: 2dppx) | |
@content |
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
/* | |
* FLEX MIXINS | |
* | |
* NOTE: ! for reason to adapt the prefix | |
* | |
* | |
* Old Syntax / 2009 Syntax / Box Syntax / WD | |
* http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/ | |
* | |
* -webkit |
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
/* Functions */ | |
/* | |
* $c1 == $c2 | |
*/ | |
@function isSameColor($c1, $c2) | |
@return red($c1) == red($c2) and green($c1) == green($c2) and blue($c1) == blue($c2) | |
/* | |
* Get Middle Color |