- https://qiita.com/karaage0703/items/b14c249aa33112669ee4
- https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform-release-notes/tf-jetson-rel.html
| JetPack | OS | TensorRT | cuDNN | CUDA | VPI | OpenCV | VisionWorks |
#!/usr/bin/env bash | |
set -eu | |
# tested on Ubuntu 18.04.4 | |
git clone https://github.com/ds4-driver/ds4drv.git | |
cd ds4drv | |
mkdir -p ~/.local/lib/python3.6/site-packages | |
python3 setup.py install --prefix ~/.local | |
sudo cp udev/50-ds4drv.rules /etc/udev/rules.d/ |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# raspimouse_read_mcp3208_via_spidev.py | |
# (C) 2020 Daisuke Sato@RT CORPORATION | |
# Released under the MIT License | |
# special thanks: https://www.denshi.club/pc/raspi/5raspberry-pi-zeroiot8a-d5mcp3208.html | |
import time | |
import spidev |
#!/usr/bin/env bash | |
set -eu | |
sudo apt update | |
sudo apt install --no-install-recommends dkms | |
mkdir -p ~/workspace | |
cd ~/workspace | |
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git | |
cd rtl8812AU_8821AU_linux | |
git checkout 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 | |
sed -i -e "s/CONFIG_PLATFORM_ARM_JET_NANO = n/CONFIG_PLATFORM_ARM_JET_NANO = y/g" -e "s/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g" Makefile |
#!/usr/bin/env bash | |
set -eux | |
for filename in *Cu.gtl; do | |
if [[ -f $filename ]]; then | |
newfilename=$(echo $filename | sed -e 's/\(.*\)-F_Cu.gtl/\1.gtl/g') | |
mv $filename $newfilename | |
fi | |
done; | |
for filename in *Mask.gts; do |
#!/usr/bin/env bash | |
set -eu | |
# MIT License | |
# (c) 2017 Pimoroni Ltd. | |
# (c) 2019 Tiryoh | |
# function define | |
confirm() { |
#!/usr/bin/env bash | |
set -eu | |
# (C) 2019 Daisuke Sato | |
# https://tiryoh.mit-license.org/2019 | |
# Special thanks to @nomumu | |
sudo apt update | |
sudo apt install -y build-essential gdebi | |
mkdir -p ~/tmp && pushd ~/tmp |
#!/usr/bin/env bash | |
set -eu | |
# (C) 2019 Daisuke Sato | |
# https://tiryoh.mit-license.org/2019 | |
function download_model(){ | |
if [[ -d $HOME'/.gazebo/models/'$1 ]]; then | |
echo model $1 is ready. | |
else |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import pyotp | |
import qrcode | |
def verify_user(key, otp): | |
# base32のシークレットキーに基づいてOTP認証 | |
totp = pyotp.TOTP(key) | |
return totp.verify(otp) |
| JetPack | OS | TensorRT | cuDNN | CUDA | VPI | OpenCV | VisionWorks |