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
nmcli d wifi list | more | |
sudo nmcli d wifi connect attwifi | |
mkdir .ssh | |
# from Linux host scp authorized_keys file | |
scp chip@<ip address of CHIP>:.ssh/id_rsa .ssh/id_rsa | |
scp chip@<ip address of CHIP>:.ssh/authorized_keys .ssh/authorized_keys | |
sudo apt-get update | |
sudo apt-get install git build-essential curl htop w3m |
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
sudo vi /etc/hostname | |
sudo vi /etc/hosts | |
man hostname | |
sudo hostname myrpi3 | |
hostname | |
uname -a | |
sudo init 0 | |
passwd | |
mkdir .ssh | |
sudo apt-get update |
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 | |
# | |
# This bash script dynamically sets the current tty's rows and cols | |
# to the device's physical size | |
# | |
# Below is typical call from ~/.bashrc | |
#if [ "/dev/ttyGS0" = "/dev/ttyGS0" ]; then | |
# export TERM='xterm' |
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
""" | |
adapted from http://helloraspberrypi.blogspot.com/2021/01/raspberry-pi-picocircuitpython-st7789.html | |
""" | |
import os | |
import board | |
import time | |
import terminalio | |
import displayio | |
import busio |
OlderNewer