Skip to content

Instantly share code, notes, and snippets.

View joshdick's full-sized avatar
💭
😋

Josh Dick joshdick

💭
😋
View GitHub Profile
@joshdick
joshdick / git_prompt.png
Last active February 12, 2024 04:16
My Git prompt for zsh.
git_prompt.png
@joshdick
joshdick / email_obfuscation.htm
Created May 8, 2011 05:50
Elegant E-Mail Address Obfuscation
<!DOCTYPE html>
<!-- Created by Josh Dick <http://joshdick.net> -->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<title>Elegant E-Mail Address Obfuscation</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
</head>
@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
@joshdick
joshdick / keybase.md
Created February 10, 2017 05:33
Keybase proof

Keybase proof

I hereby claim:

  • I am joshdick on github.
  • I am jdd (https://keybase.io/jdd) on keybase.
  • I have a public key whose fingerprint is F394 AD29 B057 6136 78D9 3E54 1DA2 5FF2 E560 EDDB

To claim this, I am signing this object:

@joshdick
joshdick / forecast_snapshot.sh
Created October 10, 2013 14:31
Forecast.io Snapshot
#!/bin/sh
# Forecast.io Snapshot
#
# Creates a snapshot of forecast.io embeds (http://blog.forecast.io/forecast-embeds/)
# for display on the desktop via GeekTool/Nerdtool.
#
# by Josh Dick - http://joshdick.net
#
# This script depends on:
@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" )