This file contains hidden or 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
| { | |
| "last_node_id": 50, | |
| "last_link_id": 78, | |
| "nodes": [ | |
| { | |
| "id": 28, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 870, | |
| 30 |
This file contains hidden or 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
| { | |
| "last_node_id": 49, | |
| "last_link_id": 74, | |
| "nodes": [ | |
| { | |
| "id": 28, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 870, | |
| 30 |
This file contains hidden or 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
| { | |
| "last_node_id": 43, | |
| "last_link_id": 65, | |
| "nodes": [ | |
| { | |
| "id": 26, | |
| "type": "Reroute", | |
| "pos": [ | |
| -520, | |
| -60 |
This file contains hidden or 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
| { | |
| "last_node_id": 40, | |
| "last_link_id": 61, | |
| "nodes": [ | |
| { | |
| "id": 26, | |
| "type": "Reroute", | |
| "pos": [ | |
| -520, | |
| -60 |
This file contains hidden or 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
| { | |
| "last_node_id": 446, | |
| "last_link_id": 711, | |
| "nodes": [ | |
| { | |
| "id": 416, | |
| "type": "CLIPTextEncode", | |
| "pos": [ | |
| 0, | |
| 30 |
This file contains hidden or 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
| { | |
| "last_node_id": 190, | |
| "last_link_id": 390, | |
| "nodes": [ | |
| { | |
| "id": 6, | |
| "type": "CLIPSetLastLayer", | |
| "pos": [ | |
| 360, | |
| 50 |
This file contains hidden or 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
| # The 24th Word - a tool for a fully offline wallet generation (run on an airgapped machine) | |
| import os | |
| import sys | |
| import hashlib | |
| import binascii | |
| class Bip39Check(object): | |
| def __init__(self, language): | |
| self.radix = 2048 |
This file contains hidden or 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
| /** | |
| * @param {import('stream').Stream} stream | |
| */ | |
| async function streamToBuffer(stream) { | |
| const chunks = []; | |
| return new Promise((resolve, reject) => { | |
| stream.on('data', (chunk) => chunks.push(Buffer.from(chunk))); | |
| stream.on('error', (err) => reject(err)); | |
| stream.on('end', () => resolve(Buffer.concat(chunks))); | |
| }); |
This file contains hidden or 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
| console.log('gist name') | |
| console.log('rv1') | |
| console.log('rv2') |
This file contains hidden or 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
| [ | |
| { | |
| "title": "ผัดไทย", | |
| "subtitle": "เมนูแบบไทยดังไกลทั่วโลก", | |
| "image_id": "518035", | |
| "create_at": "1622512759", | |
| "ingredients": [ | |
| { | |
| "name": "เส้นจันท์", | |
| "amount": "250", |