This file contains 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
require 'formula' | |
class RApp < Formula | |
ARCHS = "x86_64" | |
SYSTEM = "SnowLeopard64" | |
url 'http://cran.r-project.org/bin/macosx/Mac-GUI-1.62.tar.gz' | |
homepage 'http://cran.r-project.org/bin/macosx/' | |
sha1 '3f7ef605076cf537b304a05d979ae44d3cb054ab' | |
keg_only "This is a gui app (and a brew antipattern as such, but whatev)" |
This file contains 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
require 'formula' | |
class Rubycocoa <Formula | |
url 'http://downloads.sourceforge.net/project/rubycocoa/RubyCocoa/1.0.5/RubyCocoa-1.0.5.tar.gz' | |
homepage 'http://rubycocoa.sourceforge.net/' | |
sha1 '7e176eebb4ee59e2b45f03de0b9ae38028876236' | |
depends_on 'libxml2' | |
def keg_only? |
This file contains 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 | |
USER_AGENT="iMacAppStore/1.0.1 (Macintosh; U; Intel Mac OS X 10.6.7; en) AppleWebKit/533.20.25" | |
STORE_URL="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewMultiRoom?fcId=489264329&mt=12&s=143461" | |
SEARCH_STRING="mountain lion" | |
clear; echo -n "Waiting for Mountain Lion" | |
while true; do | |
if curl -sA "$USER_AGENT" "$STORE_URL" | grep -i "$SEARCH_STRING" > /dev/null; then |
This file contains 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 | |
# | |
# This script depends on curl and rtmpdump. | |
# For playback I recommend mplayer. | |
# Suggestions are welcome. | |
# | |
RTMPDUMP="rtmpdump" # the name of the binary | |
set -eu |