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 | |
import requests | |
import json | |
import sys | |
source = 'https://raw.githubusercontent.com/ik5/pyquotes/refs/heads/master/quotes.txt' | |
request = requests.get(source) | |
quotes = [] |
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 requests | |
import json | |
source = 'https://gist.githubusercontent.com/robatron/a66acc0eed3835119817/raw/77493d3ddf69fbd9d69997e22e1a7c6c70c8bdf2/quotes.txt' | |
request = requests.get(source) | |
quotes = [] | |
for line in request.text.split('\n'): | |
if line: | |
q = { |
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/zsh | |
start="00:00:00" | |
atimes=( | |
"00:05:20" | |
"00:07:23" | |
"00:08:08" | |
"00:09:14" | |
"00:10:14" |
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 | |
declare -a podcast_url=( | |
"https://kutkutx.studio/category/song-of-the-day/feed" | |
) | |
outDir=${1:-`pwd`} | |
for i in ${podcast_url[@]}; | |
do | |
npx podcast-dl --url $i --after "`date --date='yesterday' +"%m/%d/%Y"`" --out-dir=${outDir}/{{podcast_title}} |