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
{ | |
"url": "", | |
"name": "TON FISH GUARD BOT", | |
"iconUrl": "https://assets.coingecko.com/coins/images/34651/standard/FISH_LOGO.png" | |
} |
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
# assuming you already have cargo | |
# check with | |
cargo version | |
# then install | |
cargo install cargo-generate --features vendored-openssl | |
cargo install cargo-run-script | |
# now you can generate | |
cargo generate --git https://github.com/InterWasm/cw-template.git --name dummies_example |
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
version: '3' | |
services: | |
homeassistant: | |
container_name: home-assistant | |
image: homeassistant/home-assistant:stable | |
volumes: | |
- ./homeassistant_data:/config | |
environment: |
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
version: '3.1' | |
services: | |
db: | |
image: mariadb:10.3 | |
restart: always | |
ports: | |
- 3306:3306 | |
environment: | |
MYSQL_USER: admin |
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
{"reqSignature":{},"txn":{"data":{"alias":"Phil Windley","dest":"NMjQb59rKTJXKNqVYfcZFi","role":"0","verkey":"Ce9jZ2bQcLRCrY3eT5AbjsU5mXFa4jMF6dDSF21tyeFJ"},"metadata":{},"type":"1"},"txnMetadata":{"seqNo":1},"ver":"1"} | |
{"reqSignature":{},"txn":{"data":{"alias":"Jason Law","dest":"K2ze2xR8MAxkQscdkboKnD","role":"0","verkey":"~KhvZWs1QSS8bS1RxB55NE3"},"metadata":{},"type":"1"},"txnMetadata":{"seqNo":2},"ver":"1"} | |
{"reqSignature":{},"txn":{"data":{"alias":"Drummond Reed","dest":"Jv4afJBghiuJ2tiZDduarJ","role":"0","verkey":"AmKnoVceCaEHBCaDjtSYqwLLpmVQLBbZMgAZHfSyv936"},"metadata":{},"type":"1"},"txnMetadata":{"seqNo":3},"ver":"1"} | |
{"reqSignature":{},"txn":{"data":{"alias":"Peter Simpson","dest":"JX29L7h6UpDNEThiaTYx9N","role":"0","verkey":"AYmPQJTcpsH1YxRQUwwRgGzQVLFf8JRvmuS5LKNZN1gA"},"metadata":{},"type":"1"},"txnMetadata":{"seqNo":4},"ver":"1"} | |
{"reqSignature":{},"txn":{"data":{"alias":"Ron Amstutz","dest":"7jJe9ArRfRchSKL2sYgFDj","role":"0","verkey":"4fjHSUqU9RmeXWXHV6MnKFDtEyEcBUipovhNCDuei5XW"},"metadata" |
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
#自动化安装zsh,oh-my-zsh-tmux,powerline并配置powerline | |
echo "--- start update ---" | |
sudo apt-get update | |
echo "--- end update ---" | |
echo "--- apt install zsh tmux python-pip ---" | |
sudo apt-get install zsh tmux python-pip | |
echo "--- end apt install ---" | |
echo "--- install oh-my-zsh ---" |
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
import requests | |
url = "https://gentle-fjord-76321.herokuapp.com/verifyDegree" | |
payload = "{\n\t\"serial_number\":\"serialnumber\",\n\t\"university_code\":\"mta\",\n\t\"hash\":\"hash\"\n}" | |
headers = { | |
'Content-Type': "application/json", | |
'User-Agent': "PostmanRuntime/7.19.0", | |
'Accept': "*/*", | |
'Cache-Control': "no-cache", |
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
import getopt | |
import signal | |
import time | |
import sys | |
import json | |
import wiotp.sdk.application | |
# Cấu hình cho application có khả năng kết nối tới server | |
myConfig = { |
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
import wiotp.sdk.device | |
import datetime | |
import time | |
# Sự kiện khi nhận một request từ phía server | |
def myCommandCallback(cmd): | |
print("Command received: %s" % cmd.data) | |
print(cmd.data) |
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
pragma solidity ^0.4.21; | |
contract BotManagement{ | |
function verifyVehicle(address , string ) public returns (bool) {} | |
} | |
contract Bot{ | |
BotManagement botManagementContract; | |
NewerOlder