Skip to content

Instantly share code, notes, and snippets.

View joshdick's full-sized avatar
💭
😋

Josh Dick joshdick

💭
😋
View GitHub Profile
@joshdick
joshdick / pipes.sh
Created December 9, 2012 18:54 — forked from anonymous/pipes.sh
pipes.sh
#!/bin/bash
declare -i f=75 s=13 r=2000 t=0 c=1 n=0 l=0
declare -ir w=$(tput cols) h=$(tput lines)
declare -i x=$((w/2)) y=$((h/2))
declare -ar v=( [00]="\x83" [01]="\x8f" [03]="\x93"
[10]="\x9b" [11]="\x81" [12]="\x93"
[21]="\x97" [22]="\x83" [23]="\x9b"
[30]="\x97" [32]="\x8f" [33]="\x81" )
@joshdick
joshdick / download_podcast.py
Last active January 20, 2020 01:29 — forked from dperelman/download_podcast.py
Download all items in a podcast.
#!/usr/bin/env python3
import datetime
import feedparser
import time
import os
import sys
from urllib.request import Request, urlopen
# Some hosts (i.e. Patreon) will deny requests with an HTTP 403