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
/** | |
* @by SwiftOtter, Inc. 12/13/17 | |
* @website https://swiftotter.com | |
* | |
* Aspects: handles non-supporting browsers; integrates with smooth scrolling; maps parent links to related sections; with an | |
* optional attribute taking precedence if supplied; gracefully handles multiple sections per link if present; | |
* accommodates browser idiosyncrasies; disables link highlighting when link clicked and during scroll; | |
* adds class to navbar when stuck | |
**/ |
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
@keyframes flash { | |
0% { | |
transform: scale(0.1); | |
opacity: 1; | |
} | |
80% { | |
transform: scale(2); | |
opacity: 1; | |
} |
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 | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/osl-3.0.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
# Save this and drag it onto puphpet.com as a start. Note that you should adjust the memory and CPUs and other things depending on your environment. | |
# Expects everything related to this vagrant instance to be in ./vagrant in relation to the rest of the project. | |
vagrantfile: | |
target: local | |
vm: | |
provider: | |
local: | |
box: puphpet/centos65-x64 | |
box_url: puphpet/centos65-x64 |
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
var InputHandler = function InputHandler() { | |
var inputs = document.querySelectorAll('input'), | |
i = 0; | |
for (i; i < inputs.length; i++) { | |
inputs[i].addEventListener('focus', this.handleLabelState); | |
inputs[i].addEventListener('blur', this.handleLabelState); | |
} | |
}; |
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 was a very rudimentry start but since I hadn't gotten to finishing, I'm posting it now. | |
require(__DIR__ . '/../FizzBuzz.php'); | |
class FizzBuzzTest extends PHPUnit_Framework_TestCase | |
{ | |
private $fizzBuzzOutput; | |
public function __construct() | |
{ | |
$fizzBuzz = new FizzBuzz(); |
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
# You can use this template file to ignore core Wordpress files so that conflicts don't arise as a result | |
# of upgrading Wordpress to a newer version. | |
# Note: the ! excludes files from being ignored. In other words the ! INCLUDES those files in the repository. | |
# Make sure we don't have any unneeded files in our git repo. | |
/*.php | |
/*.sh | |
/*.html | |
/*.txt | |
/wp-config.php |