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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> | |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
</head> |
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
# detect probe requests for Network Name and trigger narrated alert | |
sudo wifi_coconut --no-display --disable-leds --pcap=- | tshark -Y "wlan.fc.type==0 && wlan.fc.subtype==4" -r - | awk '/NetworkName/{system("espeak 'Network found'")}' |
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
#include <Wire.h> | |
#include "Adafruit_MPR121.h" | |
#include <DFRobotDFPlayerMini.h> | |
#include <Arduino.h> | |
#include <MPR121.h> | |
#include <Streaming.h> | |
#include "Adafruit_VL53L0X.h" | |
#ifndef _BV | |
#define _BV(bit) (1 << (bit)) |
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
#include <Wire.h> | |
#include "Adafruit_MPR121.h" | |
#include <DFRobotDFPlayerMini.h> | |
#include <Arduino.h> | |
#include <MPR121.h> | |
#include <Streaming.h> | |
#include "Adafruit_VL53L0X.h" | |
#ifndef _BV | |
#define _BV(bit) (1 << (bit)) |
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 requests | |
import os.path | |
import pathlib | |
import sys | |
import re | |
from enum import Enum | |
from typing import List, Dict, Any, TypedDict |
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
// SPDX-FileCopyrightText: 2023 Carter Nelson for Adafruit Industries | |
// | |
// SPDX-License-Identifier: MIT | |
// -------------------------------------- | |
// i2c_scanner | |
// | |
// Modified from https://playground.arduino.cc/Main/I2cScanner/ | |
// -------------------------------------- | |
#include <Wire.h> |
OlderNewer