Skip to content

Instantly share code, notes, and snippets.

View xiaoyao9184's full-sized avatar
๐Ÿ›
I need Job

xiaoyao9184 xiaoyao9184

๐Ÿ›
I need Job
View GitHub Profile
@xiaoyao9184
xiaoyao9184 / README.md
Last active July 7, 2024 00:39
esp8266-deauther-to-influxdb

Collect ESP8266 deauther scanning information to influxdb 1.x

The scan command is issued through the USB serial port /dev/ttyUSBDeauther, and the print command is run immediately after the scan is completed to obtain the scan results. Finally, the json results are sent to the nodered database deauther_aps and deauther_stations sequences at influxdb.lan:8086. The issued commands will be stored in the deauther_commands sequence, and then the whole process is repeated.

Use

Use docker to run nodered, use devices to map the serial device, and remember to modify the device permissions to make the container nodered account readable and writable

@xiaoyao9184
xiaoyao9184 / gist:947dcf0f88caa935b64f9d12d7ae10bf
Created September 19, 2023 05:38
test-download-bash-source.sh
#!/bin/bash
source_directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
echo $source_directory
@xiaoyao9184
xiaoyao9184 / ubuntu_wsl_version.md
Created August 27, 2022 03:57
Ubuntu WSL version

Ubuntu WSL version

Name Package URL
Ubuntu CanonicalGroupLimited.Ubuntu https://apps.microsoft.com/store/detail/ubuntu/9PDXGNCFSCZV
Ubuntu (Preview) CanonicalGroupLimited.UbuntuPreview https://apps.microsoft.com/store/detail/ubuntu-preview/9P7BDVKVNXZ6
Ubuntu 22.04.1 LTS CanonicalGroupLimited.Ubuntu22.04LTS https://apps.microsoft.com/store/detail/ubuntu-22041-lts/9PN20MSR04DW
Ubuntu 20.04.4 LTS CanonicalGroupLimited.Ubuntu20.04LTS https://apps.microsoft.com/store/detail/ubuntu-20044-lts/9MTTCL66CPXJ
Ubuntu 18.04.5 LTS CanonicalGroupLimited.Ubuntu18.04LTS https://apps.microsoft.com/store/detail/ubuntu-18045-lts/9PNKSF5ZN4SW
Ubuntu on Windows CanonicalGroupLimited.UbuntuonWindows https://apps.microsoft.com/store/detail/ubuntu-on-windows/9NBLGGH4MSV6