type: PIN
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
type: PIN
Consumer key: IQKbtAYlXLripLGPWd0HUA
| add_filter( 'woocommerce_product_get_tax_class', 'big_apple_get_tax_class', 1, 2 ); | |
| function big_apple_get_tax_class( $tax_class, $product ) { | |
| if ( WC()->cart->subtotal <= 110 ) | |
| $tax_class = 'Zero Rate'; | |
| return $tax_class; | |
| } |
| // ==UserScript== | |
| // @name A8C - Once key field auto-filler | |
| // @namespace http://automattic.com/ | |
| // @version 0.1 | |
| // @description Pre-fill Once fields | |
| // @author Remi Corson | |
| // @match https://mc.a8c.com/once/* | |
| // @require http://code.jquery.com/jquery-latest.js | |
| // @grant none | |
| // ==/UserScript== |
| <?php | |
| class My_Custom_My_Account_Endpoint { | |
| /** | |
| * Custom endpoint name. | |
| * | |
| * @var string | |
| */ | |
| public static $endpoint = 'my-custom-endpoint'; |
| #!/bin/sh | |
| # script to check for complete torrents in transmission folder, then stop and move them | |
| # either hard-code the MOVEDIR variable here… | |
| MOVEDIR=/home/mjdescy/media # the folder to move completed downloads to | |
| # …or set MOVEDIR using the first command-line argument | |
| # MOVEDIR=%1 | |
| # use transmission-remote to get torrent list from transmission-remote list | |
| # use sed to delete first / last line of output, and remove leading spaces | |
| # use cut to get first field from each line |