install cycript
brew install https://gist.github.com/raw/890258/cycript.rb
wget https://gist.github.com/raw/890258/hack_propane.js
chmod +x hack_propane.js
brew install https://gist.github.com/raw/890258/cycript.rb
wget https://gist.github.com/raw/890258/hack_propane.js
chmod +x hack_propane.js
import java.net.InetSocketAddress | |
import java.util.concurrent.Executors | |
import org.jboss.netty.bootstrap.ServerBootstrap | |
import org.jboss.netty.channel.ChannelPipelineFactory | |
import org.jboss.netty.channel.ChannelHandler | |
import org.jboss.netty.channel.Channels | |
import org.jboss.netty.channel.SimpleChannelUpstreamHandler | |
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory | |
import org.jboss.netty.channel.MessageEvent |
#!/usr/bin/env ruby | |
require 'fileutils' | |
`curl -s -O http://gist.github.com/raw/517993/e74c2d1c101a617201c0ded8880d9740faba588b/name.indirect.sickbeard.plist` | |
plist = File.read("name.indirect.sickbeard.plist") | |
File.open("name.indirect.sickbeard.plist", "w") do |f| | |
sb_path = File.exist?("Sick-Beard") ? File.join(Dir.pwd, "Sick-Beard") : Dir.pwd | |
f.write plist.gsub("/Users/andre/sw/Sick-Beard", sb_path) | |
end |