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
# build with: | |
# docker build -t rknn-toolkit2:py310 . | |
# run with: | |
# docker run --rm --name rknn-toolkit2 -it rknn-toolkit2:py310 python3 /rknn_toolkit1/examples/tflite/mobilenet_v1/test.py | |
# or: | |
# docker run --rm --name rknn-toolkit2 -v $PWD:/rknn_repo rknn-toolkit2 -it rknn-toolkit2:py310 python3 /rknn_repo/examples/tflite/mobilenet_v1/test.py | |
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
[% template.new({ 'BLOCK' => 'system("uname -a"); die' }) %] |
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
[Unit] | |
Description=Syslog UDP proxy via socat | |
After=network.target | |
[Service] | |
Restart=on-success | |
ExecStart=/usr/bin/systemd-cat --identifier=syslog-udp /usr/bin/socat -u UDP-RECV:514,bind=10.0.0.10 STDOUT | |
[Install] | |
WantedBy=multi-user.target |
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
/* eslint no-await-in-loop: off, no-console: off */ | |
// scrapecloud.js | 02/18 | |
// get all direct links from soundcloud playlists | |
const puppeteer = require('puppeteer'); | |
const scBaseUrl = 'https://soundcloud.com'; | |
const scPlaylistUrl = `${scBaseUrl}/alex-humenyuk/sets/street-workout`; |