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
brew install libjpeg | |
brew install pcre | |
brew install libxml2 | |
brew install mcrypt |
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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"caret_style": "wide", | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", |
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
@mixin vendorize($property, $value) { | |
-webkit-#{$property}: $value; | |
-moz-#{$property}: $value; | |
-ms-#{$property}: $value; | |
-o-#{$property}: $value; | |
#{$property}: $value; | |
} |
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
@mixin clear() { | |
&:before, &:after { | |
content: "\0020"; | |
display: block; | |
height: 0; | |
overflow: hidden; | |
} | |
&:after { | |
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
@mixin linkTextOffscreen() { | |
text-indent: 100%; | |
white-space: nowrap; | |
overflow: hidden; | |
} |
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
.clearfix:before, | |
.clearfix:after { | |
content: " "; | |
display: table; | |
} | |
.clearfix:after { | |
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
!(function(window, document, undefined) { | |
"use strict"; | |
})(window, document); |
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
server { | |
listen 443 ssl http2; | |
server_name domain.tld; | |
root /srv/www/domain.tld/pubic; | |
# Paths to certificate files. | |
ssl_certificate /etc/ssl/ssl.com.crt; | |
ssl_certificate_key /etc/ssl/ssl.com.key; |
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
<script> | |
function lazyLoadJavaScript() { | |
var scripts = document.createElement("script"), | |
jquery = document.createElement("script"); | |
scripts.src = "{{ source to your custom scripts }}"; | |
jquery.src = "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"; | |
document.body.appendChild(jquery); | |
document.body.appendChild(scripts); | |
} | |
if (window.addEventListener) |
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
/* Set up a variable for maths */ | |
$doc-font-size: 16; | |
/* the font-size mixin */ | |
@mixin font-size($size) { | |
font-size: 0px + $size; | |
font-size: 0rem + $size / $doc-font-size; | |
} |