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
| { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
| "basics": { | |
| "name": "Nathan Harris", | |
| "label": "Full-Stack Software Engineer and Consultant | Professional Scrum Master", | |
| "image": "https://raw.githubusercontent.com/nwithan8/nwithan8.github.io/master/images/headshot_transparent.png", | |
| "email": "[email protected]", | |
| "url": "https://nateharr.is", | |
| "summary": "Excited to take head-on the fast-paced, high-stakes world of software development.\nRetired journalist.", | |
| "location": { |
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
| #!/bin/bash | |
| # Copy a set of files to each repo in a dir, create a branch, and push to origin | |
| # Requires GitHub CLI: `brew install gh` and must be logged in with `gh auth login`: https://cli.github.com/manual/ | |
| # Usage: multi_commit.sh BRANCH_NAME PATH_TO_LANDING_DIR_IN_REPO_1 PATH_TO_LANDING_DIR_IN_REPO_2 ... PATH_TO_FILE_TO_ADD | |
| # You can edit these variables | |
| MAIN_BRANCH="master" |
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
| import CloudFlare | |
| import argparse | |
| CLOUDFLARE_API_KEY = "XXXXXXX" | |
| parser = argparse.ArgumentParser(description="Make a reverse proxy file and CloudFlare DNS entry") | |
| parser.add_argument('subdomain', | |
| type=str, | |
| help='new subdomain prefix') | |
| parser.add_argument('domain', |
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
| import CloudFlare | |
| import argparse | |
| import ipify2 | |
| CLOUDFLARE_API_KEY = "XXXXXX" | |
| parser = argparse.ArgumentParser(description="Update all CloudFlare DNS entries for a subdomain with a new IP address") | |
| parser.add_argument('domain', | |
| type=str, | |
| help='Base domain') |
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/python3 | |
| """ | |
| Collect all TS file parts and combine them into one TS file. | |
| Optionally remux the final TS file into a different format. | |
| All audio channels are preserved during processing. | |
| """ | |
| import os |
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/python3 | |
| import tweepy | |
| import argparse | |
| # Fill out Twitter API credentials below | |
| consumer_key = 'xxxx' | |
| consumer_secret = 'xxxx' | |
| access_token = 'xxxx' | |
| access_secret = 'xxxx' |
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 python | |
| """ | |
| Scrape tweets from multiple users timelines | |
| Indicate usernames by -u <username1> <username2> <username3> ... or -f <text_file_of_usernames> | |
| Indicate start and end dates with -s <start_date in YYYY-MM-DD> and -e <end_date in YYYY-MM-DD> | |
| Indicate tweets from past X days with -a <past_X_days> (overrides start date) | |
| Indicate past X number of tweets (between start and end dates if indicated) with -n <number> | |
| """ | |
| import tweepy # https://github.com/tweepy/tweepy |
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
| """ | |
| Add all items from a Plex Media Server library section to a Radarr instance. | |
| Use this to mass import a Plex movie section into Radarr in the event of Radarr reset or database corruption. | |
| Copyright 2020 - Nate Harris | |
| """ | |
| """ | |
| Setup: ``pip install requests progress plexapi`` | |
| """ |
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
| # RUN THIS FIRST: | |
| # pip install plexapi dizqueTV | |
| from typing import List, Union | |
| from plexapi import myplex, server, media, library, playlist | |
| from dizqueTV import API | |
| # COMPLETE THESE SETTINGS | |
| DIZQUETV_URL = "http://localhost:8000" | |
| DIZQUETV_CHANNEL_NUMBER = 1 |