Original source Daniel Peukert - Gitlab
- all versions use GMT
PREFIX
.z_max3d.YYYYMMDD
.HHMM
.0.png- for all versions except Meteor and radareu.cz
import {Component} from '@angular/core'; | |
import {Platform, ionicBootstrap} from 'ionic-angular'; | |
import {StatusBar} from 'ionic-native'; | |
import {TabsDashboardPage} from './pages/tabs-dashboard/tabs-dashboard'; | |
import {DeepLinkProvider} from './providers/deep-link-provider/deep-link-provider'; | |
@Component({ | |
templateUrl: './build/app.html' | |
}) | |
export class MyApp { |
{"lastUpload":"2022-03-21T14:03:50.078Z","extensionVersion":"v3.4.3"} |
autoload -U add-zsh-hook | |
load-nvmrc() { | |
local node_version="$(nvm version)" | |
local nvmrc_path="$(nvm_find_nvmrc)" | |
if [ -n "$nvmrc_path" ]; then | |
local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")") | |
if [ "$nvmrc_node_version" = "N/A" ]; then | |
nvm install |
// There is incomparability in results between nodejs and window SubtleCrypto api. | |
// window.crypto.subtle.importKey (CryptoKey) cannot be used by `crypto-browserify`.Verify | |
// The only common format of publicKey is PEM. | |
const verifySignature = async (rawKey: Buffer, data: Uint8Array, signature: Uint8Array) => { | |
const signer = crypto.createVerify('sha256'); | |
signer.update(Buffer.from(data)); | |
// use native SubtleCrypto api. | |
// Unfortunately `crypto-browserify`.subtle polyfill is missing so needs to be referenced directly from window object (if exists) | |
// https://github.com/browserify/crypto-browserify/issues/221 |
WARN Possible Unhandled Promise Rejection (id: 23): | |
RangeError: Maximum call stack size exceeded (native stack depth) | |
RangeError: Maximum call stack size exceeded (native stack depth) | |
at apply (native) | |
at reactConsoleErrorHandler (http://localhost:8081/index.js.bundle?platform=android&dev=true&minify=false&app=io.trezor.suite.debug&modulesOnly=false&runModule=true:20011:46) | |
at apply (native) | |
at anonymous (http://localhost:8081/index.js.bundle?platform=android&dev=true&minify=false&app=io.trezor.suite.debug&modulesOnly=false&runModule=true:30468:35) | |
at apply (native) | |
at registerError (http://localhost:8081/index.js.bundle?platform=android&dev=true&minify=false&app=io.trezor.suite.debug&modulesOnly=false&runModule=true:20443:35) | |
at apply (native) |
function utf8ToBytes(string, unitsInput) { | |
let units; | |
// Mimic the polyfill's `units = units || Infinity` behavior for common falsy values | |
// that would lead to `Infinity` in the original. | |
if (unitsInput === undefined || | |
unitsInput === null || | |
unitsInput === 0 || // Original `|| Infinity` makes 0 effectively Infinity | |
(typeof unitsInput === 'number' && Number.isNaN(unitsInput))) { | |
units = Infinity; |
Original source Daniel Peukert - Gitlab
PREFIX
.z_max3d.YYYYMMDD
.HHMM
.0.png