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
// Still need to work out how to combine rules for numbers | |
// that share a greatest common factor without the unit-builder | |
// actually containing the fraction to which they can both be | |
// reduced. | |
// Calculate the greatest common factor of two integers | |
@function gcf($a, $b) { | |
@if $b == 0 { | |
@return $a; | |
} |
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
<?php | |
/** | |
* This code is intended to be added to your wp-config.php file just below the top comment block. | |
* It should replace the existing define('DB_*') statements. You can add or remove sections | |
* depending on the number of environments you intend to setup. You should change all values of | |
* DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST for each environment, making them all distinct | |
* for security purposes. | |
*/ | |
// determine the current environment |
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
<script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script> | |
<script type="text/javascript" src="/js/jquery.validate.min.js"></script> | |
<script type="text/javascript" src="/js/jquery.validate.additional.js"></script> | |
<style> | |
li.error, label.error, p.error{color:#F00;} | |
#entryForm ol{list-style-type:none;} | |
#entryForm label{display:block; margin-top:6px;} | |
#entryForm label.error{margin-top:0px;} | |
</style> |
NewerOlder