jq is useful to slice, filter, map and transform structured json data.
brew install jq
| .gform_wrapper ul { | |
| @extend .list-unstyled; | |
| } | |
| .gform_wrapper li { | |
| @extend .form-group; | |
| } | |
| .gform_wrapper form { | |
| margin-bottom: 0; |
| body { | |
| white-space: pre; | |
| font-family: monospace; | |
| font-size: 1.2em; /* I like big fonts, if you don't remove this line */ | |
| background: #272822; | |
| color: #f8f8f2; | |
| } | |
| .property { | |
| font-weight: auto; |
| --- | |
| - name: Sync uploads between environments | |
| hosts: web | |
| remote_user: "{{ web_user }}" | |
| vars: | |
| project: "{{ wordpress_sites[site] }}" | |
| project_root: "{{ www_root }}/{{ site }}" | |
| tasks: |
| /** | |
| * Copy of Excel's PMT function. | |
| * Credit: http://stackoverflow.com/questions/2094967/excel-pmt-function-in-js | |
| * | |
| * @param rate_per_period The interest rate for the loan. | |
| * @param number_of_payments The total number of payments for the loan in months. | |
| * @param present_value The present value, or the total amount that a series of future payments is worth now; | |
| * Also known as the principal. | |
| * @param future_value The future value, or a cash balance you want to attain after the last payment is made. | |
| * If fv is omitted, it is assumed to be 0 (zero), that is, the future value of a loan is 0. |
##Sass Functions Cheat Sheet
| .gform_validation_container, | |
| .gform_wrapper .gform_validation_container, | |
| body .gform_wrapper li.gform_validation_container, | |
| body .gform_wrapper .gform_body ul.gform_fields li.gfield.gform_validation_container, | |
| body .gform_wrapper ul.gform_fields li.gfield.gform_validation_container { | |
| display: none !important; | |
| position: absolute !important; | |
| left: -9000px; | |
| } |
| <?php namespace GM; | |
| class PointersManager implements PointersManagerInterface { | |
| private $pfile; | |
| private $version; | |
| private $prefix; | |
| private $pointers = array(); | |
| public function __construct( $file, $version, $prefix ) { |