Skip to content

Instantly share code, notes, and snippets.

View mandelmonkey's full-sized avatar

Christian Moss mandelmonkey

View GitHub Profile
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function requestProvider(_) {
if (_ === void 0) { _ = {}; }
if (typeof window === 'undefined') {
throw new Error('Must be called in a browser context');
}
var webln = window.webln;
if (!webln) {
[WARN] W/System.err: io.grpc.StatusRuntimeException: UNAVAILABLE
[WARN] W/System.err: at io.grpc.Status.asRuntimeException(Status.java:526)
[WARN] W/System.err: at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:434)
[WARN] W/System.err: at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
[WARN] W/System.err: at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
[WARN] W/System.err: at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
[WARN] W/System.err: at io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.onClose(CensusStatsModule.java:678)
[WARN] W/System.err: at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
[WARN] W/System.err: at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
travis_fold:start:worker_info
Worker information
hostname: e29debc8-d6f4-463c-8697-98939ba25625@1.worker-com-7dbdb678b6-wq788.macstadium-prod-2
version: v6.2.0 https://github.com/travis-ci/worker/tree/5e5476e01646095f48eec13196fdb3faf8f5cbf7
instance: 49f13533-0c46-47fe-8657-8c553a6675f7 travis-ci-macos10.14-xcode11.2b-1570201356 (via amqp)
startup: 1m9.893457185s
travis_fold:end:worker_info
travis_time:start:065634c2
travis_time:end:065634c2:start=1573929637578114000,finish=1573929638477444000,duration=899330000,event=no_world_writable_dirs
travis_time:start:23512ec0
This file has been truncated, but you can view the full file.
travis_fold:start:worker_info
Worker information
hostname: 9a56a2ad-ed6f-4d25-ac39-02ecb69bfefb@1.worker-com-79d58db94b-xct5q.macstadium-prod-1
version: v6.2.0 https://github.com/travis-ci/worker/tree/5e5476e01646095f48eec13196fdb3faf8f5cbf7
instance: fbe53663-be96-4f87-9519-0e40b04217e1 travis-ci-macos10.14-xcode11.2b-1570201356 (via amqp)
startup: 1m10.381449384s
travis_fold:end:worker_info
travis_time:start:068c1f5d
travis_time:end:068c1f5d:start=1573950791259535000,finish=1573950791916835000,duration=657300000,event=no_world_writable_dirs
travis_time:start:031df5e0
[debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[debug] [XCUITest] Capability 'useNewWDA' set to true, so uninstalling WDA before proceeding
[XCUITest] Shutting down sub-processes
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] The simulator has '' which have 'WebDriverAgentRunner-Runner' as their 'CFBundleName'
jobs:
include:
- stage: android
sudo: true
os: linux
dist: bionic
addons:
apt:
packages:
- bridge-utils
jobs:
include:
- stage: android
sudo: true
os: linux
dist: bionic
addons:
apt:
packages:
- bridge-utils
using System;
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using ZbdUnitySDK.Logging;
using ZbdUnitySDK;
using System.Threading;
using System.Threading.Tasks;
using ZbdUnitySDK.Models;
@mandelmonkey
mandelmonkey / Zebedee Adventure Game Appendix
Last active January 9, 2022 19:35
Appendix for the Zebedee Adventure Game Tutorial
SceneController.cs
using System;
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using ZbdUnitySDK.Logging;
using ZbdUnitySDK;
using System.Threading;
@mandelmonkey
mandelmonkey / Shield PlayFab Script
Created March 10, 2023 18:40
Connect to shield from PlayFab Cloud Script
!function t(e,r,i){function n(s,a){if(!r[s]){if(!e[s]){var f="function"==typeof require&&require;if(!a&&f)return f(s,!0);if(o)return o(s,!0);var h=new Error("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var u=r[s]={exports:{}};e[s][0].call(u.exports,(function(t){return n(e[s][1][t]||t)}),u,u.exports,t,e,r,i)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<i.length;s++)n(i[s]);return n}({1:[function(t,e,r){"use strict";const i=r;i.bignum=t("bn.js"),i.define=t("./asn1/api").define,i.base=t("./asn1/base"),i.constants=t("./asn1/constants"),i.decoders=t("./asn1/decoders"),i.encoders=t("./asn1/encoders")},{"./asn1/api":2,"./asn1/base":4,"./asn1/constants":8,"./asn1/decoders":10,"./asn1/encoders":13,"bn.js":15}],2:[function(t,e,r){"use strict";const i=t("./encoders"),n=t("./decoders"),o=t("inherits");function s(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}r.define=function(t,e){return new s(t,e)},s.prototype._createNamed=function(t){const e=this.name;functi