A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| Name | Stars | Last Commit | Description |
|---|---|---|---|
| three.js | ![GitHub |
| <?php | |
| /** | |
| * Given a valid file location (it must be an path starting with "/"), i.e. "/css/style.css", | |
| * it returns a string containing the file's mtime as query string, i.e. "/css/style.css?v=0123456789". | |
| * Otherwise, it returns the file location. | |
| * | |
| * @param $file the file to be loaded. | |
| */ | |
| function auto_version($file) { |
| <script> | |
| /** | |
| * Module to ajaxify all add to cart forms on the page. | |
| * | |
| * Copyright (c) 2015 Caroline Schnapp (11heavens.com) | |
| * Dual licensed under the MIT and GPL licenses: | |
| * http://www.opensource.org/licenses/mit-license.php | |
| * http://www.gnu.org/licenses/gpl.html | |
| * |
| <?php | |
| /** | |
| * The base configuration for WordPress | |
| * | |
| * The wp-config.php creation script uses this file during the | |
| * installation. You don't have to use the web site, you can | |
| * copy this file to "wp-config.php" and fill in the values. | |
| * | |
| * This file contains the following configurations: | |
| * |
| <?php | |
| add_action('woocommerce_widget_shopping_cart_before_buttons','ask_woo_mini_cart_before_buttons' ); | |
| function ask_woo_mini_cart_before_buttons(){ | |
| wp_nonce_field( 'woocommerce-cart' ); | |
| ?> | |
| <div class="submit-button"> | |
| <input type="submit" class="button" name="update_cart" value="<?php esc_attr_e('Uppdatera varukorg', 'tidymerch'); ?>"/> | |
| </div> | |
| <?php |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| Name | Stars | Last Commit | Description |
|---|---|---|---|
| three.js | ![GitHub |
| <script> | |
| // (c) Copyright 2016 Caroline Schnapp. All Rights Reserved. Contact: [email protected] | |
| // See https://docs.shopify.com/themes/customization/navigation/link-product-options-in-menus | |
| // Modified by Jonathan Moore (Style Hatch) https://github.com/jonathanmoore | |
| /* | |
| Updated to work with sectioned themes | |
| - Added required methods from the deprecated options_selection.js | |
| - Triggers an initial variant change | |
| - Hides sold out variants with only one option |
| <script>console.log({{ product | json }});</script> |
| // Update Mini Cart | |
| $.post( | |
| woocommerce_params.ajax_url, | |
| {'action': 'mode_theme_update_mini_cart'}, | |
| function(response) { | |
| $('#mode-mini-cart').html(response); | |
| } | |
| ); |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
| <?php | |
| /** | |
| * WooCommerce Ajax Handlers | |
| * | |
| * Handles AJAX requests via wp_ajax hook (both admin and front-end events) | |
| */ | |
| if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
| /** Frontend AJAX events **************************************************/ |