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
name: Unique namespaces in custom XML | |
description: Tests to see if there is only one XML part for a specified namespace. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: > | |
$("#create-custom-xml-part").click(() => tryCatch(createCustomXmlPart)); | |
$("#test-for-unique-namespace").click(() => | |
tryCatch(testForUniqueNamespace)); |
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
name: Basic custom function | |
description: Calculates the volume of a sphere. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
/** | |
* Searches and creates snips for the results |
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
pragma solidity ^0.4.8; | |
contract AppendOnly { | |
bytes32 tip; | |
function AppendOnly(bytes32 tail) { | |
tip = tail | |
} | |
function join(newHash) { |
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
var Client = require('bitcore-wallet-client'); | |
var BWS_INSTANCE_URL = 'https://bws.bitpay.com/bws/api' | |
var secret = process.argv[2]; | |
var client = new Client({ | |
baseUrl: BWS_INSTANCE_URL, | |
verbose: false, | |
}); |