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
| "Convert exported HTML pages to Markdown pages recursively where you start this script from" | |
| import os | |
| from markdownify import markdownify | |
| from pathlib import Path | |
| for dirpath, dirs, files in os.walk("."): | |
| print("--" + dirpath) | |
| for filename in files: | |
| if filename.endswith(".html"): |
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
| openapi: 3.0.2 | |
| info: | |
| title: OTK Server APIs | |
| version: 4.3.1 | |
| description: "All API's available in OAuth Toolkit server" | |
| paths: | |
| /auth/oauth/v2/authorize: | |
| get: | |
| tags: | |
| - Authorization Server APIs |
Hi, I'm mcpower. I've done Advent of Code seriously for two years now in Python, placing 9th in 2018 and 12th in 2017. This year, I'm taking a break from aiming for the leaderboard - while it's fun and all, it is a bit stressful at times (the good kind of stress, though!). As such, I'd like to share a few tips for anyone wanting to aim for the leaderboard.
This is everything that worked for me. Your mileage may vary, though - don't take this as gospel, see what works for you.
Go fast.
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
| openssl base64 -d -A -in mgmtcert.pfx -out decoded.der | |
| openssl pkcs12 -in decoded.der -out mgmtcert.pem -nodes |