$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once
This file contains 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
console=serial0,115200 console=tty1 root=PARTUUID=7173ccd0-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=SG |
This file contains 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/python3 | |
# | |
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the | |
# Software is furnished to do so, subject to the following conditions: |
This file contains 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
from sense_hat import SenseHat | |
import time | |
sense = SenseHat() | |
sense.set_rotation(270) | |
def empty_col(col): | |
sense.set_pixel(col, 0, (0, 0, 0)) | |
sense.set_pixel(col, 1, (0, 0, 0)) | |
sense.set_pixel(col, 2, (0, 0, 0)) |
1 - Download and flash image from Jetson Download Center
2 - On your other computer, use the serial terminal application to connect via host serial port to the Jetson Nano (115200)
- Review and accept NVIDIA Jetson software EULA
Create a .huskyrc file in your user folder, add following lines:
PATH="/usr/local/bin:$PATH"
If you are using nvm
. ~/.nvm/nvm.sh
By default only supports eth0 on the raspberry pi. To get it to work on both eth0 and wlan0 => create /etc/dnsmasq.d/99-interfaces.conf file. with
interface=wlan0
This file contains 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
#!/bin/bash | |
# Tested on: | |
# - RPI | |
# - Jetson Nano | |
# exit when any command fails | |
set -e | |
# Run this on your device with sudo |
This file contains 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
#!/bin/bash | |
# Tested for NodeJS 12.18.0 | |
# Tested on: | |
# - RPI | |
# - Jetson Nano | |
# Run this on your device with sudo | |
if [ "$EUID" -ne 0 ] |
This file contains 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
Get everything | |
v4l2-ctl --device /dev/video0 --all | |
List all the controls webcam has. | |
v4l2-ctl -d 0 -l | |
List all the resolutions | |
v4l2-ctl --list-formats-ext | |
List all the formats |
NewerOlder