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
| #!/bin/bash | |
| # Tested for NodeJS 12.18.0 | |
| # Tested on: | |
| # - RPI | |
| # - Jetson Nano | |
| # Run this on your device with sudo | |
| if [ "$EUID" -ne 0 ] |
| #!/bin/bash | |
| # Tested on: | |
| # - RPI | |
| # - Jetson Nano | |
| # exit when any command fails | |
| set -e | |
| # Run this on your device with sudo |
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
Create a .huskyrc file in your user folder, add following lines:
PATH="/usr/local/bin:$PATH"
If you are using nvm
. ~/.nvm/nvm.sh
| 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)) |
| #!/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: |
| 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 |