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
1. Скачать образ маяка по ссылке https://drive.google.com/open?id=1GNpthYTDtawb6MubbHZz2ahuzXjZIKbB | |
2. Импортировать образ виртуальной машины в Virtual Box с 1Гб ОЗУ и сетевым интерфейсом с доступом в интернет | |
3. Запустить, дождаться синхронизации блокчейна (parity warp, синхронизация с сетью Ethereum Kovan). После синхронизации AIRA сообщит свой адрес в сети | |
4. Отправить на адрес AIRA более 0,1 Kovan ETH и 0,1 Kovan XRT | |
5. После получения KETH и KXRT AIRA произведёт смену поколения. Это включит функцию маяка и её ROS API |
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
### Keybase proof | |
I hereby claim: | |
* I am khssnv on github. | |
* I am khassanov (https://keybase.io/khassanov) on keybase. | |
* I have a public key ASCJUZApe_opyY8Bjb7f1zLVxpXUyFGT9KWsrGJ9cz80XQo | |
To claim this, I am signing this object: |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import ssl | |
from SocketServer import TCPServer, ThreadingMixIn, StreamRequestHandler | |
class SSL_TCPServer(TCPServer): | |
def __init__(self, | |
server_address, |
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 | |
from web3 import Web3 | |
from flask import Flask, request | |
from flask_restful import Resource, Api | |
from flask.json import jsonify | |
app = Flask(__name__) | |
api = Api(app) |
go test -v ./tests | sed ''/PASS/s//$(printf "\033[32mPASS\033[0m")/'' | sed ''/FAIL/s//$(printf "\033[31mFAIL\033[0m")/''
cd ~
tar -cvpzf backup.tar.gz --exclude=./backup.tar.gz --exclude=./.local/share/io.parity.ethereum/chains/ --one-file-system .
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
{ config, pkgs, lib, ... }: | |
{ | |
imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix> <nixpkgs/nixos/modules/installer/aira.nix> <nixpkgs/nixos/modules/profiles/aira-sidechain.nix> ]; | |
swapDevices = | |
[ { device = "/swap"; } ]; | |
zramSwap.enable = true; | |
service.openssh.enable = true; | |
users.extraUsers.root.openssh.authorizedKeys.keys = [ | |
"YourPublicKeyHere" |
- Download airapkgs
cd ~
git clone https://github.com/airalab/airapkgs.git airapkgs
or faster
cd ~
wget https://github.com/airalab/airapkgs/archive/nixos-unstable.zip
nix-shell -p unzip --run "unzip -d ~/airapkgs ~/nixos-unstable.zip"
Replace fields with your values
rostopic pub /liability/incoming robonomics_liability/Liability '{address: {address: "0x5e2024cc4c286f28037C0A3B7b9487Da51fcb2B8"}, model: {multihash: "QmYb81uDNDHCnu9EZtYV4eoBDKRBAwJeNy1LT3p5Zbc357"}, objective: {multihash: "Qmea8XkcSXmvLDKES7D886pfimsWh9Vjh1ZJsoHm9MWG4C"}, result: {multihash: ""}, promisee: {address: "0xB819d9BC2E665962BCa62Cd859059875BABB134c"}, promisor: {address: "0xB85DD5F194a18657f24792a793306b218637ce40"}, lighthouse: {address: "0xD40AC7F1e5401e03D00F5aeC1779D8e5Af4CF9f1"}, token: {address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}, cost: {uint256: "100000000000000000"}, validator: {address: "0x0000000000000000000000000000000000000000"}, validatorFee: {uint256: "0"}}'
watch -n 10 ipfs --api=/ip4/127.0.0.1/tcp/5001 swarm connect /dns4/lighthouse.aira.life/tcp/4001/ipfs/QmdfQmbmXt6sqjZyowxPUsmvBsgSGQjm4VXrV7WGy62dv8
(to use changed python scripts without rebuilding)
colcon build --packages-select <package_name> --symlink-install
colcon test --packages-select <package_name> --pytest-args -k <test_function_name> --event-handlers console_direct+
OlderNewer