Skip to content

Instantly share code, notes, and snippets.

@intelliot
intelliot / PRIVACY.md
Created June 22, 2026 18:00
Boba Blast: Pearl Pop! Privacy Policy

Boba Blast: Pearl Pop! Privacy Policy

Last updated: June 22, 2026

Boba Blast: Pearl Pop! does not collect personal data.

The app stores gameplay progress, settings, lives, event progress, and virtual currency locally on your device. This local data is used only to run the game experience and is not transmitted to Tiny Terabyte Ltd.

The app may offer optional in-app purchases. Purchases are processed by Apple through the App Store. Tiny Terabyte Ltd does not receive your payment card information.

Where is the code in rippled to generate an NFT ID (NFTokenID) from a mint txn?

With XLS-20, the NFTokenID is generated from a mint transaction here:

uint256
NFTokenMint::createNFTokenID(
    std::uint16_t flags,
    std::uint16_t fee,
    AccountID const& issuer,
@intelliot
intelliot / ripple-latest-min.js
Created October 11, 2021 03:15
ripple-lib 1.9.1 browser build
/*! For license information please see ripple-latest-min.js.LICENSE.txt */
var ripple;ripple=(()=>{var e={4419:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||functio
@intelliot
intelliot / gist:b4aa449977632eacd35582f80c0de2c4
Created October 10, 2021 18:25
Rust cargo build-bpf - feature `edition2021` is required
cargo build-bpf
Failed to obtain package metadata: Error during execution of `cargo metadata`: error: failed to parse manifest at `/Users/elliot/solana/smart-contract/Cargo.toml`
Caused by:
feature `edition2021` is required
The package requires the Cargo feature called `edition2021`, but that feature is not stabilized in this version of Cargo (1.55.0 (32da73ab1 2021-08-23)).
Consider trying a newer version of Cargo (this may require the nightly release).
See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2021 for more information about the status of this feature.
@intelliot
intelliot / gist:9213e1af20c91a2d4b30ce4ffc76d96e
Created August 10, 2021 19:02
How can users see that an account was blackholed?
- The Regular Key is set to a blackhole address
- The Master Key is disabled
- The account does not have a signer list
@intelliot
intelliot / token.js
Created March 16, 2021 23:16
Code from RippleXDev Twitch episode on March 16, 2021
// Code from RippleXDev Twitch episode on March 16, 2021
//
// Code is provided "as is" and solely for informational purposes only.
// Warning: Use at your own risk.
// Install dependencies:
// npm install bignumber.js ripple-lib
//
// Milliseconds between checks for transaction validation
@intelliot
intelliot / exarpy.js
Created February 5, 2021 05:15
Exarpy Wallet PIN to Secret Key Conversion Code
var customFunctionTestPin = function (customArgPin) {
if (customArgPin.length !== 16) {
document.getElementById('warning').innerHTML = "<strong>Invalid PIN:</strong> Your PIN should be 16 numbers, separated by commas.";
return false;
}
for (var customIterator1 = 0; customIterator1 < 16; customIterator1 += 1) {
if (customArgPin[customIterator1] < 0 || customArgPin[customIterator1] > 255) {
document.getElementById('warning').innerHTML = "<strong>Invalid PIN:</strong> Every PIN value must be between 0 and 255, inclusive.";
return false;
}
@intelliot
intelliot / fix-ERROR-root-code-for-hash-md5-was-not-found.md
Created June 5, 2020 05:15
Fix "ERROR:root:code for hash md5 was not found."

If you get this error:

ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
@intelliot
intelliot / fix-ERROR-root-code-for-hash-md5-was-not-found.md
Created June 5, 2020 05:15
Fix "ERROR:root:code for hash md5 was not found."

If you get this error:

ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
@intelliot
intelliot / fix-ERROR-root-code-for-hash-md5-was-not-found.md
Created June 5, 2020 05:14
Fix "ERROR:root:code for hash md5 was not found."

If you get this error:

ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5