various tools for miscellaneous use
Go to file
2024-02-15 14:52:59 -05:00
go/convert-epoch adding the go utilities 2021-09-15 09:26:15 -04:00
python finished chuck-file 2024-02-15 14:52:59 -05:00
.bashrc fixed fake-logs bug and added .bashrc 2021-01-19 11:03:16 -05:00
.flake8 added .flake8 file 2021-02-09 10:22:05 -05:00
README.md Update 'README.md' 2019-06-18 16:22:12 -04:00

misc-tools

Various tools for miscellaneous use.

Python Web Server

I have included a simple Python web server to the toolset. In time, I would like to make it more customizable. For now, it will just print the familiar "Hello, World" message. It was designed to have an application I could use for stack development work.

$ python-web-server -h
usage: python-web-server [-h] [-i IP_ADDRESS] [-p PORT] [-d DEBUG]

optional arguments:
  -h, --help            show this help message and exit
  -i IP_ADDRESS, --ip-address IP_ADDRESS
                        IP Address to bind the server
  -p PORT, --port PORT  Port on which to listen for traffic
  -d DEBUG, --debug DEBUG
                        Run in debug mode

Fake Logs

This small script will generate log files to a filename provided. The delay is 1/n-th of a second to give it more of a real-time approach to logging, if timing is important.

$ fake-logs --help
usage: fake-logs [-h] [-d DELAY] file

positional arguments:
  file                  Full path for log file

optional arguments:
  -h, --help            show this help message and exit
  -d DELAY, --delay DELAY
                        Number to delay log entries (1/n)