Skip to content

Instantly share code, notes, and snippets.

View dat-adi's full-sized avatar
🔘
I don't even know what I don't know.

Dat Adithya dat-adi

🔘
I don't even know what I don't know.
View GitHub Profile
@dat-adi
dat-adi / surround_me.py
Created December 16, 2022 10:15
A simple python script to calculate the coordinates to place nodes around a origin point.
#!/usr/bin/python
"""
This is a module used for setting coordinates for
networks.
"""
import math
def rotate(origin, point, angle):
@dat-adi
dat-adi / log_filer.py
Created December 16, 2022 10:23
Creates logs for APs in the network, in a temporary directory.
#!/usr/bin/python
"""
A script to write log files in the /tmp/migrationlogs
directory, and reports changes using the difference between
the current AP state and the log file state, to provide
stations that made it into the AP range.
This information can be used to provide new stations that
have entered the AP range.
"""