Skip to content

Instantly share code, notes, and snippets.

View jamesstout's full-sized avatar

James Stout jamesstout

View GitHub Profile
* [5by5 at the Movies](http://5by5.tv/movies) <a style="color:#fa9b39" href="http://feeds.5by5.tv/movies" itemprop="sameAs"> <i class="fas fa-fw fa-rss-square" aria-hidden="true"></i></a>
* [A Cast of Kings - A Game of Thrones Podcast](http://www.slashfilm.com/) <a style="color:#fa9b39" href="http://feeds.feedburner.com/castofkings" itemprop="sameAs"> <i class="fas fa-fw fa-rss-square" aria-hidden="true"></i></a>
* [A STORM OF SPOILERS - A Pop Culture Podcast](http://stormofspoilers.com/) <a style="color:#fa9b39" href="http://feeds.feedburner.com/AStormOfSpoilers" itemprop="sameAs"> <i class="fas fa-fw fa-rss-square" aria-hidden="true"></i></a>
* [Accidental Tech Podcast](http://atp.fm/) <a style="color:#fa9b39" href="http://atp.fm/episodes?format=rss" itemprop="sameAs"> <i class="fas fa-fw fa-rss-square" aria-hidden="true"></i></a>
* [Amber Nectar HCAFC](http://www.ambernectar.org/) <a style="color:#fa9b39" href="http://feeds.soundcloud.com/users/soundcloud:users:54747069/sounds.rss" itemprop="sameAs"> <i cl
@jamesstout
jamesstout / overcast.opml
Created April 22, 2018 09:23
Example OPML file from Overcast, note: it contains usernames and passwords in the feed URL
<?xml version="1.0"?>
<!-- example OPML file -->
<opml version="1.0">
<head>
<title>Overcast Podcast Subscriptions</title>
</head>
<body>
<outline type="rss" text="Richard Herring's Leicester Square Theatre Podcast" title="Richard Herring's Leicester Square Theatre Podcast" xmlUrl="http://feeds.feedburner.com/RichardHerringLSTPodcast" htmlUrl="https://www.comedy.co.uk/podcasts/richard_herring_lst_podcast/"/>
<outline type="rss" text="5by5 at the Movies" title="5by5 at the Movies" xmlUrl="http://feeds.5by5.tv/movies" htmlUrl="http://5by5.tv/movies"/>
<outline type="rss" text="TV Talk Machine" title="TV Talk Machine" xmlUrl="http://feeds.theincomparable.com/tvtm" htmlUrl="https://www.theincomparable.com/tvtm/"/>
@jamesstout
jamesstout / opml2md.py
Last active April 22, 2018 11:32
OPML to Markdown converter based on https://gist.github.com/domdavis/9988867 but customised for Overcast OPML
# Based on https://gist.github.com/domdavis/9988867
# Changed to handle podcast export OPML from Overcast. e.g.
# <outline type="rss" text="Road Work" title="Road Work" xmlUrl="http://feeds.5by5.tv/roadwork" htmlUrl="http://5by5.tv/roadwork"/>
# I wanted to grab the xmlUrl and htmlUrl and output a <ul> with links to page and feed.
# also strips usernames and passwords if set in the xmlUrl - add yours to the passwd var
# $ pip install opml
# $ python opml2md.py some_outline.opml
# -> some_outline.md
import codecs
@jamesstout
jamesstout / spotWrapper-secret.sh
Last active March 6, 2020 08:14
Script to stop the sabnzbd queue while SpotWeb retrieve runs to avoid "Too many connections to server xxxxx.xxx" error
#!/usr/bin/env bash
# shellcheck shell=bash
# If sabnzbd is downloading at the time the spotweb retrieve script runs
# You can get the "Too many connections to server xxxxx.xxx" error.
# The script attempts to pause the sabnzbd queue,
# then wait for all connections to disconnect before running the spotweb retrieve script.
# Once it completes, the queue is started again (or reverted to initial state).
echo "Start time: $(date)"
start=$(date +%s)
Verifying my Blockstack ID is secured with the address 1LdgVKfMsawciphZgQamp4StEceLNpPoR9 https://explorer.blockstack.org/address/1LdgVKfMsawciphZgQamp4StEceLNpPoR9
@jamesstout
jamesstout / adobe_cc.txt
Created October 16, 2017 09:18
adobe_cc.txt
/Library/Application Support/Adobe/AdobeGCClient/AGSService
/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app/Contents/PlugIns/ACCFinderSync.appex/Contents/MacOS/ACCFinderSync
/Applications/Utilities/Adobe Application Manager/IPC/AdobeIPCBroker.app/Contents/MacOS/AdobeIPCBroker -launchedbyvulcan /Applications/Utilities/Adobe MacOS/Creative Cloud
/Library/Application Support/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app/Contents/MacOS/Adobe Desktop Service --onOSstartup=tru
/Library/Application Support/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/1240 Adobe Desktop Service 4.3 /Library/Application Support/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app/Contents/Resources/upport/Adobe/Adobe Desktop Common/ADS/Adobe Desktop Service.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/Adobe Crash Rep
/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app/Contents/MacOS/Core Sync
/Applica
Verifying that "stouty.id" is my Blockstack ID. https://onename.com/stouty
Verifying my Blockstack ID is secured with the address 1LdgVKfMsawciphZgQamp4StEceLNpPoR9
@jamesstout
jamesstout / HKWUIDeviceHardware.h
Last active December 19, 2017 15:55
Determine iOS device being used and other device info
//
// HKWUIDeviceHardware.h
//
#import <Foundation/Foundation.h>
@interface HKWUIDeviceHardware : NSObject
- (NSString *) platform2;
- (NSString *) platformString;
@jamesstout
jamesstout / makefile
Last active June 5, 2016 21:16
makefile settings for unrar on OpenSolaris 5.11 snv_134
#
# Makefile for UNIX - unrar
# Linux using GCC
# CXX=g++
# CXXFLAGS=-O2
# LIBFLAGS=-fPIC
# DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
# STRIP=strip
# LDFLAGS=-pthread