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
| /* iPhone 6 landscape */ | |
| @media only screen and (min-device-width: 375px) | |
| and (max-device-width: 667px) | |
| and (orientation: landscape) | |
| and (-webkit-min-device-pixel-ratio: 2) | |
| { } | |
| /* iPhone 6 portrait */ | |
| @media only screen | |
| and (min-device-width: 375px) |
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 pointer($background, $borderwidth, $bordercolor, $arrowsize, $arrowposition) { | |
| background: $background; | |
| border: $borderwidth solid $bordercolor; | |
| &:after, &:before { | |
| @if $arrowposition == 'top' { | |
| bottom: 100%; | |
| left: 50%; | |
| } | |
| @if $arrowposition == 'bottom' { | |
| top: 100%; |
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
| (<lastmod>)(.*)(</lastmod>) |
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
| <?php | |
| // finds the last URL segment | |
| $urlArray = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); | |
| $segments = explode('/', $urlArray); | |
| $numSegments = count($segments); | |
| $currentSegment = $segments[$numSegments - 1]; | |
| ?> | |
| <?php if ( $currentSegment == "index.php" ) { ?>active<?php } ?> |
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
| /*----------------------------------------*\ | |
| This is a collection of snippets from the | |
| A Book Apart publication "Sass For Web | |
| Designers", by Dan Cederholm. | |
| \*----------------------------------------*/ | |
| $width-small: 400px; | |
| $width-medium: 760px; | |
| $width-large: 1200px; |
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
| #!/bin/bash | |
| # installs and sets up homebrew, apache, mysql, and php on a mac | |
| echo '' | |
| echo 'Installing and configuring Homebrew.' | |
| echo '' | |
| # install homebrew | |
| ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
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
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
| import simplejson | |
| # Set up an array of the browsers we test on | |
| browser_array = [ | |
| {'browser': 'IE', 'browser_version': '8.0', 'os': 'Windows', 'os_version': '7', 'resolution': '1024x768'}, | |
| {'browser': 'IE', 'browser_version': '9.0', 'os': 'Windows', 'os_version': '7', 'resolution': '1024x768'}, | |
| {'browser': 'IE', 'browser_version': '10.0', 'os': 'Windows', 'os_version': '8', 'resolution': '1024x768'}, |
NewerOlder