Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mrdcbrush on github.
  • I am davidbrush (https://keybase.io/davidbrush) on keybase.
  • I have a public key whose fingerprint is 115F B8C7 14EE EF03 A589 4DBE F9B1 EE16 4689 A863

To claim this, I am signing this object:

@mrdcbrush
mrdcbrush / bi.sh
Created February 25, 2014 14:49
Open Brew (Mac Brew) Project URL from the Command Line
#!/bin/bash
URL=$(brew info $1 | head -2 | tail -1)
open $URL
@mrdcbrush
mrdcbrush / thisOldiPadiTunesSearch.rb
Last active December 25, 2015 07:19
Searches the itunes store for ios applications that are compatible with the original iPad. Alter the term and rating parameters to filter results.
require 'net/http'
require 'uri'
require 'json'
term = 'calendar'
rating = 4
uri = URI("https://itunes.apple.com/search?term="+ term +"&country=us&media=software&entity=iPadSoftware&limit=50")
resp = Net::HTTP.get_response(uri)
results = JSON.parse(resp.body)