Network Outage Logging Script

This is a script I made to detect and log network outages on my home network. It does a simple 1 byte ping to a website, and if it fails, it sends me an IFTTT notification and logs it to my Google Drive when the network comes back online. While this isn't necessarily full-proof (ie, if google.com was down for some reason) it is minimal and should s... Continue Reading »

Bowan Gerry

Flask File Uploader

Here's a custom file uploader I made in Python and Flask. It operates off a simple POST function, so that it can also be used with ShareX. import sys, os, string, random from flask import Flask, request, redirect, url_for, render_template, send_from_directory from werkzeug import secure_filename app = Flask(__name__) UPLOAD_FOLDER... Continue Reading »

Bowan Gerry

Pulling KanColle API with Python

I wanted to look into making my own viewer for Kantai Collection in Python during the Italian Ships event. Unfortunately, there's not a heavy amount of documentation on the KanColle API, and what is documented is out of date. I referred mostly to the KanColleTool's API documentation, which was mostly accurate. Here's the beginning of the file: #!/u... Continue Reading »

Bowan Gerry