https://github.com/rg3/youtube-dl/
apt-get install libav-tools ffmpeg # Linux (either one of either should do) brew install ffmpeg # OSX choco install ffmpeg # Windows
/** | |
* Add a 1% surcharge to your cart / checkout | |
* change the $percentage to set the surcharge to a value to suit | |
*/ | |
add_action( 'woocommerce_cart_calculate_fees','woocommerce_custom_surcharge' ); | |
function woocommerce_custom_surcharge() { | |
global $woocommerce; | |
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) | |
return; |
1. Create a new directory; | |
mkdir Apple\ Enterprise | |
cd Apple\ Enterprise | |
2. Generate a certificate signing request | |
openssl req -nodes -newkey rsa:2048 -keyout aps.key -out CertificateSigningRequest.certSigningRequest | |
3. With the information like so (ensure you give it a password): | |
Country Name (2 letter code) [AU]:GB | |
State or Province Name (full name) [Some-State]:London |
<?php | |
/** | |
* Gravity Wiz // Gravity Forms // Validate that a Value Exists | |
* | |
* Ensure that a value entered in Form A has been previously submitted on Form B. This is useful if you're generating a reference number of some sort | |
* on Form B and would like the user to enter it on Form A. | |
* | |
* @version 1.8 | |
* @author David Smith <[email protected]> | |
* @license GPL-2.0+ |
https://github.com/rg3/youtube-dl/
apt-get install libav-tools ffmpeg # Linux (either one of either should do) brew install ffmpeg # OSX choco install ffmpeg # Windows
<?php | |
$args = array( | |
'post_status'=>'publish', | |
'post_type'=>array(TribeEvents::POSTTYPE), | |
'posts_per_page'=>10, | |
//order by startdate from newest to oldest | |
'meta_key'=>'_EventStartDate', | |
'orderby'=>'_EventStartDate', | |
'order'=>'DESC', |