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
#!/bin/bash | |
# Install Oh My Zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Reload Oh My Zsh | |
exec zsh | |
# Function to check if a command is installed | |
check_command_installed() { |
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
import network | |
import socket | |
import machine | |
import ujson | |
import utime | |
SSID = 'NAME' | |
PASSWORD = 'PASSWORD' | |
def connect_to_wifi(ssid, password): |
OlderNewer