Skip to content

Instantly share code, notes, and snippets.

View TheNightmanCodeth's full-sized avatar
🛠️
Indexing

Joe Diragi TheNightmanCodeth

🛠️
Indexing
View GitHub Profile
@TheNightmanCodeth
TheNightmanCodeth / XcodeCloudModel.ts
Created September 7, 2022 17:04
Xcode Cloud Webhook Request TypeScript Model
/*
* This file containes interfaces that represent the content of the
* webhook request's body. I won't be using all of these but figured
* someone might find this useful one day <3
*
* Copyright (C) 2022 Joseph Diragi
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@TheNightmanCodeth
TheNightmanCodeth / steambot.py
Created April 14, 2022 17:30
A Reddit bot that replies to a post with a steam link for items in the body of a self-text inside of double brackets (ie. [[Portal 2]])
import praw
import re
import requests
search_api = 'https://steamcommunity.com/actions/SearchApps/'
steam_link = 'https://store.steampowered.com/app/'
## Populate with your own client_id, etc. from:
## https://www.reddit.com/prefs/apps
reddit = praw.Reddit(
@TheNightmanCodeth
TheNightmanCodeth / screenfetch-dev
Created June 15, 2017 05:02
CloverOS Screenfetch
#!/usr/bin/env bash
# screenFetch - a CLI Bash script to show system/theme info in screenshots
# Copyright (c) 2010-2017 Brett Bohnenkamper <kittykatt@kittykatt.us>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.