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
| # claire-lex @ 2023 | |
| # Sends a ListIdentify request to obtain device description with Ethernet/IP | |
| # Uses Scapy version later than commit #3bd29da (contrib/enipTCP.py update) | |
| from sys import argv | |
| from socket import socket | |
| from scapy.supersocket import StreamSocket | |
| from scapy.compat import raw | |
| from scapy.packet import Raw | |
| from scapy.contrib.enipTCP import ENIPTCP |
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
| #!/usr/bin/ksh | |
| # | |
| # Lex @ 2020 | |
| # Battery script for i3blocks on CentOS | |
| # Does not rely on the ACPI commands (unlike other scripts :() | |
| BAT_PATH="/sys/class/power_supply/BAT0/uevent" | |
| THRESHOLD=20 # % | |
| # Colors |
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
| abondance | |
| achard | |
| adieudon | |
| aiguebelette | |
| aigueblanche | |
| ailefroide | |
| albertville | |
| albertville92 | |
| allevard | |
| ambilly |