View Makefile
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
SRC := Brightscape.mov FUNK-instagram-mockup.mp4 | |
SRC_MOV := $(filter %.mov,$(SRC)) | |
SRC_MP4 := $(filter %.mp4,$(SRC)) | |
JPG := $(patsubst %.mov, out/%-vid.jpg, $(SRC_MOV)) $(patsubst %.mp4, out/%-vid.jpg, $(SRC_MP4)) | |
MP4 := $(patsubst %.mov, out/%.mp4, $(SRC_MOV)) $(patsubst %.mp4, out/%.mp4, $(SRC_MP4)) | |
VP9 := $(patsubst %.mov, out/%.webm, $(SRC_MOV)) $(patsubst %.mp4, out/%.webm, $(SRC_MP4)) | |
.PHONY: all jpg mp4 vp9 |
View Makefile
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
.PHONY: all favicons lint lint-js lint-php lint-twig lint-css css-compile css-postcss | |
all: | |
@echo please see Makefile for available builds / commands | |
# optimise branding tiles and build the favicon | |
FAVICON_DIR := images/favicons | |
favicons: $(FAVICON_DIR)/favicon.ico |
View gf-email-route-by-country.php
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 | |
if (!defined('ABSPATH')) { | |
exit; | |
} | |
/** | |
* adapt notification rules based on country in Address field | |
* - set Send To email address to a trigger value | |
* - set Value to the address field ID |
View gf-countries-restrict.php
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 | |
/* | |
Plugin Name: GF Countries Restrict | |
Plugin URI: https://gist.github.com/webaware/2a9e72a94290fa8a9c7d6d60c9ae052a | |
Update URI: gf-countries-restrict | |
Description: restrict Gravity Forms addresses to USA, Canada | |
Version: 1 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
View gf-stripe-ignore-cc.php
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 | |
/* | |
Plugin Name: GF Stripe Ignore CC Fields | |
Plugin URI: https://gist.github.com/webaware/0488a4bed8d16627af4de52092a356a6 | |
Description: make GF Stripe add-on ignore credit card fields so that they can operate normally for other add-ons | |
Version: 1 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
View gf-country-usa.php
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 | |
/* | |
Plugin Name: GF Country USA | |
Plugin URI: https://gist.github.com/webaware/edba921af11f06bdfd5147bab806f591 | |
Description: change United States to USA in Gravity Forms addresses | |
Version: 1 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
View mininum_age_woo_checkout_hook.php
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
/** | |
* change position of Minimim Age question on WooCommerce checkout | |
* @param string $hook_name | |
* @return string | |
*/ | |
add_filter('mininum_age_woo_checkout_hook', function($hook_name) { | |
return 'woocommerce_checkout_order_review'; | |
}); |
View gf-country-as-code.php
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 | |
/* | |
Plugin Name: GF Country as Code | |
Plugin URI: https://gist.github.com/webaware/c5b624416ad4a5641daab54ba9c91a0a | |
Description: save the country subfield of an address as the country code | |
Version: 1 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
View Gruntfile.js
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
// add task to Gruntfile.js | |
shell: { | |
// @link https://github.com/sindresorhus/grunt-shell | |
favicon: { | |
options: { | |
execOptions: { | |
cwd: "./images/favicons" | |
} | |
}, | |
command: [ |
View edd-additional-api-info.php
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 | |
/* | |
Plugin Name: EDD Additional API Info | |
Plugin URI: https://gist.github.com/webaware/ccc2a77a8375da9ff02404b1fc033d05 | |
Description: supply additional info in the EDD Software Licensing API update info packet | |
Version: 1 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
NewerOlder