Skip to content

Instantly share code, notes, and snippets.

View crizise's full-sized avatar

Kolomiitsev Olexii crizise

  • Kharkiv, Ukraine
View GitHub Profile
@JQL
JQL / NetBeans9Plugins
Last active May 11, 2021 05:08
How to add HTML, PHP and C++ plus other Plugins to Apache NetBeans 9.0 on Windows, MacOS and Linux.
__How to add HTML, PHP and C++ plus other Plugins to Apache NetBeans 9.0 on Windows, MacOS and Linux.__
### COMMANDS & LINKS: ###
NetBeans IDE 8.2 Plugin Centre : http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
NetBeans Transition from Oracle: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition
Apache Transition Documentation: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition
@DanielSantoro
DanielSantoro / ajaxify-cart.php
Last active November 22, 2022 13:34
AJAX Update Cart thats added to Template File Manually (
// Ensure cart contents update when products are added to the cart via AJAX (place the following in functions.php).
// Used in conjunction with https://gist.github.com/DanielSantoro/1d0dc206e242239624eb71b2636ab148
// Compatible with WooCommerce 3.0+. Thanks to Alex for assisting with an update!
function woocommerce_header_add_to_cart_fragment( $fragments ) {
global $woocommerce;
ob_start();
?>
@tomazzaman
tomazzaman / admin-testimonials.js
Last active July 28, 2018 07:34
How to create a testimonial widget with Backbone
var myWidgets = myWidgets || {};
// Model for a single testimonial
myWidgets.Testimonial = Backbone.Model.extend({
defaults: { 'quote': '', 'author': '' }
});
// Single view, responsible for rendering and manipulation of each single testimonial
myWidgets.TestimonialView = Backbone.View.extend( {