All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
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: Live API | |
*/ | |
add_action( 'init', function(){ | |
add_shortcode( 'live_api', 'live_api_shortcode' ); | |
}); | |
function live_api_shortcode() { |
This is a sample script for inserting a text on an image using Google Apps Script.
You can see the demonstration video at https://tanaikech.github.io/2020/10/13/inserting-text-on-image-using-google-apps-script/
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 | |
namespace Simple_Product_Subscriptions; | |
class Cart { | |
/** | |
* Cart Hooks |
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 | |
// Add the code below to your functions.php file. Will be included in GravityView 2.9 release. | |
add_action( 'gravityflow_post_process_workflow', 'gv_clear_cache_after_workflow', 10, 4 ); | |
/** | |
* Clears GravityView entry cache after running a Gravity Flow Workflow | |
* | |
* Thanks to @CodenomadIndia for improved code! |
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 | |
/** | |
* WordPress Ajax Process Execution | |
* | |
* This file is a near-identical copy of {@see wp-admin/admin-ajax.php} from WordPress v6.3.0. | |
* | |
* Differences: | |
* 1. Constant `WP_ADMIN` is set to FALSE, by default. | |
* 2. WordPress action 'admin_init' is replaced with custom action 'ajax_init'. | |
* 4. Custom actions hooked on 'admin_init' are not executed. |
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_filter( 'wpmdb_preserved_options', function( $options ) { | |
$opts = [ | |
'mainwp_child_uniqueId', | |
'mainwp_child_pubkey', | |
'mainwp_child_server', | |
'mainwp_child_nonce' | |
]; | |
return array_merge($options, $opts); | |
}); |
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 Editable by Radley | |
Description: Example classes to make a particular gravity form editable on the front-end. | |
Author: Radley Sustaire | |
Author URI: https://radleysustaire.com/ | |
Version: 1.0.0 | |
*/ | |
// QUICK TEST INSTRUCTIONS: |
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 | |
/** | |
* Gravity Perks // Populate Anything // Force Dynamic Population When Editing via Gravity View | |
* http://gravitywiz.com/documentation/gravity-forms-populate-anything/ | |
*/ | |
add_filter( 'gravityview/edit_entry/field_value', function( $field_value, $field ) { | |
// Update "123" to your form ID and "4" to your field ID. | |
if ( $field->formId == 123 && $field->id == 4 ) { | |
if ( isset( $GLOBALS['gppa-field-values'] ) ) { | |
$hydrated_field = gp_populate_anything()->hydrate_field( $field, GFAPI::get_form( $field->formId ), array(), null, false ); |
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: Defer WooCommerce emails for a few minutes (use Action Scheduler) | |
Plugin URI: https://www.damiencarbery.com/2020/04/defer-woocommerce-emails-for-a-few-minutes/ | |
Description: Defer WooCommerce emails for a specified time after the normal delivery time. Use Action Scheduler instead of WP Cron. Call do_action() instead of remove_action() and calling trigger. | |
Author: Damien Carbery | |
Author URI: https://www.damiencarbery.com | |
Version: 0.8 | |
*/ |
NewerOlder