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
| terraform { | |
| required_version = ">= 1.5.5" | |
| required_providers { | |
| elasticstack = { | |
| source = "elastic/elasticstack" | |
| version = ">= 0.9.0" | |
| } | |
| } | |
| } |
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
| FROM python:3.12-slim | |
| WORKDIR /redirector_app | |
| # Copy the current directory contents | |
| ADD . /redirector_app | |
| # Install flask | |
| RUN pip install flask |
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/env python3 | |
| import streamlit as st | |
| import praw | |
| # Instantiate bot | |
| reddit = praw.Reddit(client_id=st.secrets["CLIENTID"], | |
| client_secret=st.secrets["CLIENTSECRET"], | |
| user_agent='Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36', | |
| username=st.secrets["USERNAME"], |
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/env python3 | |
| from jira import JIRA | |
| import subprocess | |
| # Set your Jira server URL, Email, and API token | |
| email = "" | |
| server_url = "" | |
| api_token = "" |
NewerOlder