Skip to content

Instantly share code, notes, and snippets.

Tungamirai MiraiTunga

Block or report user

Report or block MiraiTunga

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MiraiTunga
MiraiTunga / reCaptchaV2-refresh.js
Created Apr 3, 2018
Prevents google recaptcha from timing out in Business catalyst and adds a refresh captcha link
View reCaptchaV2-refresh.js
//add script to end of form
(function ($) {
$( window ).load(function() {
SetRefreshButton();
});
window.setInterval(function(){
reCaptchaV2Manager.onLoadHandler();
}, 120000);
@MiraiTunga
MiraiTunga / BigCommerceStoreCartDataInLocalStorage.js
Created Apr 3, 2018
Big Commerce Store Cart Data In Local Storage Then Push to gtm at later stage
View BigCommerceStoreCartDataInLocalStorage.js
//Added script to order-confrirmtion.html page
//store data after payment has been actioned
$("body").on("click","#checkout-payment-continue" ,function () {
var CratItems = {{{json cart.items}}};
var Cart = {{{json cart}}};
StoreCartItems(CratItems);
//console.log(localStorage.getItem('transactionItems'));
@MiraiTunga
MiraiTunga / ScoresRanked.cs
Last active Apr 3, 2018
Unity 3d Simple Score Board Manager
View ScoresRanked.cs
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace ScoreBoard
{
[Serializable]
You can’t perform that action at this time.