I hereby claim:
- I am jb3 on github.
- I am j03b (https://keybase.io/j03b) on keybase.
- I have a public key ASCEynZa2DzuIsTjuDSnTBso-1yA7WuQi2zTtMBeMqcsugo
To claim this, I am signing this object:
import asyncio | |
import sys | |
import pprint | |
loop = asyncio.get_event_loop() | |
# List of files to check | |
FILES = [ | |
"/Users/joseph/Movies/coursework_update.mp4", | |
"/Users/joseph/Movies/coursework_video.mp4", |
MIT License | |
Copyright (c) 2017 Joe Banks | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
FROM elixir:latest AS app_builder | |
ENV MIX_ENV=prod \ | |
TEST=1 \ | |
LANG=C.UTF-8 | |
RUN mix local.hex --force && \ | |
mix local.rebar --force | |
RUN mkdir /app |
I hereby claim:
To claim this, I am signing this object:
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: modcast-phabricator | |
spec: | |
revisionHistoryLimit: 2 | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: modcast-phabricator |
import asyncio | |
import aiodns | |
loop = asyncio.get_event_loop() | |
resolver = aiodns.DNSResolver(loop=loop) | |
async def lookup(tld, data): | |
try: | |
data[tld] = await resolver.query(tld, "A") | |
except: |
import httpx | |
from praw import Reddit | |
from praw.models import Comment, Submission | |
from datetime import datetime | |
r = Reddit( | |
client_id="", | |
client_secret="", | |
password="", | |
user_agent="pythonmodqueuerelay by /u/Im__Joseph", |
from discord import Client | |
from patches import patch_discord_py | |
patch_discord_py() | |
client = Client() | |
@client.event | |
async def on_message(msg): |
import urllib.parse | |
from typing import Union | |
import httpx | |
with open("./github.access") as token_file: | |
token = token_file.read().strip() | |
def get(route: str, arguments: dict = {}) -> Union[dict, list]: | |
return httpx.get( |
from pypresence import Presence | |
import time | |
client_id = "503540314506657792" | |
rpc = Presence(client_id) | |
rpc.connect() | |
data = { | |
"large_image": "smiley", |