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
| const ua = navigator.userAgent.toLowerCase(); | |
| export function isWechat() { | |
| return /micromessenger/i.test(ua); | |
| } | |
| export function isAndroid() { | |
| return /android/i.test(ua); | |
| } |
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
| # -*- coding: utf-8 -*- | |
| """ | |
| A simple blockchain. | |
| """ | |
| import sys | |
| import requests | |
| import hashlib | |
| import json | |
| from urllib.parse import urlparse | |
| from time import time |
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
| Verifying my Blockstack ID is secured with the address 1LBRU2Pu2jQfXqVELfP3VyfunRDXDZoydb https://explorer.blockstack.org/address/1LBRU2Pu2jQfXqVELfP3VyfunRDXDZoydb |
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
| const net = require('net'); | |
| const fs = require('fs'); | |
| const reloadCMD = "\x20\x00\x00\x00\x13\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\x0e\x00\x00\x00reload_scripts\x00\x00" | |
| // start godot client at first /Applications/Godot.app/Contents/MacOS/Godot -d --remote-debug 127.0.0.1:8008 | |
| const port = 8008; | |
| const server = net.createServer(); |
OlderNewer