A script for converting yaml Cloudformation templates to a troposphere format.
A simple adaption of the troposphere cfn2py.py script to ingest CFN yaml files.
Outputs the converted file to stdout.
version: '3' | |
services: | |
apisrv_init: | |
# Abuse the nginx image coz it has openssl installed ootb, is trusted, and is probably cached somewhere | |
# any image with openssl works here | |
image: nginx | |
entrypoint: /usr/bin/bash | |
command: | |
- -c |
[package] | |
name = "file-receiver" | |
version = "0.1.0" | |
authors = ["uint0 <uint0@zeta-mechanic>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
actix-web = "3" |
import os | |
import discord | |
import asyncio | |
import event_source | |
client = discord.Client() | |
async def activity_messenger_task(): | |
await client.wait_until_ready() | |
print('Client is ready, activity task will begin running...') |
NBT==1.5.0 |
""" | |
Requirements: requests | |
Usage: python quiz_to_html.py <quiz_id> <access_token> | |
quiz_id can be found in the url of the practice problem typically after /quiz/ | |
it should be a numeric | |
access_token is the value of the access_token cookie | |
Output: A HTML file is outputted to stdout. This can be piped into a file if nessecary. | |
A script for converting yaml Cloudformation templates to a troposphere format.
A simple adaption of the troposphere cfn2py.py script to ingest CFN yaml files.
Outputs the converted file to stdout.
I hereby claim:
To claim this, I am signing this object: