View revue_rss_to_substack_markdown.py
This file contains 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 feedparser | |
import time | |
# before... | |
# feed = feedparser.parse('https://sunday.fudge.org/?format=rss') | |
# after... | |
feed = feedparser.parse('https://sunday.fudge.org/feed') | |
for pub_date in feed.entries: | |
link = pub_date.link | |
# just in case... |
View gone-fishing.sh
This file contains 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 -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
brew install wget | |
wget --mirror --page-requisites --adjust-extension --span-hosts --convert-links --domains sunday.fudge.org --no-parent --no-clobber https://jaycuthrell.com/newsletter/ |
View feedparser2markdown.py
This file contains 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 feedparser | |
import time | |
# grab the feed | |
feed = feedparser.parse('https://fudge.org/rss.xml') | |
# for each entry print a markdown unordered list item of links using using title, link, and the parsed publishing time | |
for pub_date in feed.entries: |
View stream_to_twitch.sh
This file contains 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
v4l2rtspserver-master -W640 -H360 -E MP3:16000:44100 -r 2 -F 25 -P 8554 | |
avconv -rtsp_transport tcp -y -i rtsp://192.168.1.XXX:8554/unicast -c:v copy -profile:v high -coder 1 -pix_fmt yuv420p -g 30 -bf 2 -c:a copy -strict experimental -aspect 16:9 -f flv "rtmp://live-ams.twitch.tv/app/live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
View rt-sanity.py
This file contains 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 python3 | |
from __future__ import print_function | |
import sys | |
import twitter | |
from keys import ACCESS_TOKEN_KEY, ACCESS_TOKEN_SECRET, CONSUMER_KEY, CONSUMER_SECRET | |
api = twitter.Api( | |
CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN_KEY, ACCESS_TOKEN_SECRET | |
) |
View xps13_9350_ubuntu_suspend.txt
This file contains 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
$ grep -v "^#" /etc/systemd/logind.conf | |
[Login] | |
HandleHibernateKey=suspend | |
HandleLidSwitch=suspend | |
HandleLidSwitchExternalPower=suspend | |
HandleLidSwitchDocked=suspend | |
LidSwitchIgnoreInhibited=yes | |
$ grep -v "^#" /etc/systemd/sleep.conf | |
[Sleep] |
View resume.json
This file contains 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
{ | |
"basics": { | |
"name": "William J. Cuthrell (Jay)", | |
"label": "Corporate Free Safety", | |
"summary": | |
"I am a proud team member of a business that grew from zero to multi-billion dollar run rates by enabling digital transformation. It is my mission to delight customers, deliver sustainable sales growth, and provide innovative servant leadership.", | |
"website": "https://jaycuthrell.com", | |
"email": "jay@cuthrell.com", | |
"location": { | |
"city": "Beaufort, NC", |
View Google Song Maker
This file contains 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
https://goo.gl/psK2wV | |
https://musiclab.chromeexperiments.com/Song-Maker/song/4973935362048000 |
View keybase.md
Keybase proof
I hereby claim:
- I am jaycuthrell on github.
- I am jaycuthrell (https://keybase.io/jaycuthrell) on keybase.
- I have a public key whose fingerprint is 4407 D373 7F4D CDFE 90DD 89F4 4462 E55C BE13 D9C6
To claim this, I am signing this object:
NewerOlder