Skip to content

Instantly share code, notes, and snippets.

View alex4108's full-sized avatar
🛥️
Sailing the seas

Alex Schittko alex4108

🛥️
Sailing the seas
View GitHub Profile
@alex4108
alex4108 / discord-guild-birthday.py
Created April 27, 2021 06:50
discordpy get giuld's birthday
import os
import discord
from datetime import datetime
from dateutil import tz
import asyncio
# Configure these 4 variables and run the bot.
# Your local timezone, beacuse tz.localtz() isn't always right.
LOCAL_ZONE = 'America/Chicago'
@alex4108
alex4108 / cleanup-ami.py
Created November 28, 2020 07:56 — forked from marvinpinto/cleanup-ami.py
Python script to clean up and update the Jenkins AMIs after a successful Packer run
#!/usr/bin/python
import requests
import os
import boto.ec2
import sys
import re
build_url = os.environ['BUILD_URL']
jenkins_base_url = os.environ['JENKINS_URL']