Skip to content

Instantly share code, notes, and snippets.

Avatar

Tobias Oberstein oberstet

View GitHub Profile
View gist:c24c1f3fbedb5312998a6288695bf615
(cpy392_1) oberstet@intel-nuci7:~/scm/crossbario/xbr-protocol$ tox -e truffle-test
truffle-test run-test-pre: PYTHONHASHSEED='85756440'
truffle-test run-test: commands[0] | npm install --only=dev
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: google-closure-compiler-osx@20210106.0.0 (node_modules/google-closure-compiler-osx):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for google-closure-compiler-osx@20210106.0.0: wanted {"os":"darwin","arch":"x64,x86"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: google-closure-compiler-windows@20210106.0.0 (node_modules/google-closure-compiler-windows):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for google-closure-compiler-windows@20210106.
View gist:9b4b285cfa19d1058713c4c4a6b8dbfc
https://github.com/crossbario/autobahn-python/pull/1479
(cpy392_1) oberstet@intel-nuci7:~/scm/crossbario/autobahn-python$ make test_wamp_scram
USE_ASYNCIO=1 trial autobahn.wamp.test.test_wamp_scram
autobahn.wamp.test.test_wamp_scram
TestKey
test_derive_scram_credential ... [OK]
-------------------------------------------------------------------------------
View gist:e0e5d993ef42f0dafa101463127172d8
oberstet@intel-nuci7:~$ ~/cpy392/bin/python3 -m venv ~/cpy392
cpy392/ cpy392_1/ cpy392_2/
oberstet@intel-nuci7:~$ ~/cpy392/bin/python3 -m venv ~/cpy392_3
oberstet@intel-nuci7:~$ source ~/cpy392_3/bin/activate
(cpy392_3) oberstet@intel-nuci7:~$ pip install pip install autobahn[twisted,serialization,xbr]
Requirement already satisfied: pip in ./cpy392_3/lib/python3.9/site-packages (20.2.3)
Collecting install
Using cached install-1.3.4-py3-none-any.whl (3.1 kB)
Collecting autobahn[serialization,twisted,xbr]
Using cached autobahn-21.3.1-py2.py3-none-any.whl (495 kB)
View gist:db0cc73974ba21f20127fc59073769a2
oberstet@intel-nuci7:~$ ~/cpy392/bin/python3 -m venv ~/cpy392_2
oberstet@intel-nuci7:~$ source ~/cpy392_2/bin/activate
(cpy392_2) oberstet@intel-nuci7:~$ pip install autobahn[all]
Collecting autobahn[all]
Using cached autobahn-21.3.1-py2.py3-none-any.whl (495 kB)
Collecting cryptography>=3.4.6
Using cached cryptography-3.4.6-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
Collecting hyperlink>=21.0.0
Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
Collecting txaio>=21.2.1
View gist:5f94ed6b681dab41abf0df688f760cc4
oberstet@intel-nuci7:~/scm/oberstet/connectanum-dart$ ssh root@192.168.2.113
root@raspberrypi4-64:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.4.72-v8 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Mar 10 21:29:26 UTC 2021
[ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.2
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] On node 0 totalpages: 1012736
View gist:7ac5b7636095b8673e24510f2be1d9d0
(cpy392_1) oberstet@intel-nuci7:~/scm/oberstet/scratchbox/flutter/ex1$ ssh root@192.168.2.109
The authenticity of host '192.168.2.109 (192.168.2.109)' can't be established.
ECDSA key fingerprint is SHA256:QrxJBT8Fd3XjvMrJ/b0PspzhvZZpjyoyfEwOGa/V/+c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.2.109' (ECDSA) to the list of known hosts.
root@jetson-xavier-nx-devkit:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.201-l4t-r32.5+gc68230c5b46a (oe-user@oe-host) (gcc version 9.3.0 (GCC) ) #1 SMP PREEMPT Wed Mar 10 20:15:03 UTC 2021
[ 0.000000] Boot CPU: AArch64 Processor [4e0f0040]
[ 0.000000] OF: fdt:memory scan node memory, reg size 48,
View gist:6244effc64068224e983bfab46ca416c
(cpy392_1) oberstet@intel-nuci7:~/scm/s-things$ find arduino-board-package/ -name "*.h" -exec grep -H "terms of the GNU Lesser General Public" {} \;
arduino-board-package/variants/feather_m0/pins_arduino.h: modify it under the terms of the GNU Lesser General Public
arduino-board-package/variants/feather_m0/variant.h: modify it under the terms of the GNU Lesser General Public
arduino-board-package/libraries/Servo/src/Servo.h: modify it under the terms of the GNU Lesser General Public
arduino-board-package/libraries/Servo/src/sam/ServoTimers.h: modify it under the terms of the GNU Lesser General Public
arduino-board-package/libraries/Servo/src/samd/ServoTimers.h: modify it under the terms of the GNU Lesser General Public
arduino-board-package/libraries/Servo/src/avr/ServoTimers.h: modify it under the terms of the GNU Lesser General Public
arduino-board-package/libraries/Servo/src/megaavr/ServoTimers.h: modify it under the terms of the GNU Lesser General Public
arduino-board-package/libraries/Servo/src/nr
View gist:1a18a239e7613347fd26668d2d2f297d
(cpy392_1) oberstet@intel-nuci7:~/scm/s-things/origami-os-cloud-services/teststack$ env | grep CROSS
CROSSBAR_FABRIC_SUPERUSER=
CROSSBAR_FABRIC_URL=
(cpy392_1) oberstet@intel-nuci7:~/scm/s-things/origami-os-cloud-services/teststack$ env | grep XBR
XBR_DEBUG_CATALOG_ADDR=0xb996F03C79574aA7a88abe8F4080b1F3F9dB8E17
XBR_DEBUG_NETWORK_ADDR=0x3970CB7F43A5A6a1ABc4f1B80D33093396b1dB4a
XBR_DEBUG_CHANNEL_ADDR=0x54037382294a7AEe37F799776C2308D087946c13
XBR_DEBUG_TOKEN_ADDR=0x87D89D00B0051E760b23a1eb7F87D38082773b55
XBR_DEBUG_MARKET_ADDR=0xF7acf1C4CB4a9550B8969576573C2688B48988C2
XBR_DEBUG_DOMAIN_ADDR=0x048137A22c3a2Df514657C9B7a32A6BEefb10ad4
View gist:5cc8eb3102ac7fdde58b84379a8cfb28
oberstet@intel-nuci7:~$ ~/cpy391/bin/python3 -m venv ~/cpy391_2
oberstet@intel-nuci7:~$ source ~/cpy391_2/bin/activate
(cpy391_2) oberstet@intel-nuci7:~$ python -V
Python 3.9.1
(cpy391_2) oberstet@intel-nuci7:~$ which python
/home/oberstet/cpy391_2/bin/python
(cpy391_2) oberstet@intel-nuci7:~$ pip install crossbar
Collecting crossbar
Using cached crossbar-21.2.1-py2.py3-none-any.whl (524 kB)
Collecting cryptography>=2.6.1
View gist:8c1e9b992f4c6fbbf5b96c649322a6c5
argon2-cffi==20.1.0
arrow==1.0.1
attrs==20.3.0
autobahn==21.2.2
Automat==20.2.0
base58==2.1.0
bcrypt==3.2.0
binaryornot==0.4.4
bitarray==1.2.2
bitstring==3.1.7