Skip to content

Instantly share code, notes, and snippets.

💭
😋

Josh Dick joshdick

💭
😋
Block or report user

Report or block joshdick

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

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 Oct 10, 2013
Forecast.io Snapshot
View forecast_snapshot.sh
#!/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:
View 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 / email_obfuscation.htm
Created May 8, 2011
Elegant E-Mail Address Obfuscation
View email_obfuscation.htm
<!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>
You can’t perform that action at this time.