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
<application | |
... | |
android:usesCleartextTraffic="true" | |
android:networkSecurityConfig="@xml/network_security_config" | |
> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<network-security-config> | |
<domain-config cleartextTrafficPermitted="true"> | |
<domain includeSubdomains="false">localhost</domain> | |
<domain includeSubdomains="false">192.168.0.119</domain> | |
<domain includeSubdomains="false">192.168.0.106</domain> | |
<base-config cleartextTrafficPermitted="true"/> | |
</domain-config> | |
</network-security-config> |
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
mongod --dbpath /some/path |
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
[ | |
{ | |
"title": "ผัดไทย", | |
"subtitle": "เมนูแบบไทยดังไกลทั่วโลก", | |
"image_id": "518035", | |
"create_at": "1622512759", | |
"ingredients": [ | |
{ | |
"name": "เส้นจันท์", | |
"amount": "250", |
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
console.log('gist name') | |
console.log('rv1') | |
console.log('rv2') |
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
/** | |
* @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 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 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 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 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 |
OlderNewer